Commit Graph

13 Commits

Author SHA1 Message Date
copygirl 524879cf96 Rename TileEntity => BlockEntity (#76) 2016-09-14 22:57:36 +02:00
copygirl e6805fb25f Make de/serialization methods names consistent (#71)
* Fix spelling mistake (serialie!)

* Rename Serializer to DeSerializer

Of ITextComponent and Style, to go along with ServerConfigList.DeSerializer. Consistency!

* Map BlockCrop.serializeCropAge properly

Instead of serializeState0

* Name TagCompound parameters "tag" consistently

* Name de/serialization functions consistently

Notable changes:
- TileEntity.createTileFromTag => deserialize
- TileEntity.writeToTag => serialize
- BlockRegion.toTag => serialize

* Rename TileEntity.serializeIdentifyingData

From serializeTileData

* Rename TileEntity.serializeInitialChunkData

From (incorrect) serialize

* Rename Entity.de/serializeCustomData

From de/serializeEntityTag

* Rename Item.readTag => onDeserialize

* Fix TagCompound.copyTo => copyFrom

Doesn't copy values to the specified compound argument, but actually inserts copied values *from* it.

* de/serializeBlockEntityTag

* Fix Block.getDropStack => getPickStack
2016-09-13 10:53:45 -04:00
asiekierka 0f500e4ebe fix tile entity crash, map minor rendering things 2016-09-12 16:03:06 +02:00
asiekierka 50a87ae8ef port to 16w36a 2016-09-12 12:08:56 +02:00
asiekierka 26b7d11676 minor tile entity mapping 2016-08-28 16:10:46 +02:00
asiekierka 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02:00
Shadowfacts 0251120a86
TileEntityRenderer stuff 2016-08-20 16:08:08 -04:00
Shadowfacts 428862cd7d
Some TileEntity mappings 2016-08-20 15:23:28 -04:00
asiekierka 02adfa28c1 more work 2016-08-17 23:19:57 +02:00
asiekierka fc580c38c7 apply POMF fix 2016-08-17 16:03:57 +02:00
Shadowfacts c60bc2c601
TileEntity stuff 2016-08-15 13:20:34 -04:00
asiekierka f8b443bc8a more mappings across the codebase 2016-08-14 22:30:49 +02:00
asiekierka 63ca292b72 move from JSON to split Enigma format 2016-08-12 20:24:17 +02:00