* TargetPredicate: Add some argument mappings
* MobSpawnerLogic: Add method mappings
* EntityPredicates: Add getBottommostEntity mapping
If anyone has a better name please let me know
* LivingEntity: Add mapping for teleport method
* AnimalMateGoal: add some mappings
* AvoidGoal: add setMobEntityTarget mapping
* FleeEntityGoal: add many mappings
* FollowTargetGoal: Add many mappings
* IronGolemLookGoal: Add mappings
* TrackTargetGoal: Add argument mapping
* WolfBegGoal: Add mappings
This also changes an incorrect mapping
* EndermanEntity: Add many mappings
* MobEntity: Add looking and angle mappings
* EntityView: Add a bunch of mappings
* MobSpawnerLogic: Add playerInRange method
* CreeperEntity: add some mappings
* Explosion: map DestructionType
* Add various entity mappings
* DolphinEntity: Clarify field
* HorseBaseEntity: add pathToAdult method
* PandaEntity: add some mappings
* TurtleEntity: Add some mappings
* RaiderEntity: Add some mappings
* Describe ALL of the predicates!
I've tried to give each predicate a descriptive name, instead of just naming all
of them, "targetPredicate"
* Fixup names of some mappings
* AvoidGoal: Use better predicate name
* FleeEntityGoal: Use better predicate name, more mappings
* Some stuff about trading and villages
Signed-off-by: liach <liach@users.noreply.github.com>
* A few more random mappings
Signed-off-by: liach <liach@users.noreply.github.com>
* Some Screen and Options mappings
* bit more
* Fix naming
* Unmap mojang names and fix the confusing parent classes/interface names
* InteractionElement -> Element
* I love raids!
Signed-off-by: liach <liach@users.noreply.github.com>
* Fix spawn more groups name
Signed-off-by: liach <liach@users.noreply.github.com>
* Changed AbstractButtonWidget to use mojang names
Some minor exceptions:
- renderBackground instead of renderBg
- getTextureId instead of getYImage
- nextNarrationTime instead of nextNarration
* Removed unnecessary mappings(some changes overlap into other classes)
* Missed some methods
* Some more parameter names
Saturation restored is calculated by (hungerRestored * saturationModifier * 2), so saturation is an incorrect name for the field
19w11b version of #257
If a Windows user uses core.autocrlf=true in their git config then the .mapping files get checked out with CLRF line endings, but Enigma saves its mappings with LF endings leading to line ending mismatches. This avoids that.
* Started mapping new Camera class
* generic names for blockPos and setPos overload
* Map the Camera instance
* fixes from gegy's review
* more of those ^
* Updated Generic Container Mapping
Mapped the changes introduced in latest snapshot (19w11a)
* Converted from uppercase to camelcase.
* Prefiex methods with create
* Mappings for the FoodItem replacement
* Update FoodItemSetting.mapping
* Update FoodItemSetting.mapping
* Update FoodItemSetting.mapping
* Make setter methods similar to other Setting builders
* Change ItemStack#invalid to ItemStack#empty. Only ever used when checking if the stack is empty
* Rename BucketMilkItem to MilkBucketItem
* Change FireworksItem to FireworkItem (registry name is also singular, not plural)
* Rename EntityType.ILLAGER_BEAST to RAVAGER to match the class / actual entity name.
* Map 2 of FenceBlock's connection-related methods.
FFF changed to Vec3d, this updates those functions to match the mappings that were added in https://github.com/FabricMC/yarn/pull/492 + a few other new mappings
movementSpeed -> speed
vec3dHorizontalLengthSq -> Entity.squaredHorizontalLength
- Reasoning for updateVelocity/travel naming: https://github.com/FabricMC/yarn/pull/485#issuecomment-465793034
- PlayerLookC2SPacket -> PlayerInputC2SPacket
+ There's no look information in this packet, only info related to the movement keys the player is pressing
+ PlayerLookC2SPacket.yaw -> PlayerInputC2SPacket.sideways
+ PlayerLookC2SPacket.pitch -> PlayerInputC2SPacket.forward
- Mapped Input.movementSideways/Input.movementForward fields and adding 'pressing' prefix to the boolean Input.forward/back/right/left fields