Commit Graph

344 Commits

Author SHA1 Message Date
asiekierka 474177781c entity mapping work 2016-09-17 18:44:46 +02:00
asiekierka 0a40ad452b sound, entity, item work 2016-09-15 12:15:02 +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 a0df18127a mapping improvements 2016-09-12 22:13:50 +02:00
asiekierka 47c5b85441 add missing argument names 2016-09-12 15:16:04 +02:00
asiekierka d73d078546 fix mapping errors 2016-09-12 15:05:34 +02:00
asiekierka 50a87ae8ef port to 16w36a 2016-09-12 12:08:56 +02:00
asiekierka f388749407 minor model, client cleanup work 2016-09-11 12:46:28 +02:00
asiekierka f857ed83de network/server/migration mappings 2016-09-10 17:54:35 +02:00
asiekierka 1426735636 stackSize -> amount 2016-09-08 23:31:38 +02:00
copygirl 1bb8508275 Map ItemStack and some related (#55)
* Map ItemStack and some related

* Rename equals => areEqual
2016-08-29 00:55:25 +02:00
asiekierka b02f923392 map block renderer stuff 2016-08-28 20:29:00 +02:00
copygirl ca1cbec5b8 Gui > Drawable and lots of connected changes (#51)
* Gui > Drawable and lots of connected changes

* Merge drawable package into gui
2016-08-28 13:20:58 +02:00
asiekierka c4574d5de0 snooper, container, hopper, inventory mappings 2016-08-27 19:12:35 +02:00
Tyler Hancock e140e1cb9e Finished off Item's mappings. Also mapped some itemblock stuff. (#45)
* Mapped out most of Item

* Mapped out some related item blocks.

* Item is truly complete.
2016-08-25 22:16:05 +02:00
asiekierka 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02:00
Shadowfacts 058dd3c47a
Some EntityItem stuff 2016-08-23 16:16:32 -04:00
asiekierka 5bf904f9ef minor work here and there 2016-08-23 15:24:22 +02:00
Tyler Hancock c980285f87 More mappings (#33)
* Added missing mappings. These should have been in the last PR o.O

* Mapped some item things

* Mapped some misc stuff
2016-08-23 10:25:30 +02:00
Benjamin K e20870da34 Map Entity.changeDimension (#31)
Remove ItemMapBase mapping that was left for some reason.
2016-08-22 12:41:44 +02:00
Shadowfacts 88680c8520
Merge branch 'pr3' of git://github.com/Darkhax-Forked/pomf into Darkhax-Forked-pr3 2016-08-21 21:27:50 -04:00
copygirl 1c8fb8d5fe Few Item / ItemBlock related mappings (#26)
* Fix INSTANT_HELATH => INSTANT_HEALTH

* Name ItemMapBase

* Add some ItemBlock mappings
2016-08-21 09:57:57 -04:00
Tyler Hancock 440212098a Mapped items a bit 2016-08-20 20:30:37 -06:00
Tyler Hancock e6a57227ea Mapped a bunch of misc stuff 2016-08-20 19:23:22 -06:00
Shadowfacts b108e1d966
Merge branch 'pr2' of git://github.com/Darkhax-Forked/pomf into Darkhax-Forked-pr2 2016-08-20 19:22:32 -04:00
Tyler Hancock 516e470c13
Fixed a typo with getMaterial 2016-08-20 17:11:26 -06:00
Benjamin K 5955f88633 Misc mappings related to items and entities. (#24)
* Food related mappings, Entity related mappings, smelting related mappings.

* Change item creative tab mapping to match blocks, small change in the smeltingregistry.

* SmeltingRegistry areEqual -> matches

* remove sendTextNotification as it has more uses.
2016-08-21 01:05:19 +02:00
Tyler Hancock 8a6f9480a9
Mapped out tools and related things 2016-08-20 16:50:38 -06:00
Shadowfacts 0ff574b11d
More item mappings 2016-08-20 14:35:19 -04:00
Tyler Hancock f8d75caec2 Mapped out Enchantment and related classes (#23)
* Mapped enchantments and related files

* Normalize line endings
2016-08-20 18:08:53 +02:00
asiekierka 235a7fdc07 begin mapping client packets 2016-08-18 21:44:20 +02:00
asiekierka 02adfa28c1 more work 2016-08-17 23:19:57 +02:00
asiekierka 3cee61d028 mostly item and recipe work 2016-08-17 00:08:07 +02:00
Shadowfacts 7829c20ae4 Client stuff (#9)
* Client stuff

* More GUI stuff

* Fix typo
2016-08-15 10:48:57 -04:00
Benjamin K 4c3313c903 Map some blocks, entities, and related methods and classes. (#10) 2016-08-15 12:13:46 +02:00
Shadowfacts 10bf12d36b Merge branch 'master' of github.com:ChorusMC/pomf 2016-08-14 17:19:50 -04:00
Shadowfacts c69e9cd14c Item parameter/method mappings 2016-08-14 17:15:32 -04:00
asiekierka f8b443bc8a more mappings across the codebase 2016-08-14 22:30:49 +02:00
asiekierka b9459bf28d apparently DyeColor did not save right 2016-08-14 15:43:36 +02:00
asiekierka c70e3503b8 more additions to mappings 2016-08-14 15:36:07 +02:00
Shadowfacts fdfcdba963 Misc (#4)
* Block state stuff

* Block/state/interaction mappings

* CreativeTab

* More block mappings
2016-08-14 14:29:39 +02:00
asiekierka 63ca292b72 move from JSON to split Enigma format 2016-08-12 20:24:17 +02:00
asiekierka 14b3f16ea1 fix LOGGER and clean up Reference classes 2016-08-12 19:05:33 +02:00
asiekierka ae11bd10d3 first commit 2016-08-12 15:28:17 +02:00