* 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.
* 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()
This PR maps the rest of `BucketItem` as well as the `Waterloggable` superinterfaces and their methods and some of the `net.minecraft.block.Material` properties.
(Also, I don't know why the merged BucketItem commit is there again /shrug)
Apologies for PR spam, just this one has a couple of changes I was unsure of, so it felt cleaner to split it into something separate:
- I'm a bit conflicted on `.getCollisionShape` - it appears to be used both
for entity collision and determining if a block's side is a "full cube" (and so can have torches placed against or w/e)
- I've renamed `getRenderingState` to `getStateForNeighborUpdate`, though am not 100% it's a good name - it may also perform side effects (mostly scheduling this block to be ticked next thread), so isn't quite a pure getter.
* 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
* Initial pass of data fixers and schemas
* Some fleshing out of the palette converter
Dubiously helpful mappings, but very useful in working out how data
fixer actually works.
* 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
* Added to the rendering mappings for parrots.
* Fixed a typo in setUpdateCooldown.
* Added several parameter names to ItemStack.
* Mapped the remaining missing fields.
* Added the missing param mappings for Potion.
* More potion stuff. (Forgot to include in last commit)
* Mapped the shulker box renderer.
* Little changes to World
* Lots of parameter changes
* There are so many world mappings
* Fix misnamed chunkZ
* Change consultRemoteProvider to ingoreRemote
* Named two constants
* Whoops, wrong names
* 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"?)
* 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"
* 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