* Entity mapping modifications
* Entity mapping renames
* improvements
* xp -> experience, Snowgolem -> SnowGolem, spitout -> spitOut, lastLeveledUp -> lastPlayedLevelUpSoundTime, missed an instance of targetting
* Rename SnowgolemEntity.mapping to SnowGolemEntity.mapping
Stupid file system doesn't make a difference between cases.
* touchingLava -> inLava, touchLava() - setInLava()
* putOnTopmostSolidBlock -> afterSpawn
* owner -> actor, other improvements
* Actors are evil. Or something.
* Missed some actors, reverted stuff that's now part of #663
* isInfestableBlock -> isInfestable
* getRegularBlock(BlockState) ->fromRegularBlock
Another method with inverse logic in that class.
* use method name from main branch for surface collision
* Lots of fields, methods, params relating to blocks and their internals
* Woops
* More STUFF! 😱
* Woops 2 electric boogaloo
* Minor text fix with pistons
* Reviews
* Map Block#n and friends
* Reviews
* 💩
* snowman -> snow golem
* Consistification with wither skull
* s/nt//
* rightChest/leftChest... might be backwards?
* A few new pre-4 mappings
* typo
* Update and rename ItemOminousBannerTranslataionKeyRenameFix.mapping to ItemOminousBannerTranslationKeyRenameFix.mapping
* Improvements + some parameter names for CartographyTableContainer
* A few mappings
* Suggestions by liach
* Improvements
* Add methods from liach's PR
* make -> get to match others
* get -> create for methods that create tasks
* Map some poi and village stuff
Signed-off-by: liach <liach@users.noreply.github.com>
* Update based on suggestion
traderrecipe -> tradeoffer
Signed-off-by: liach <liach@users.noreply.github.com>
* Some mappings
Map render distance center packet and fix revenge target selection goal
Signed-off-by: liach <liach@users.noreply.github.com>
* More mappings along entities, etc.
Signed-off-by: liach <liach@users.noreply.github.com>
* Save mappings again
Signed-off-by: liach <liach@users.noreply.github.com>
* Fixes a few mappings
Signed-off-by: liach <liach@users.noreply.github.com>
* 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>
* 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>
* 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
Not 100% on where to put the `BossBarManager` and `CommandBossBar` or what a better name for `CommandBossBar` would be that isn't potentially confused with `BossBarCommand`
* Add field / arg mappings for various things. Also map some some things on `aud` -> `LecternContainer`.
* Add mapping for BlockEntityType.Builder#a -> BlockEntityType.Builder#build
* Add mapping for some Inventory parameter names. Also add mappings for CraftingInventory.f() -> CraftingInventory.getHeight() & CraftingInventory.g() -> CraftingInventory.getWidth()
* Mapped some stuff about fish, especially fish group and tropical fish
also include some mob spawning/despawning mappings
Signed-off-by: liach <liach@users.noreply.github.com>
* Fixes for review
Signed-off-by: liach <liach@users.noreply.github.com>
*The following are an exert from my mapping set, they are my own work*.
```
CL: asd net/minecraft/world/entity/projectile/WitherSkull
CL: asf net/minecraft/world/entity/raid/Raid
CL: asg net/minecraft/world/entity/raid/Raider
CL: ash net/minecraft/world/entity/raid/RaidManager
CL: asi net/minecraft/world/entity/vehicle/AbstractMinecart
```
(mapping order shows they are packaged together)
* Block related mappings
* Block related mappings, pt2
* Block related mappings, pt3
* Darnit, it ate my files again
* Unmap BaseFluid#g()Z
* prevState -> oldState
* apply some change suggestions
* Hopefully unmap all local variables
* T data -> T object
* Add mappings back for GUI methods
* Add back argument mappings for blocks
And some other changes. I rather forgot.
* Item and entity arguments
* A whole bunch of argument mappings
* Items (again) and fluids
* Entity stuff 'n things
* Fixup most of the client stuff
* Some remaining items
* Add RecipeSerializers mappings
* Add class mappings for several items
* Add several BlockSoundGroups
* Add World.getDimension and World.playRecord
* Add a couple of methods to bounding boxes
* A couple of minor mappings for servers
* Some mappings for TextComponent (de)serialization
* A very minor mapping for Polar2f
I'm really unsure about this name, so comments welcome!
* A few mappings for chat
* Basic fluid mappings
* Waterlogged -> Waterloggable, removeChatMessage -> removeMessage
* Polar2f -> Vec2f, setPlayingOverlay -> setRecordPlayingOverlay