Commit Graph

13 Commits

Author SHA1 Message Date
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 184690578d world, network work 2016-09-07 11:55:02 +02:00
Max Gurela 90a03e3e1a Command misc mappings (#54)
* Command misc mappings

* Remove isSpectator/isCreative mappings
2016-08-28 19:55:13 +02:00
asiekierka 26b7d11676 minor tile entity mapping 2016-08-28 16:10:46 +02:00
Max Gurela f30442e020 Map nd -> ConsoleCommandSender (#42)
* Map nd -> ConsoleCommandSender

net.minecraft.server.dedicated.ConsoleCommandSender

* Map executeCommand in IServer

* Clarify with CommandFeedback
2016-08-25 18:18:42 +02:00
Shadowfacts 428862cd7d
Some TileEntity mappings 2016-08-20 15:23:28 -04:00
asiekierka 018b114719 work in entities, network, server, Minecraft client 2016-08-19 21:40:47 +02:00
Shadowfacts c60bc2c601
TileEntity stuff 2016-08-15 13:20:34 -04:00
Benjamin K 4c3313c903 Map some blocks, entities, and related methods and classes. (#10) 2016-08-15 12:13:46 +02: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