Commit Graph

21 Commits

Author SHA1 Message Date
asiekierka 6160694546 mappings work 2016-09-14 12:00:19 +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 47c5b85441 add missing argument names 2016-09-12 15:16:04 +02:00
asiekierka 50a87ae8ef port to 16w36a 2016-09-12 12:08:56 +02:00
asiekierka f857ed83de network/server/migration mappings 2016-09-10 17:54:35 +02:00
asiekierka 169de4545c getId -> getContainerId 2016-09-10 16:30:17 +02:00
asiekierka 1426735636 stackSize -> amount 2016-09-08 23:31:38 +02:00
asiekierka 26b7d11676 minor tile entity mapping 2016-08-28 16:10:46 +02:00
asiekierka 0c30378958 minor mapping around Block, EntityItem 2016-08-28 11:43:19 +02:00
asiekierka c4574d5de0 snooper, container, hopper, inventory mappings 2016-08-27 19:12:35 +02:00
asiekierka e7bcf06368 mostly container stuff 2016-08-27 16:34:11 +02:00
asiekierka ed5bca2a0b misc improvements 2016-08-21 13:11:10 +02: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 3d68fe8bb0 fix IInventory mapping 2016-08-17 20:57:56 +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 31b97b576f work on GlHandler, decorators, potions, misc. classes 2016-08-14 20:22:30 +02:00
asiekierka c70e3503b8 more additions to mappings 2016-08-14 15:36:07 +02:00
asiekierka 63ca292b72 move from JSON to split Enigma format 2016-08-12 20:24:17 +02:00