* Refactor NBT parameter names and a bit more.
* Apply suggestions from code review.
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Apply more suggestions from code review.
* MobEntity leashTag stuff -> leashNbt
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Map cycling button widget and cycling options
Turns out there are still like 2 other inner classes, but I will get em
Signed-off-by: liach <liach@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
* Long live censorship
Gonna get a mod that allows me to turn off filters. Just overwrite method_33883
Signed-off-by: liach <liach@users.noreply.github.com>
* Update some poorer names from #1993 as well
Signed-off-by: liach <liach@users.noreply.github.com>
* Apply suggestions from code review
Seems I overrode this thing
Co-authored-by: liach <liach@users.noreply.github.com>
They did some good improvements to packets
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
* Port some stuff from #2048 to snapshot
* Apply suggestions from code review
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Apply suggestions from code review
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
The field focused clashes with superclass field, and is not accurate. It
actually controls whether the background is drawn. The getter and setter
methods are also not correct, as the field does not just control the
border.
The setSelected method does not set whether the field is selected, but
focused. It only exists to expose the protected AbstractButtonWidget.setFocused
method. It's named setTextFieldFocused not setFocused because that would
clash with the superclass name.
* client.util.math.Vector3f -> util.math.Vec3f
* Vec to Vector
* Revert "Vec to Vector"
This reverts commit 844d3cb107.
* simple class docs
* better word
* Map the remaining static Text fields
* Remove an incorrect mapping for a volatile field
* Fix a typo in the mapping for result folder text static field
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Improve static Text field suffixes
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Remove a stray argument mapping in the RealmsSelectWorldTemplateScreen class
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Fix some static final fields not having uppercase names
* Fix typo in capitalization of static final message field
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
* Add javadoc for the class Element
* Fix typo in Element javadoc
* Move parameter doc into arg comment
* Correct typo in isMouseOver
Co-authored-by: i509VCB <i509vcb@gmail.com>
* Remove argument name in argument doc
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Update punctuation on argument doc in Element
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Update punctuation on argument doc in Element - 2
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Update grammar on argument doc in Element
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* may be very controversial
- Change StringRenderable to StringVisitable
- OrderedText (I don't know about this but I can't think of a better one tbh, I'll throw in some more: CharacterVisitable, OrderedString, OrderedTextProvider)
- ReorderingUtils
- TextReorderingProcessor
Signed-off-by: shedaniel <daniel@shedaniel.me>
* improvements
Signed-off-by: shedaniel <daniel@shedaniel.me>
* improvements
Signed-off-by: shedaniel <daniel@shedaniel.me>
* innerConcat
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Map unmapped fields that have getter methods
* Fix the parts field in GhastEntityModel using the same name as its getter method
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update outdated getter method names
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* stuff
mapped every class except 5395 because i dont understand codecs lol
* dont mind me
* there we go
* Apply suggestions from code review
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/entity/ai/goal/UniversalAngerGoal.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/entity/passive/WolfEntity.mapping
Co-authored-by: jadon <jadonflower@gmail.com>
* Update EditGameRulesScreen.mapping
* Apply suggestions from code review
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: jadon <jadonflower@gmail.com>
* Some packet parameters, I guess
* Add cookingFilteringCraftable in RecipeBookData
* Rename itemName to name in RenameItemC2SPacket
* Rename getItemName to getName
* Rename missed parameter blastFurnaceGuiOpen to cookingGuiOpen
* HandledScreen parameters and renames
- Mapped a lot of parameters in HandledScreen
- draw[Foreground/Background] -> render[Foreground/Background]
for consistency with Screen.render and Screen.renderBackground
* Revert draw -> render changes
* some stuff
new criterions, gamemode switcher screen, and datafixes
* more stuff
predicates and the other criterion i missed
* more predicate stuff
* Update mappings/net/minecraft/advancement/criterion/ItemUsedOnBlockCriterion.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* Update PlayerGeneratesContainerLootCriterion.mapping
* Update GameModeSwitcherScreen.mapping
* more gamemode switcher stuff
* Update mappings/net/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/client/gui/screen/ingame/GameModeSwitcherScreen.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* toast and tutorial things
just figured i'd throw this in
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* a lot of very random mappings
* fix mappings
* typo
* Update mappings/net/minecraft/client/font/TextRenderer.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This is jigsaw generate things not things generate jigsaw
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
* Pick up #1026 and adjustments
ArmorFeatureRenderer, BipedEntityModel and some player stuff
Parrot entity rendering fixes
At the moment, I don't know the difference between method_17110 and method_17111.
method_17110 -> animateModel
Still a provisional name.
Finish the other feature renderers (except CapeFeatureRenderer)
Name methods involving armor stands
Work on Ender Dragon-related things
overlay{Message, Tinted} -> {message, tinted}
Add docs for ClientPlayerEntity#wateriness (now wetness)
ClientPlayerEntity#getVisibilityReductionFromWater -> getScaledWetness
Actually add javadocs
newHealth -> health
DragonFireballEntityRenderer#FIREBALL -> LAYER
* Update mappings/net/minecraft/client/render/RenderLayer.mapping
Co-authored-by: Kyarei <uruwi@protonmail.com>
* Property mappings and javadoc
* BlockContext docs
* Add javadocs, param names, stacks -> trackedStacks
* Port more changes from Container -> Menu
- (Nameable)ContainerProvider -> (Nameable)ContainerFactory
Prevents conflicts with the ContainerProvider used in screens.
- ContainerScreen9/54 -> Generic(3x3)ContainerScreen
To match the menu class names.
- ClientDummyContainerProvider -> SimpleNamedContainerFactory
Closes#889.
- AbstractContainerScreen -> ContainerScreen
Removed pointless abstract prefix.
* Fix some block methods, PlayerContainer tweaks
* Networking-related container mappings
* Some stuff for 1.15 pre 1
wood type or sign type? it is only used by signs.
Signed-off-by: liach <liach@users.noreply.github.com>
* A few more stuff
Signed-off-by: liach <liach@users.noreply.github.com>
* bits of stuff
Signed-off-by: liach <liach@users.noreply.github.com>
* Call it a sign type
Signed-off-by: liach <liach@users.noreply.github.com>
* More stuff and refactors per suggestion
* More bits
Signed-off-by: liach <liach@users.noreply.github.com>
* Missed the one i need to map
Signed-off-by: liach <liach@users.noreply.github.com>
* You like dual better
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/texture/SpriteAtlasTexture.mapping
* 😓
Signed-off-by: liach <liach@users.noreply.github.com>
* Some pre2 stuff as well
* Mapped entity rendering methods and classes & options screens
* Fixed Knit's issues and implemented liach's suggestions
* Removed strange leftover obf stubs (I blame Knit)
* Mapped some more stuff from AnimalModel
* Adapt some stuff from Runemoro
* Some more Runemoro
* Another two fixes
* Unmap unobfuscated mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Shorten dragon
by liach
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Shorten biped model
by liach
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Shorten another biped model
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Text refactoring + related mappings
* Add a more explicit name for the truncated string getter
* Move Formatting to util package and fully map members
* Advancement#toHoverableText
* Correct mappings in ScoreboardObjective
* Various changes in NbtText and subclasses
* JSONREADER -> JSON_READER
* Shorten TranslatableText argument getter to getArg
* Cleanup mappings in Difficulty class
* Fix Style$Serializer#deserialize json parameter name
* Cleanup some field names in TranslatableText
* More changes to NbtText
* Fix incorrect method name in Texts
* toGreenText -> join
* Use more semantically correct name joinOrdered
* Fix method name in Entity
* Actually fix the method names.. derp
* Map resources (pack, reload) stuff
some tag stuff
command suggestion window in both chat and command block ui
(mojang should just unify those instead of copy pasta)
Signed-off-by: liach <liach@users.noreply.github.com>
* Unify the names to complete for completion of one suggestion
Signed-off-by: liach <liach@users.noreply.github.com>
* Initial feedback from runemoro
Signed-off-by: liach <liach@users.noreply.github.com>
* Missed a few things. Thanks rune for pointing out
Simplified name for abstract file resource pack
Signed-off-by: liach <liach@users.noreply.github.com>
* fileNameFilter -> pathFilter (id path filter)
Signed-off-by: liach <liach@users.noreply.github.com>
* creator -> factory
Signed-off-by: liach <liach@users.noreply.github.com>
* main thread and caching tags
Signed-off-by: liach <liach@users.noreply.github.com>
* TagManager -> RegistryTagManager (only manages registry tags)
Also named prepared data for application "Intermediate"
Signed-off-by: liach <liach@users.noreply.github.com>
* Save some stuff
Signed-off-by: liach <liach@users.noreply.github.com>
* Fix inferred name missing in named jar
Signed-off-by: liach <liach@users.noreply.github.com>
* Revert auto mapping addition
Signed-off-by: liach <liach@users.noreply.github.com>
* Name the blits
* Name the last of Element and ParentElement
focusOn is given by Realms, setInitialFocus does the same thing but is only called from init methods
* Name the last of Screen and ContainerScreen
* A few new pre-4 mappings
* typo
* Update and rename ItemOminousBannerTranslataionKeyRenameFix.mapping to ItemOminousBannerTranslationKeyRenameFix.mapping
* Improvements + some parameter names for CartographyTableContainer
* Some Screen and Options mappings
* bit more
* Fix naming
* Unmap mojang names and fix the confusing parent classes/interface names
* InteractionElement -> Element
* 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
* Some NewLevelScreen mappings
Added some more mappings to the NewLevelScreen
* Bonus Chest Generation Mapping
* SplashScreen related stuff
* Fixed Typo
* 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()
* Map various obfuscated names
* "active" actually had more uses as opposed to "enabled", so that's what it's going to be
* Chunk -> WorldChunk, IChunk -> Chunk
* 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
* Add some mappings for GUIs and input handling
- Add keyboard, mouse and clipboard control
- Flesh out the GuiEventListener mappings
* Rename to SharedConstants
* 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
* 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"
* Map GuiSettingsVideo and related classes
* Change isSlider/isBoolean to slider/toggle
Still very confusing without documentation, both of the values are just booleans. They indicate whether or not the option is a numeric slider value option or a boolean value option.
* Map World.globalEntities
* Map sendToAllPlayersInRange
* Map IntHashMap
Also renamed fields using it
(And incorrectly named non-static ALL_CAPS fields)
* Map block tick scheduling
* Map World raining / thundering things
* Fix some IntHashMap things
- Bucket -> Element
- Remove "ForKey"
* Fix some suggested things
* Map LevelGeneratorType
From WorldGenerator
* Map LevelInfo
From WorldInfo
* Map Level related and many more
* Fix construct => createProvider
* Unfinished stuff please ignore
* LanServerQueryManager
* moved to sortme; GUI tidbits
* mouse mappings for gui (+ server lists)
* entryCount for gui lists
* width/height/scroll for bfb
* setLeftPos for bfb
* scrolls + more mouse stuff (bfb)
* bfb entryWidth/handleButtonPressed/drawEntries
* bfb drawEntry
* starting to decipher none.bew
* add index to a bew.a method
* bmk -> ServerList (fully deobf'd)
* starting on none.big
* index selections for bfb & co
* set(User|Lan)Servers for none.big
* quick names for bfb and whatnot
* name tweaks
* Inventory and Gui Mappings
* Inventory and Gui Mappings
* Revert Sounds.mapping change that I didnt do
* Add back sounds, not sure what is up with this
* Fixed some issues with mappings
* Enigma is annoying sometimes
* Fix field name issue
* Fix sound mappings again..
* Fix a few issues
* Nothing overly interesting.
* Map workers and fix the thread factory variable name.
* Map WorldInfo and some other things I found along the way.
* Fix some mappings, map Enchantments class.