Commit Graph

144 Commits

Author SHA1 Message Date
asiekierka 0b94e1272b fix method conflicts 2016-10-16 13:39:01 +02:00
mezz 3cee9fc828 Add some entity mappings, more general name for EntityParts (#122)
* Add some entity mappings, more general name for EntityParts

* Fixes for review
2016-10-16 09:31:17 +02:00
asiekierka db9fc376d7 entity, biome mappings 2016-10-15 20:49:37 +02:00
asiekierka 93d30e8626 apply feedback 2016-10-01 07:57:18 +02:00
Benjamin K ac50036d17 Map code related to entity riding and passengers. (#96) 2016-10-01 07:53:12 +02:00
copygirl 16d2c49ac0 Get rid of impl packages (#97) 2016-09-28 14:17:20 +02:00
copygirl 200ccadaed Map MigrationHandler parameters 2016-09-22 21:31:01 +02:00
copygirl 33d5682552 Rename remaining dimension => world 2016-09-22 18:02:21 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +02:00
asiekierka b7c5af3623 clean up sortme, other things 2016-09-19 16:40:26 +02:00
asiekierka bbbd3cff79 map some container stuff, fix audio mappings 2016-09-19 12:18:00 +02:00
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
asiekierka 7d46c65301 rendering mapping work 2016-09-14 14:50:56 +02:00
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
Łukasz Magiera c23c9d5434 Some random mappings (#69) 2016-09-12 16:28:44 -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 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
copygirl 2f3c26312f Map various things and entity TrackedData fields and related (#65)
* Map PotionHelper

* Villager & Wolf skin texture fields

* Various entity mappings

* Map EntityEnderDragonPart

* Fix DamageSource attacker/source mixup

* Rename BlockPos nested classes & map PooledMutable

* Map projectile onCollision & onHit

* Map entity TrackedData fields and related

* Fix "invulnurable" typing error

* Fix Block.DEFAULT_ID -> AIR_ID

* Fix Minecart "carried" -> "contained"

* Fix isSourceCreativePlayer

* Fix Entity.dropItems -> dropStack

Also tiny parameter name addition

* Fix Entity.AIR -> BREATH

* Fix Entity.setOnFire -> setOnFireFor

* Fix tamable -> tameable
2016-09-10 17:26:28 +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
copygirl bbaf10dde3 Map Explosion related things (#62) 2016-09-07 11:12:57 +02:00
copygirl 081e653df0 Map various things (#61)
* Map ServerRunnable

* Map ServerConfigList and related

Renamed from ProfileList
Mapped ServerConfigEntry
Renamed list and entry classes

* Map / update ServerConfigurationManagers

* Map some Potion(Effect) stuff

* Map a few minor fields

* Map DamageSource

Renamed EntityProjectile => EntityArrowBase
Mapped Entity.damage
2016-09-03 12:14:27 +02:00
Benjamin K 56f1d945bb LootTable, and KeyBinding class name. (#60)
* Map LootTable stuff.

* Map KeyBinding class name

* ILootTableProvider

* Map Sound class.
2016-09-01 16:00:14 +02:00
Benjamin K 0c9cde4c96 Map the rest of BoatType, as well as some other entity related things. (#58)
* Map the rest of BoatType

* Map entity move method, and onEntityLanding in Block.

* map handleFallDamage, onEntityLanding -> onLandedUpon, playSoundAtEntity
2016-08-30 10:21:03 -04: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 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02:00
Shadowfacts a13af86fbb
Entity setYawAndPitch and setPosition 2016-08-24 17:48:22 -04: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
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 018b114719 work in entities, network, server, Minecraft client 2016-08-19 21:40:47 +02:00
asiekierka 23e5364c74 more work on network packets and surrounding classes 2016-08-19 01:11:41 +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
asiekierka bc4be53a37 minor additions to Block, fix IInventory crash 2016-08-15 14:40:10 +02:00
asiekierka fb2b4748cd work on blocks, entities 2016-08-15 13:03:18 +02:00
Benjamin K 4c3313c903 Map some blocks, entities, and related methods and classes. (#10) 2016-08-15 12:13:46 +02:00