User Tools

Site Tools


custom_classes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
custom_classes [2018/09/10 11:16]
gobrosse [Mods Programming::Custom Classes]
custom_classes [2018/09/10 11:18]
gobrosse [Customizable classes]
Line 14: Line 14:
  
 | Class | Constructor | Instanced | Notes | | Class | Constructor | Instanced | Notes |
-| io.xol.chunkstories.api.voxel.Voxel | Voxel(VoxelType type) | Once per voxel definition ​| Can use 8 bit of metadata | +| io.xol.chunkstories.api.voxel.Voxel | Voxel(VoxelDefinition def) | Once per voxel type | Can use 8 bit of metadata | 
-| io.xol.chunkstories.api.item.Item | Item(ItemType type) | Once per ingame instance | Not to be confused with ItemPile | +| io.xol.chunkstories.api.item.Item | Item(ItemDefinition def) | Once per ingame instance | Not to be confused with ItemPile | 
-| io.xol.chunkstories.api.entity.EntityBase ​EntityBase(EntityType typeLocation loc) | Once per ingame instance | Entity.java is just the Interface ​+| io.xol.chunkstories.api.entity.Entity ​Entity(EntityDefinition defWorld world) | Once per ingame instance | Takes a World parameter ​
-| io.xol.chunkstories.api.particles.ParticleTypeHandler | ParticleTypeHandler(ParticleType type) | Once per particle type definition ​Provides it'​s ​own storage structure | +| io.xol.chunkstories.api.particles.ParticleTypeHandler | ParticleTypeHandler(ParticleTypeDefinition def) | Once per particle type | Can provide its own storage structure | 
-| io.xol.chunkstories.api.world.generator.WorldGenerator | WorldGenerator(WorldGeneratorType type, World world) | Once per world | - |+| io.xol.chunkstories.api.world.generator.WorldGenerator | WorldGenerator(WorldGeneratorDefinition def, World world) | Once per world | - |
 | io.xol.chunkstories.api.net.Packet | Packet() | Once per packet received/​sent | Must have a void constructor | | io.xol.chunkstories.api.net.Packet | Packet() | Once per packet received/​sent | Must have a void constructor |
  
custom_classes.txt · Last modified: 2018/09/10 11:20 by gobrosse