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
* 2 1/2 hours of me mapping stuff
* Round two!
* Few small additions
* Fix mappings from merge
* Make proper changes
* loadsMoreDecoration -> moreSurfaceDecoration
* Make requested changes
* Mapped a bunch of entity stuff.
* Named a bunch of entity model classes.
* Added some more gui mappings
* Mapped a few misc block things.
* Even more block mappings.
* Mapped the rest of the entity classes.
* Changed minecraftGame -> game
* Mapped some throwable entity stuff.
* Added some player, player inventory stuff.
* Mapped some stuff related to the dragon fight.
* Mapped a bunch of params and methods for item.
* Fixed several typos.
* Testing out enigma with a basic mapping
* A lot of work on command mappings
* Fix weird Enigma naming error
* An attempt to fix mappings, but bigger issues are afoot
* Change CommandLocateStructure to CommandLocate
* Make suggested changes by unascribed
Followup to #147
- getBlockBreakingSpeed (EntityPlayer / InventoryPlayer / Item), was "Strength" and "StrengthWithSelectedTool", too verbose
- InventoryPlayer.canHarvest => isUsingEffectiveTool (+ mapped corresponding EntityPlayer method)
- Item.canHarvestBlock => isEffectiveOn
- calcBlockBreakingDelta (Block / IBlockInfoProxy)
Leaving the Material.harvestable field / methods alone due to lack of better name ("doesntRequireEffectiveTool"?)
As this doesn't disable all kinds of collision (such as being hit by arrows), only movement related ones: Block collision and entities pushing each other (both ways).
* Misc mappings
* Misc random mappings (#120)
* Misc random mappings
* Minor changes & move WorldServerChild to sortme
* username -> userName
* Rename some Gui related methods & more
lastPressedWidget
mouseDragged => onMouseDragged
handleMouseClick => onMousePressed
handleTouchEvent => onMouseReleased
handleKeyPress => onKeyPressed
handleButtonPressed => onWidgetPressed
WidgetButton.released => onReleased
* Add some mappings for mob pathfinding (#127)
* Add some mappings for mob pathfinding
* Fixes for review
* Fixes for review
* Several mappings (#129)
* Mapped a bunch of loot stuff.
* Mapped some random stuff.
* Mapped some debug renderers.
* Mapped a few misc things.
* element -> json
* Map / rename PlayerFormatUpgrader
* Fix StatManager, map StatManagerServer and such
updateStatState => set
increaseState => increase
getValue => get
EntityPlayer.getStatManager => getStats
* Fix LootTable related mappings
serialze => serialize
Serializer => DeSerializer
LootTableContext:
* TARGET => Target
* source => damageSource
* setX(x) => setX(value)
* Random block stuff
* Random world stuff
* Add some mappings for block rendering (#133)
* Add some mappings for block rendering
* Fixes some things
* Make getAoBrightness to getAmbientOcclusionBrightness
* Fix merge conflicts
* Fix a few minor things
VertexBuffer.putColorRGB => putColor
BlockRenderer hashcode parameter => variationSeed
Revert to IBlockView.getCombinedLight
* BIomes, biome generation (#132)
* BIomes, biome generation
* Misc random mappings (#120)
* Misc random mappings
* Minor changes & move WorldServerChild to sortme
* username -> userName
* Rename some Gui related methods & more
lastPressedWidget
mouseDragged => onMouseDragged
handleMouseClick => onMousePressed
handleTouchEvent => onMouseReleased
handleKeyPress => onKeyPressed
handleButtonPressed => onWidgetPressed
WidgetButton.released => onReleased
* Add some mappings for mob pathfinding (#127)
* Add some mappings for mob pathfinding
* Fixes for review
* Fixes for review
* Several mappings (#129)
* Mapped a bunch of loot stuff.
* Mapped some random stuff.
* Mapped some debug renderers.
* Mapped a few misc things.
* element -> json
* Map / rename PlayerFormatUpgrader
* Fix StatManager, map StatManagerServer and such
updateStatState => set
increaseState => increase
getValue => get
EntityPlayer.getStatManager => getStats
* Fix LootTable related mappings
serialze => serialize
Serializer => DeSerializer
LootTableContext:
* TARGET => Target
* source => damageSource
* setX(x) => setX(value)
* Random block stuff
* Random world stuff
* Add some mappings for block rendering (#133)
* Add some mappings for block rendering
* Fixes some things
* Make getAoBrightness to getAmbientOcclusionBrightness
* Fix merge conflicts
* Fix a few minor things
VertexBuffer.putColorRGB => putColor
BlockRenderer hashcode parameter => variationSeed
Revert to IBlockView.getCombinedLight
* Fix a few things
* Remove Vector3f (fixes Enigma mapping conflict)
* Map WidgetLockButton
* Fix gameMode setters to use "value"