Commit Graph

14 Commits

Author SHA1 Message Date
asiekierka 474177781c entity mapping work 2016-09-17 18:44:46 +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
liach e349ebc2fd Add some stuff for AIs (#67)
* Add some stuff for AIs

* deleted bad files

* missed them

* fix according to asiekierka
2016-09-12 11:28:32 +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
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 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 5bf904f9ef minor work here and there 2016-08-23 15:24:22 +02: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
Benjamin K dbdb6372b9 Map Entity class names and the EntityRegistry, base classes not yet mapped. (#12) 2016-08-15 13:54:39 +02:00
Renamed from mappings/none/aaf.mapping (Browse further)