Commit Graph

1100 Commits

Author SHA1 Message Date
­Sollace 0562ae2984
NativeImage#Format.ABGR not NativeImage#Format.AGBR (#1485) 2020-06-19 18:11:42 +01:00
Shnupbups 987aa1a483
1.16 pre3 things (#1459)
* 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>
2020-06-18 20:17:05 +01:00
Reece Dunham f42672dd97
Port GLDebug mappings (#1478)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2020-06-18 17:22:25 +01:00
modmuss50 a4305ccae9 1.16-pre8 2020-06-17 17:11:43 +01:00
Alexander f0d14abde6
Some packet parameters, I guess (#1465)
* 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
2020-06-16 12:43:11 +01:00
Lars van der Zande 298e9b23fa
add Tripwire RenderLayer PhaseParameters getter (#1471)
```java
private static RenderLayer.MultiPhaseParameters method_29996() {
        return RenderLayer.MultiPhaseParameters.builder().shadeModel(SMOOTH_SHADE_MODEL).lightmap(ENABLE_LIGHTMAP).texture(MIPMAP_BLOCK_ATLAS_TEXTURE).transparency(TRANSLUCENT_TRANSPARENCY).target(WEATHER_TARGET).build(true);
    }
```
```java
private static RenderLayer.MultiPhaseParameters getTripwirePhaseData() {
        return RenderLayer.MultiPhaseParameters.builder().shadeModel(SMOOTH_SHADE_MODEL).lightmap(ENABLE_LIGHTMAP).texture(MIPMAP_BLOCK_ATLAS_TEXTURE).transparency(TRANSLUCENT_TRANSPARENCY).target(WEATHER_TARGET).build(true);
    }
```
2020-06-15 22:08:17 +01:00
Lars van der Zande 118a3fb671
add tickRainSplashing Mapping (#1473)
* add updateRainSplashing Mapping

GameRenderer calls method_22713 every tick()

method_22713
creates rain particles hitting the ground and plays rain sound

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-15 22:08:07 +01:00
modmuss50 3974dc0927 1.16-pre6 2020-06-15 19:17:37 +01:00
Sturmlilie 92425cfbab
Map various, mostly private parts of client.texture classes (#1461)
* Map various, mostly private parts of client.texture classes

* Fixup: Use MathHelper#lerp terminology

* Fixup: Document Sprite.Interpolation#lerp
2020-06-15 17:39:58 +01:00
Alexander 584cc58d8c
Map UUID in GameMessageS2CPacket (#1466) 2020-06-15 17:39:46 +01:00
Lars van der Zande 8b19485c8a
Added mapping TRIPWIRE RenderLayer getter (#1470)
```java
public static RenderLayer method_29997() {
        return TRIPWIRE;
    }
```
```java
public static RenderLayer getTripwire() {
        return TRIPWIRE;
    }
```
2020-06-15 17:39:37 +01:00
Lars van der Zande 6e54e173d4
add ITEM_TARGET field mapping (#1472) 2020-06-15 17:39:30 +01:00
modmuss50 64b704d914 1.16-pre5 2020-06-12 16:18:26 +01:00
modmuss50 d11cca29cf 1.16-pre4 2020-06-11 18:22:45 +01:00
i509VCB e2526d88ae
Document drawBox methods (#1455) 2020-06-11 11:35:50 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
modmuss50 4f3d7449a3
Map the remaining inner classes (#1443)
* Map the remaining inner classes

* TooltipSupplier

* PageContent

* Update mappings/net/minecraft/client/gui/screen/ingame/BookEditScreen.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-06-08 20:50:36 +01:00
liach 80cd54c7a9
String renderable (or visitable?) (#1431)
* String visitable

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix leftover jd errors

Signed-off-by: liach <liach@users.noreply.github.com>

* visitable -> renderable, some language stuff

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-08 18:24:56 +01:00
liach fb19c79e06
Resource pack organizer (#1440)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-08 13:25:44 +01:00
i509VCB 50de34711b
Data and Server startup mappings (#1423)
* Data and Server startup mappings

* Actually, lets fix that param name and do another method

* Update MinecraftClient.mapping

* Update MinecraftClient.mapping

* Update mappings/net/minecraft/server/Main.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/MinecraftClient.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/MinecraftClient.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/MinecraftClient.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* DataPackSettings

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-07 17:29:18 +01:00
i509VCB f80e52b1a1
Fix wrong NativeImage method names (#1279)
* Fix wrong NativeImage method names

* Specify color in getter and setter, along with format requirement
2020-06-07 16:13:44 +01:00
Shnupbups 49284a0f45
pre1 stuff (#1420)
* pre1 stuff

idk

* more stuff

* remove things already mapped

removes things already mapped by newly merged prs
2020-06-07 16:02:50 +01:00
i509VCB 428928b420
A bunch of param names (#1436) 2020-06-07 16:01:40 +01:00
Juuxel 3eb088abba
Various misc changes (#1372)
* Fix #1369

* CriteriaMerger -> CriterionMerger

* ItemRenderer.renderGuiItem + related names

Closes #1361.

* WololoGoal.purpleSheepPredicate -> convertibleSheepPredicate

Co-authored-by: liach <liach@users.noreply.github.com>

Closes #1344.

* Improve GUI item rendering names

* MinecraftClient.(block/item)ColorMap -> (block/item)Colors

* Change wording a little

* Model overrides
2020-06-07 15:26:33 +01:00
haykam821 f02f57cf81
Map graphics modes (#1418)
* Map graphics modes

* Change languageKey to translationKey

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Simplify GraphicsMode method names

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Map graphics mode methods in MinecraftClient

* Change fancyGraphics field in RenderLayers to fancyGraphicsOrBetter

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-07 15:21:41 +01:00
Yanis48 bcdd72dcbc
Data pack screen (#1419)
* Data pack screen

* Update DataPackScreen.mapping
2020-06-07 15:21:23 +01:00
Sturmlilie 0ebbc7b3a1
Map TextureUtil (#1426)
* Map TextureUtil

* Fixup: Remove unused mappings not picked up by Enigma

* Fixup: Properly overload 'allocate'

As it turns out, now that the bogus mappings are gone,
Enigma will actually let me properly overload
This was a learning experience :tiny-potato:
2020-06-07 15:21:15 +01:00
TheBrokenRail 2a67772669
Add Some Missing Mappings (#1433)
* Add Some Missing Mappings

* Add ClientWorld.tickTime
2020-06-07 15:20:57 +01:00
Juuxel 8278778f58
Map HandledScreen label coordinates (#1428) 2020-06-07 15:20:34 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
haykam821 e8f419f2c4
Finish mapping campfires (#1416)
* Finish mapping CampfireBlock

* Map lastsLonger parameter in CampfireSmokeParticle

* Change lastsLonger argument to signalFire

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-04 18:47:22 +01:00
Yanis48 8b0ccf32d2
Datapack failure screen (#1406)
* Datapack failure screen

* Update mappings/net/minecraft/util/Util.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* shouldHideMessage -> shouldBlockMessages

* add docs

* oups

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-01 22:36:23 +01:00
Pyrofab 563be43174
Map transparency shader fields and methods (#1412)
* Entity#isAlive(0) -> isValid

* Framebuffer#method_29329(1) -> copyFrom

* GlStateManager#method_29330(0) -> supportsGl30

* GlStateManager#method_29332(10) -> blitFramebuffer

* GlStateManager#method_29333(0) -> getFramebufferAttachmentParameter

* GlStateManager#method_29334(0) -> getActiveBoundTexture

* GlStateManager#method_29331(8) -> copyTexSubImage2D

* GlStateManager#getFramebufferAttachmentParameter(0) -> getFramebufferDepthAttachment

* Framebuffer#copyFrom(1) -> copyDepthFrom

* WorldRenderer%field_25275 -> entityFramebuffer

* WorldRenderer%field_25276 -> particleFramebuffer

* WorldRenderer%field_25274 -> translucentFramebuffer

* RenderPhase%field_25281 -> PARTICLES_TARGET

* RenderPhase%field_25280 -> TRANSLUCENT_TARGET

* RenderPhase%field_25282 -> WEATHER_TARGET

* RenderPhase%field_25283 -> CLOUDS_TARGET

* RenderPhase%field_25284 -> ITEM_TRANSPARENCY

* RenderPhase$DepthTest%field_22242 -> depthFunction

* +133 doc in RenderPhase$DepthTest%depthFunction

* WorldRenderer#method_29362(0) -> getParticlesFramebuffer

* WorldRenderer%particleFramebuffer -> particlesFramebuffer

* WorldRenderer%field_25278 -> cloudsFramebuffer

* WorldRenderer%field_25277 -> weatherFramebuffer

* WorldRenderer%field_25279 -> transparencyShader

* WorldRenderer#method_29365(0) -> loadTransparencyShader

* Lowercase 2d

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Revert "Entity#isAlive(0) -> isValid"

This reverts commit 0199e61e68.

* Remove whitespace

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-05-31 18:21:17 +01:00
Deximus-Maximus 2fbbb01395
Misc. Issue Resolution (#1401)
* PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392)

* GameJoinS2CPacket seed -> sha256Seed (#1360)

* checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332)

* StatusEffectType -> StatusEffectCategory (#1036)
StatusEffect -> StatusEffectType
StatusEfectInstance -> StatusEffect
(and related names)

* SettingsScreen -> OptionsScreen (#787)
AccessibilityScreen -> AccessibilityOptionsScreen
Moved OptionsScreen to options package with all the other options screens

* Finishes making maximum/minimum -> max/min (#672)
(the ones in TreeDecoratorConfig as they have no postfix)

DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667)

* fix missing file

* Revert "StatusEffectType -> StatusEffectCategory (#1036)"

This reverts commit 07f887a3d2.

* fix capitalization

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/World.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 19:31:17 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
i509VCB 21793c91ba
Document scrolling parameters. (#1399)
* Document scrolling parameters.

Sideways scrolling is actually tracked!

* Update mappings/net/minecraft/client/Mouse.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-28 21:41:32 +01:00
Juuxel bfbd2bdc41
HandledScreen parameters (#1389)
* 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
2020-05-27 11:18:38 +01:00
liach 599f1dcc91
Dimension tracker (#1382)
* Dimension tracker

Signed-off-by: liach <liach@users.noreply.github.com>

* Good ol tabs

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-22 12:38:49 +01:00
2xsaiko 77f8ede4b4
20w20a mappings (#1353)
* 20w20a mappings

* GameModeSelectScreen -> GameModeSelectionScreen

* Revert class_5281 to obfuscated in favor of #1350

* Some improvements

* worldBorderProperties -> worldBorder

* Merge non-conflicting names

* Rename some existing mappings where names got lost

* Small changes

* Remove leftover rebase tags

* Remove duplicate mappings

* 20w21a changes

* Cleanup & Map ChunkGeneratorType.Preset

* Adjust DimensionType mappings

* hellish -> hasCeiling
2020-05-20 22:57:06 +01:00
haykam821 c22c154642
Map disable multiplayer and chat command line options (#1376) 2020-05-20 21:05:13 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Shnupbups 4c440d8179
20w20a stuff (#1351)
* 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>
2020-05-20 00:49:55 +01:00
shedaniel b24611fe8e
Some refactor and clean up with KeyBinding and EntryListWidget$Entry (#1348)
* Some clean up with KeyBinding and EntryListWidget$Entry

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Apply suggestions from code review

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Rename to InputUtil$Key

Signed-off-by: shedaniel <daniel@shedaniel.me>

* 20w20a

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Update mappings/net/minecraft/client/util/InputUtil.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-15 16:36:40 +01:00
Joseph Burton b48dcfcbc9
Packet mappings (#1358) 2020-05-15 16:35:03 +01:00
i509VCB 7df3e4d656
TickableRealmsButton -> TickableElement (#1349)
This is because it isn't for realms anymore, and Screen implements this
2020-05-13 21:02:22 +01:00
modmuss50 015995dd3f 20w20a 2020-05-13 18:06:00 +01:00
Shnupbups 2cf6919014
stuff (#1334)
yep
2020-05-11 12:50:12 +01:00
Juuxel 5819592fda
TextRenderer.getStringWidth(Text) -> getWidth() (#1341) 2020-05-09 23:53:16 +01:00
Juuxel 47b6960be2 Screen fixes and drawTexture docs (#1324)
* Screen fixes and drawTexture docs

* renderDirtBackground -> renderBackgroundTexture

* Add docs

* Remove empty comments

* Clarify renderBackgroundTexture comment
2020-05-06 21:52:31 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 ef74eec9c1 20w19a 2020-05-06 18:28:56 +01:00
Joseph Burton d31805d0b7
Block Action -> Synced Block Event. Level Event -> Synced World Event (#1323)
* block action -> synced block event, level event -> synced world event

* Missed a couple, made parameters consistent
2020-05-02 21:29:07 +01:00
Yanis48 1f2d9d7e4b
Bring back the parameters (#1307)
* Bring back the parameters

* better

* isBlock -> matches

* matches -> is / isOf
2020-05-02 13:31:02 +01:00
liach 3dff7b8529
Restore missing BeeDebugRenderer$Bee (#1314)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 00:40:51 +01:00
liach c1df20bd04
item property getter (#1305)
* item property getter

Signed-off-by: liach <liach@users.noreply.github.com>

* rename this to model predicate provider as it provides values for model predicates

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:20:29 +01:00
i509VCB 1ecd1031fa
Map some blocks, fluids and block entities (#1309)
* Map some block, fluid and block entities

* Flowing -> Flowable

* oops

* Update mappings/net/minecraft/block/entity/CommandBlockBlockEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-30 12:20:20 +01:00
liach e19a774422
Datafixer and random utilities (#1306)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:19:56 +01:00
liach 104490a2e2
Entity type missing stuff, new server properties (#1312)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:20 +01:00
SuperCoder79 aab2c54e5c
multiplayer enigma boogaloo (#1298)
* 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>
2020-04-29 20:28:00 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
liach fcd86fa77a
Text mappings (#1297)
* Text mappings

still a bit more to go

Signed-off-by: liach <liach@users.noreply.github.com>

* Stage

* Broken jd

* I'm pleased

Signed-off-by: liach <liach@users.noreply.github.com>

* Few problems spotted before

Signed-off-by: liach <liach@users.noreply.github.com>

* Moar jd

* call it id overrides

* Update mappings/net/minecraft/text/TextColor.mapping

* Nice fixes

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/text/MutableText.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update TextHandler.mapping

due to an enigma shortcoming

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-26 01:29:03 +01:00
i509VCB d4063b9643
Map new GameRule methods and EditGameRulesScreen (#1299)
* Map new GameRule methods and EditGameRulesScreen

* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/screen/world/EditGameRulesScreen.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* confusing names fixed

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-24 23:11:41 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
liach 7180726b1f
Fix javadoc warnings (#1286)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:18 +01:00
liach aae7c8179f
Map the new serverbound jigsaw generating packet (#1283)
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>
2020-04-16 02:55:11 +01:00
modmuss50 863b0e905c 20w16a 2020-04-15 16:34:32 +01:00
Shnupbups 558487a1c0
i mapped things: HD remaster (#1271)
* some stuff HD remaster

* Update mappings/net/minecraft/world/biome/BasaltDeltaBiome.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Delta -> Deltas

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/gen/feature/DeltaFeatureConfig.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-14 15:01:16 +01:00
liach 159546e8cd
Map some 20w15a new classes (entities, enchantments) (#1269)
* Map some 20w15a new classes (entities, enchantments)

Signed-off-by: liach <liach@users.noreply.github.com>

* Some javadocs

* Just refer by id

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix bad class name

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-08 21:48:41 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01:00
Shnupbups 5ef7ccfb9b
some 14a stuff (#1251)
* some 14a stuff

* Apply suggestions from code review

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-03 20:11:08 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
liach c785526e75
block bad names and glstatemanager bad stuff, rotation3 -> affine transformation (#1244)
* block bad names and glstatemanager bad stuff, rotation3 -> affine transformation

close #1224, close #1233, close #1234, close #1241

* Update mappings/com/mojang/blaze3d/platform/GlStateManager.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-01 17:32:46 +01:00
Yanis48 d154cce219
block entity mappings (#1237) 2020-04-01 02:02:51 +01:00
i509VCB 4b817e7c68
2 Rename fixes (#1242) 2020-03-30 18:35:14 +01:00
liach 80aa993105
Move direction transformation and matrix3f to util math (need same package) (#1235)
move two matrices to non-client;
move two transformations to util math;
move globalpos to dynamic;
move propagator to world;
a few other util additions

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-27 15:08:10 +00:00
­Sollace 3d228282e6
Renderer mappings (#988)
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* Fixed bad names

* Determined by the call to part.render(matrix, vertices, light, overlay)
  which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)

* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
  Meanhile VertexConsumerProvider is

* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* This is not a render method! It sets the yaw and pitch on the skull

* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
  Not much to change there though

* These are known from EntityRenderDispatcher

* render calls renderLabelIfPresent

* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)

* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity

* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself

if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
    double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
    float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
    if (float24 > 0.0f) {
       renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
    }
}

* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby

    private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
        float float8 = radius;
        if (entity instanceof MobEntity) {
            if (((MobEntity)entity).isBaby()) {
                float8 *= 0.5f;
            }
        }

* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!

float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {

* Forgot this one

* This is all low-hanging fruit.

* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)

    @Environment(EnvType.CLIENT)
    public boolean shouldRenderFrom(double x, double y, double z) {
        double double8 = this.getX() - x;
        double double10 = this.getY() - y;
        double double12 = this.getZ() - z;
        double double14 = double8 * double8 + double10 * double10 + double12 * double12;
        return this.shouldRenderAtDistance(double14);
    }

* More things we know

* This is set by calling entity.getLeaningPitch

* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).

This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay

OverlayTexture.packUv(
	OverlayTexture.getU(animationCounter),
	OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)

* The final patches

* xrayEnabled -> isGlowing

* Commit suggestions/name changes I missed during rebase

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Fix typos

* yaw -> tickDelta

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* provider -> vertexConsumers

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* matrix -> matrices

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fixed some encorrect names

* entry -> matrices

* textureU/V -> u/v

* isBanner -> isBannerBlock

* frustrum -> frustum

Co-Authored-By: Gegy <gegy1000@gmail.com>

* Fix broken/changed mappings for 20w10a

* grammar

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/particle/ItemPickupParticle.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 11:06:32 +00:00
liach ab49bb2e7b
Jigsaw and rotation/rule test stuff (#1227)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 14:10:31 +00:00
Yanis48 f3692142b6
Strider entity mappings (#1225)
* strider entity mappings

* some additions

* changes

* changes

* Update ItemSteerable.mapping

* class_4988
2020-03-26 14:09:47 +00:00
i509VCB 7b32b5f874
Javadoc for some client, datafixer and other miscellaneous areas. (#1219)
* Javadoc for some client, datafixer and misc.

* Update ServerPlayNetworkHandler.mapping

* Update MinecraftClient.mapping

* Update ClientPlayerEntity.mapping

* Update PlayerListEntry.mapping

* Update TypeReferences.mapping

* Update Entity.mapping

* Update LivingEntity.mapping

* Update NbtHelper.mapping

* Update CommandOutput.mapping

* Update mappings/net/minecraft/client/MinecraftClient.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/server/command/CommandOutput.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update PlayerListEntry.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayPacketListener.mapping

* Update ClientPlayPacketListener.mapping

* Fix possible build error

* try 2

* Update LivingEntity.mapping

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/entity/Entity.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 23:14:55 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00:00
liach 0a63e67d08
Clarify Minecart sounds, fixes #918 (#1211)
* Clarify Minecart sounds, fixes #918

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/sound/MinecartInsideSoundInstance.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-24 22:53:56 +00:00
joaoh1 52012b1aa6
Fix PositionedSoundInstance's swapped param. names (#1220) 2020-03-24 22:53:30 +00:00
­Sollace 0f9c44a541
Mappings relating to code that uses CsvWriter (#1186)
* Mappings relating to code that uses CsvWriter

* ok

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* 👌

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/server/world/ChunkTicketManager.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* directionalLighting -> shade

* Revise param names for createArea

* @Sollace misreads the code again

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-20 18:16:55 +00:00
liach 9446cccca5
Map reverse portal particle (#1206)
* Map reverse portal particle

and many other missing fields in particle/factories

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/particle/CurrentDownParticle.mapping

Co-Authored-By: Joseph Burton <burtonjae@hotmail.co.uk>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-03-19 16:24:35 +00:00
liach e34b5a891e
New sound stuff, fish hook predicate, missed persistent state uuid fix (#1202)
Signed-off-by: liach <liach@users.noreply.github.com>

Add jd to note this is the mood percentage for biome sound

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 14:50:03 +00:00
Joseph Burton 69b0299c91
Slot documentation stuff (#1198)
* Slot documentation stuff

* Fix javadoc paragraphs and add comment about click data with throw action type
2020-03-19 14:41:44 +00:00
Yanis48 a36211bd7c
Quick entity fixes (#1200) 2020-03-19 14:07:30 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
shedaniel bc23219e17
remove blit and javadoc i need comments (#1168)
* remove blit i need comments

* some javadoc?

* revert parameters names

* fix interchangeable
2020-03-16 21:41:30 +00:00
liach a1b8da33a9
Enchantments, vines, particles 11a (#1174)
* Enchantments, vines, particles 11a
Fixes #1084 as well

* Detail on what the ench method does

Signed-off-by: liach <liach@users.noreply.github.com>

* Now this thing has a builder ye

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/gen/feature/TwistingVinesFeature.mapping

* Update mappings/net/minecraft/world/gen/feature/TwistingVinesFeature.mapping

* Rename method sin weeping vine feature as requested by @supercoder7979

Signed-off-by: liach <liach@users.noreply.github.com>

* Vines -> VineLogic

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-13 13:55:19 +00:00
Mikhail Oleynikov 2cd906df4e
Map LevelGeneratorOptions (#1175)
* Map LevelGeneratorOptions

* Delete build.gradle

* FIX MESS

This reverts commit 1401dd2a73.

* FIX MESS 2

* 20w11a falseresync/levelgen (#1)

* Stuff around this level gen stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* Another missed

* one more field

Co-authored-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-13 13:55:03 +00:00
Yanis48 666890b9d8
Made some entity renderer and model fields and parameters consistent (#1176)
* Entity renderers' SKIN -> TEXTURE & made some parameters consistent

* some fields and constructor parameters in model classes

* shulker colored textures

* Update mappings/net/minecraft/client/render/entity/WitherEntityRenderer.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/client/render/entity/WitherSkullEntityRenderer.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-13 13:54:42 +00:00
liach 0662643338
Followup cleanups around screen handler change (#1166)
* Followup cleanups around screen handler change
Closes #1153

Signed-off-by: liach <liach@users.noreply.github.com>

* Lol i missed this

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* SCREEN_TITLE -> TITLE

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-12 21:05:02 +00:00
modmuss50 9497721136 20w11a 2020-03-11 17:25:56 +00:00
Juuxel 08f62761fc
EnderCrystal -> EndCrystal, #1163 improvements (#1173)
The end crystal entity is registered as minecraft:end_crystal.
2020-03-11 16:17:29 +00:00
liach 7bd162989d
Pick up rendering stuff and dragon stuff (#1163)
* 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>
2020-03-11 15:09:33 +00:00
liach d24dec94fb
Plant block, smithing table container, data gen, dfu, dynamic seriali… (#1148)
* Plant block, smithing table container, data gen, dfu, dynamic serializable boolean

Signed-off-by: liach <liach@users.noreply.github.com>

* updateresult

Signed-off-by: liach <liach@users.noreply.github.com>

* Some biome sound and container screen etc

Signed-off-by: liach <liach@users.noreply.github.com>

* More stuff
block state model generator is too big, maybe need cloak (enigma too slow)

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/container/ForgingContainer.mapping

* conatiner name -> screen title

Signed-off-by: liach <liach@users.noreply.github.com>

* Document the 3 types of sounds; biome ambient sound player -> effect sound player

Signed-off-by: liach <liach@users.noreply.github.com>

* Update ModelIds.mapping

* container -> screen handler

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/screen/ingame/SmithingScreen.mapping

Missed this boi

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-08 22:23:40 +00:00
Prospector 462812a68e
Container -> ScreenHandler (#1106)
* Container -> ScreenHandler

* Fix first set of issues (excluding comments)

* Fix comment issues
2020-03-08 22:18:57 +00:00
Yanis48 168d6b23ec
Random fixes (#1162) 2020-03-08 22:14:25 +00:00
modmuss50 f339c99217
some piglin stuff + misc (#1144)
* some piglin stuff + misc

* Update mappings/net/minecraft/entity/mob/ZombifiedPiglinEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* more stuff

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-05 21:40:35 +00:00
modmuss50 6bf062b174
some gui changes (#1152)
* some gui changes

* draw line changes

* text typo

* z offset
2020-03-05 21:38:51 +00:00
modmuss50 72fa1d7581
Restore GUI names from 20w09a (#1149)
* (WIP) Restore names from 20w09a

* Add more names

* Add a field name
2020-03-04 23:18:13 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
liach 627465501e
20w09a all classes mapped (#1143)
* 20w09a all classes mapped

Signed-off-by: liach <liach@users.noreply.github.com>

* call it Repeating Audio Stream

Signed-off-by: liach <liach@users.noreply.github.com>
2020-03-03 15:10:30 +00:00
liach d924b03325
Eliminate all unmapped classes from yarn (#1135)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-28 18:28:02 +00:00
modmuss50 8e7f7a8d35 20w09a 2020-02-26 17:56:39 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
qouteall b9aaf4b959
small things (#1130)
* ServerPlayNetworkHandler#method_20630(1) -> isPlayerCollidingWithBlocks

* GameRenderer#method_22973(3) -> getBasicProjectionMatrix

* GameRenderer#method_22709(1) -> loadProjectionMatrix

* Update ServerPlayNetworkHandler.mapping
2020-02-22 23:05:53 +00:00
LambdAurora f20fc8f630
Rename every view argument to world and random additions. (#1114)
* WIP on view argument nuking.

* More mappings.

* Nuke remaining view arguments.

* FeatureRendererContext#getTexture() ARG 1 wolf -> entity
2020-02-17 13:48:43 +00:00
modmuss50 d2afdda25f 20w07a 2020-02-14 14:54:37 +00:00
Joseph Burton 19b1318608 Motive -> Painting Motive (#1100)
* Motive -> Motif

* Update mappings/net/minecraft/entity/decoration/AbstractDecorationEntity.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* motif -> painting_motive

* Nuke last remaining motif

Co-authored-by: ­Sollace <Sollace@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-02-09 19:05:38 +00:00
liach 9b56dd3eec Networking stuff (#1096)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-09 14:31:14 +00:00
liach c52a1b78a6 dfu and particles (#1092)
* dfu and particles

Signed-off-by: liach <liach@users.noreply.github.com>

* Add missing particle, fix #1093

Signed-off-by: liach <liach@users.noreply.github.com>

* Missing stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix another misplaced fixer class

Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-08 10:02:51 +00:00
liach fe63d5e738
Biome internal mappings (not new biome types) (#1087)
* Biome internal mappings (not new biome types)

Signed-off-by: liach <liach@users.noreply.github.com>

* SpecialEffects -> Effects
unpackRgb

* Better names, I guess

This time mojang teaches us 4-D cartesian plane and hyperbola

Signed-off-by: liach <liach@users.noreply.github.com>

* Bit more stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* penalty -> distance

Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-06 20:02:39 +00:00
Shnupbups 18a0bd11f1
A few 1.16 mappings (#1091)
* A few 1.16 mappings

* Update and rename WeepingVInesPlantBlock.mapping to WeepingVinesPlantBlock.mapping

* more stuff

* Wall mappings

ioly partially done, but eh

* Update and rename WallType.mapping to WallShape.mapping

* Update Properties.mapping

* Update WallBlock.mapping

* Update mappings/net/minecraft/entity/ItemEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-02-06 20:02:23 +00:00
liach 50f42d6f2e
20w06a profiler mappings (#1085)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-05 18:50:55 +00:00
modmuss50 9b88b3c3e8 20w06a 2020-02-05 17:27:03 +00:00
Yanis48 5b3dea511f
block fixes (#1083) 2020-02-05 16:27:59 +00:00
­Sollace 1e96d04898
1.15.2 EntityRenderer changes (#1079)
* 1.15.2 EntityRenderer changes

* wtf Enigma

* Added the P

* "Swap the usage of the value first"

* See my new dog color mah!?

* "S" that ws meant to be an "S"
2020-02-02 17:23:04 +00:00
Yanis48 a39dea0083
Moved all S2C/C2S packets (#1074)
* s2c/c2s packet renamings

* splitted into subpackages
2020-02-02 17:22:46 +00:00
Pyrofab 32e934eac7
LivingEntity rendering fix (#1080)
* Entity#canSeePlayer(1) -> isInvisibleTo

* LivingEntityRenderer#method_4056(2) -> shouldRender

* LivingEntityRenderer#method_4056(2) -> isVisible

* EntityRenderer#render(3)[2 = ] -> yaw

* EntityRenderer#render(3)[3 = ] -> tickDelta

* EntityRenderer#render(3)[5 = ] -> vertexConsumers

* EntityRenderer#render(3)[6 = ] -> light

* Pick better names

* Remove overlaps

* Fix merge conflicts

* Actually remove overlap
2020-01-31 10:14:57 +00:00
Juuxel 870a3395ab Container and ContainerScreen improvements (#1035)
* 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
2020-01-21 18:21:12 +00:00
liach 586c5b7522 Map multiplayer warning screen (#1067)
"may not be suitable for all ages"

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-19 18:40:41 +00:00
liach ae6ab2e6e3 2 df classes and some render layer stuff (#1065)
render layer fields can be inferred
outlinevertexconsumer: better decompiled code (see ff genSources result); package level, doesn't affect mods
render layer outline: map one new package enum and change stuff to refer to outline etc.

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-19 18:01:29 +00:00
modmuss50 e1303e0dc2
Map the 1.15.2 changes (#1063)
* Map the 1.15.2 changes

* Update mappings/net/minecraft/client/render/model/BakedModel.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-01-18 17:25:15 +00:00
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +00:00
LambdAurora 74918f55a7 Map method_22120 to hasMovementInput (#1056)
* ClientPlayerEntity#method_22120(0) -> hasMovementInput

* +106 doc in ClientPlayerEntity#hasMovementInput(0)
2020-01-13 12:43:54 +00:00
comp500 d628b9539d Improved Window names (#1054)
* Improved Window names

* Update mappings/net/minecraft/client/util/Window.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-01-11 20:10:03 +00:00
haykam821 8baf7357a2 Map GameMenuScreen field and parameter to showMenu (#1044) 2020-01-11 20:01:04 +00:00
Yanis48 245ba5c444 Fixed #838, #860 and unnamed deserializers (#1040)
* fixed things

* deserialize2 -> deserialize
2020-01-08 14:35:10 +00:00
Pyrofab b9f12fb5c8 Status effect inventory rendering mappings (#1041)
* AbstractInventoryScreen#method_18642(3) -> renderStatusEffectBackgrounds

* AbstractInventoryScreen#drawPotionEffects(0) -> drawStatusEffects

* AbstractInventoryScreen#renderStatusEffectBackgrounds(3) -> drawStatusEffectBackgrounds

* AbstractInventoryScreen#renderStatusEffectSprites(3) -> drawStatusEffectSprites

* AbstractInventoryScreen#method_18644(3) -> drawStatusEffectDescriptions

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[2 = ] -> top

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[2 = top] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[3 = ] -> effects

* AbstractInventoryScreen#drawStatusEffectSprites(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectSprites(3)[2 = ] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectSprites(3)[3 = ] -> effects

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[2 = ] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[3 = ] -> effects

* AbstractInventoryScreen#<init>(3)[2 = ] -> inventory

* AbstractInventoryScreen#<init>(3)[3 = ] -> name
2020-01-08 14:34:26 +00:00
Erlend Åmdal 59dfbead00 Vector3f.reciprocal->normalize (#1027) 2019-12-30 22:04:36 +00:00
Erlend Åmdal 8bca281a33 Fix VertexConsumerProvider parameters (#1029) 2019-12-27 10:48:54 +00:00
Chocohead c7bdfa7558 Fix dodgy parameter names (#1028) 2019-12-27 10:48:15 +00:00
Tae Lim Kook d8a1bd3ec6 Quick Matrix{3,4}f and Rotation3 fixes (#1025)
* Rename Gson fields in some classes to GSON

* Quick Matrix{3,4}f and Rotation3 fixes
2019-12-26 12:36:42 +00:00
Erlend Åmdal 10fe82a496 Tiny Vector3f fixes (#1023)
* Vector3f.multiplyComponentWise -> lerp

* Vector3f.piecewiseMultiply -> multiplyComponentwise
2019-12-26 12:34:24 +00:00
shedaniel 644cab467a some client names and moved PageTurnWidget (#1019)
* some client names and moved PageTurnWidget

* Update mappings/net/minecraft/client/gui/screen/recipebook/RecipeAlternatesWidget.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2019-12-26 12:29:59 +00:00
Erlend Åmdal 9402c417ee Tiny quaternion fixes (#1022)
* Re-add missing quaternion mappings

* Vector4f.rotate
2019-12-26 12:27:36 +00:00
­Sollace a312994297 Model transformation mode (#1008)
* ModelTransformation.Type -> ModelTransformation.Mode

* Transformation.NONE -> Transformation.IDENTITY
2019-12-19 18:44:07 +00:00
Fudge 59a98ca5b0 BlockBreakParticle mapping (test) (#1005)
* net/minecraft/client/particle/BlockCrackParticle -> net/minecraft/client/particle/BlockBreakParticle

* Update BlockBreakParticle.mapping

* Rename BlockBreakParticle.mapping to BlockDustParticle.mapping
2019-12-19 18:43:36 +00:00
­Sollace 3671127f16 field_21807 -> MAP_BACKGROUND (#1007)
field_21808 -> MAP_BACKGROUND_CHECKERBOARD
2019-12-17 21:23:28 +00:00
Joseph Burton 4a2fe5bd1b Make packet names consistent (#1016)
* Make packet names consistent

* Rename OpenContainerPacket -> OpenContainerS2CPacket
2019-12-17 21:22:35 +00:00
modmuss50 a389d8528f 1.15-pre7 2019-12-09 12:54:41 +00:00
­Sollace 0192eb0e67 FirstPersonRenderer -> HeldItemRenderer (#991)
* Update all the mappings for ItemRenderer and FirstPersonItemRenderer

* FirstPersonRenderer -> HeldItemRenderer

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Revert `vertexConsumers` -> `provider

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Typo

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* matrix -> matrices (part 2)

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* vertices -> vertexConsumers (part 2)

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* transformation -> transformationType

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Item -> item

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-12-08 18:08:24 +00:00
Shnupbups 7321f6c54f Last minute bee stuff (#999)
* bee stuff

* Rename BeeHiveBlock.mapping to BeehiveBlock.mapping

* Rename BeeHiveBlockEntity.mapping to BeehiveBlockEntity.mapping

* Update mappings/net/minecraft/block/entity/BlockEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/block/entity/BlockEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
2019-12-08 18:08:08 +00:00
modmuss50 946346c722 1.15-pre6 - 1 lost inner class 2019-12-06 13:08:36 +00:00
liach 260c102750 1.15 pre 5 new mappings and other cumulative new mappings (#996)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-12-05 23:28:21 +00:00
liach 805396c016 1.15 pre4 1 (#994)
* Some missing fields

Signed-off-by: liach <liach@users.noreply.github.com>

* Few more stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* Remove problematic jd info
2019-12-04 23:00:17 +00:00
modmuss50 b3d3023795 1.15-pre4 2019-12-03 13:35:46 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +00:00
­Sollace 018b4f2cda Quarternion mappings (#972)
* Mapped some missing names in Vector3f and Quaternion

* Mapped WorldRenderer and most of RenderLayer
2019-12-02 13:49:14 +00:00
Runemoro 966033b532 More rendering mappings (#986)
* More rendering mappings

* Even more rendering mappings

* Update mappings/net/minecraft/client/render/OverlayTexture.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/render/OverlayTexture.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fix HashStrategy removed in last PR

* Fixes by liach
2019-12-02 13:47:40 +00:00
liach 5bebf85492 pre3 new classes (#989)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-29 20:40:18 +00:00
modmuss50 cdad304f12 1.15-pre3 2019-11-28 19:19:28 +00:00
Runemoro bf81b47a6b Rendering mappings (#985)
* Rendering mappings

* Undo ColorResolver -> ColorProvider, it's an unobfuscated class!

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fixes by liach

* Fix
2019-11-26 23:53:20 +00:00
liach d0f836da8e Some stuff for 1.15 pre 1 and pre2 (#980)
* 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
2019-11-25 20:12:08 +00:00
modmuss50 85d87033da 1.15-pre2 2019-11-25 19:17:49 +00:00
Runemoro 35d803542c Model part mappings (#982)
* Model part mappings

* Fix

* Suggestions by liach

* Fix
2019-11-25 13:58:59 +00:00
modmuss50 a2adfae9eb Remove a conflicting method
This time on the right branch
2019-11-21 19:43:37 +00:00
modmuss50 dd646e04ca Fix mappings 2019-11-21 19:33:39 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
­Sollace abe91b29fa Mapped several things across all the modelling classes and renderers (#799)
* WeightedBakedModel.ModelEntry -> WeightedBakedModel.Entry

* Json ModelElement

* Mapped CubeFace
field_3958 -> DIRECTION_LOOKUP
method_3163 -> getFace

* Vector4f

* Vector4f.method_4929 -> Vector4f.viewboxMatrix

* Mapped BakedQuadFactory

* Resource reload listener

* ModelLoader
ModelLoader.class_4455 -> ModelLoader.ModelDefinition (as hinted by Mojang)

* field_20848 -> BLOCK_DESTRUCTION_STAGES
BLOCK_BREAKING_STAGES -> BLOCK_DESTRUCTION_STAGE_TEXTURES

* BakedModel
deserialize -> deserialize (where's the synthetic?)

* Back to this I guess.

* These mappings were lost in the rebase. :/

* getLightBrightness -> getRelativeDirectionalBrightness
getBrightnessInteger -> getLightmapCoordinate

* Mapped some incidental names relating to Sprite
2019-11-19 15:19:05 +00:00
liach ec47b4448e 45b new stuff and a few fixed entity methods from 45a (#959)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-19 14:28:00 +00:00
­Sollace e1ee50dbb4 Corrected the TextRenderer parameter names (#967)
* Mapped TextRenderer

* Fix typo

AAAAAAAAAAAAAAAAHHHHHHHHHOOOOOMMMMMMYYYYGOOOOOOOOOOOOOO

* str -> text

* More parameter mappings
2019-11-19 14:23:01 +00:00
Juuxel d9a890e5dc Fix various issues (#966)
* Fix various issues

Fixed TextRenderer.draw parameter names. Closes #965.
RabbitEntity.method_20669 -> canSpawn. Closes #956.
Block/Fluid.stateFactory + getters -> stateManager. Closes #957.
MinecraftServer.advancementManager + getter -> advancementLoader.
ServerPlayerEntity.advancementManager + getter -> advancementTracker.
Closes #960.
PlayerManager.getAdvancementManager -> getAdvancementTracker.
PlayerManager.advancementManagerMap -> advancementTrackers.
Fixed typo in StatePredicate.test param name (sate -> state).

* PlayerManager.advancementManagerMap -> advancementTrackers

* liach's suggestion
2019-11-19 14:22:22 +00:00
­Sollace 9b09c7929c Rename the body parts to be more descriptive (#950)
* Rename the body parts to be more descriptive

* unmap "accept" method

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Mapped the quadrupedal model fields

* StrayEntityModel -> SkeletonEntityModel

* Map parameters
2019-11-18 13:11:10 +00:00
­Sollace a57b0d7cba New vector and direction methods (#961) 2019-11-18 11:36:11 +00:00
­Sollace 6b125213ce Mapped PlayerSkinTexture (#962)
* Mapped PlayerSkinTexture

* Update mappings/net/minecraft/client/texture/PlayerSkinTexture.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* resManager -> manager
2019-11-18 11:35:41 +00:00
modmuss50 2956fad80d 19w46b 2019-11-14 14:49:10 +00:00
liach 1075e2fd3f 46a new stuff (#955)
* 46a new stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* render

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-13 19:59:16 +00:00
modmuss50 a867725a7f 19w46a 2019-11-13 17:34:56 +00:00
­Sollace cc2479fee6 Player-suggested changes (#949) 2019-11-12 18:55:47 +00:00
liach 14997e8ae6 Map biome color cache stuff and matrixstack pop (#945) 2019-11-09 19:08:42 +00:00
­Sollace 15334f0522 Shape mappings (#839) 2019-11-09 19:07:05 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
Runemoro 630bd1451b Refactor rendering (#930)
* Refactor rendering

* Revert #929 and map more things

* Fixes by liach

* Revert bufferBuilder -> buffer in fields too

* Fixes

* Update mappings/net/minecraft/util/MessageQueue.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/util/MessageQueue.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Suggestions by Player

* Fix some debug renderer names

* More mappings

* Fix

* Fixes by Player

* Improve BufferBuilderStorage names
2019-11-07 18:03:04 +00:00
Mikhail Oleynikov c37fc0ee16 Fill names in AdvancementTabType with existing names in the context 2019-11-03 21:14:00 +00:00
liach 02908445ab Mapped all top-level classes (#934)
* Mapped all top-level classes

No more obfuscated top-level class

Signed-off-by: liach <liach@users.noreply.github.com>

* Mapping inner classes (Still some left)

These to go:
net/minecraft/datafixers/fixes/LeavesFix$class_1192
net/minecraft/structure/NetherFortressGenerator$class_3404
net/minecraft/structure/OceanMonumentGenerator$class_3367
net/minecraft/structure/OceanMonumentGenerator$class_3368
net/minecraft/structure/OceanMonumentGenerator$class_3369
net/minecraft/structure/OceanMonumentGenerator$class_3370
net/minecraft/structure/OceanMonumentGenerator$class_3371
net/minecraft/structure/OceanMonumentGenerator$class_3372
net/minecraft/structure/OceanMonumentGenerator$class_3373
net/minecraft/structure/OceanMonumentGenerator$class_3375
net/minecraft/structure/OceanMonumentGenerator$class_3388
net/minecraft/structure/StrongholdGenerator$class_3427
net/minecraft/structure/StrongholdGenerator$class_3466
net/minecraft/structure/Structure$class_3500
net/minecraft/structure/WoodlandMansionGenerator$class_3478

Signed-off-by: liach <liach@users.noreply.github.com>

* Update StructurePoolBasedGenerator.mapping

* Fixes as suggested by @Runemoro

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:51:27 +00:00
Mikhail Oleynikov d912077df8 Bring back BER.render (#933) 2019-10-30 18:58:20 +00:00
modmuss50 ab5cfb2bf9 Fix 2019-10-30 16:56:29 +00:00
modmuss50 bf6fdd7195 19w44a 2019-10-30 16:28:24 +00:00
liach 6fa1e34c83 19w42a rendering and layers etc (#917)
* 19w42a rendering and layers etc

Signed-off-by: liach <liach@users.noreply.github.com>

* Stage changes

Signed-off-by: liach <liach@users.noreply.github.com>

* stuff stuff stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* fixed color

Signed-off-by: liach <liach@users.noreply.github.com>

* Banner Pattern "Patterns"

Patterns name see https://minecraft.gamepedia.com/Banner#Block_entity

* Some more changes

Signed-off-by: liach <liach@users.noreply.github.com>

* Add 2 mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-30 16:15:03 +00:00
biom4st3r 11d3a5cf6e StatusEffect mapping and Cuboid Method rename (#906)
* Mappings for statusEffects
Changed Cuboid.copyRotation -> Cuboid.copyRotationAndPoint because of the misleading name

* Apply suggestions from code review

Co-Authored-By: Runemoro <runemoro1@gmail.com>
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/entity/effect/StatusEffect.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-10-30 15:50:18 +00:00
Laura F. D d5b9f96390 Some entity mappings (#888)
* Some entity mappings

* Mixed set/getShowsDeathScreen up

* AbstractMinecartEntity mappings

* Bee mapping

* No boolean getters

* Reorder words

* rebase and fix
2019-10-30 15:42:22 +00:00
Siphalor 194e42daff Mapped entity rendering methods/classes & options screens (#913)
* 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>
2019-10-25 09:02:48 +01:00
modmuss50 b8403e7661 19w42a 2019-10-16 18:09:47 +01:00
Juuxel 92727cae99 Fix MobSpawnS2CPacket velocity and rotation being swapped 2019-10-13 21:27:01 +00:00
Modmuss50 ef9864b2b8 A few easy mappings for 41a (#904) 2019-10-10 06:36:35 +02:00
Shnupbups 68328eddc5 Some new stuff (#903) 2019-10-09 20:35:45 +01:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
liach 8de7fde3c9 Remap resource pack profile stuff as I revisit it during api writing (#879)
* Remap resource pack profile stuff as I revisit it during api writing

Signed-off-by: liach <liach@users.noreply.github.com>

* ResourcePackCreator -> ResourcePackProvider
ResourcePackProfileManager -> ResourcePackManager

Signed-off-by: liach <liach@users.noreply.github.com>

* Minor

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-09 17:44:35 +01:00
Runemoro 04ad11fed6 Rendering mappings (#897)
* Rendering mappings

* Remove duplicate class

* Suggestions by liach and juuxel

* Unmap inferred field and move to better package
2019-10-09 17:43:46 +01:00
biom4st3r f8dec9497e Iron Golem Model Mappings (#900) 2019-10-09 07:36:31 +01:00
liach 6e610a892e Screen/GUI fields (#890)
Requested by 3tusk to map out the hud health stuff initially, so

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-07 11:47:33 +01:00
Danielshe 4bd3848cfb isMinceraft (#893) 2019-10-03 13:19:07 +01:00
modmuss50 a642ad93e7 19w40a 2019-10-02 15:28:28 +01:00
liach 02540173b1 19w39a tag mappings, nbt storage text, and a funny villager namer (#881)
Also fix commandexception method name clash

Signed-off-by: liach <liach@users.noreply.github.com>
2019-09-30 21:27:11 +01:00
liach e4fd77a6a9 Little random bits (#861)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-09-30 21:26:39 +01:00
Danielshe 255b94fe0d 19w39a: Some simple methods (#884) 2019-09-29 18:41:14 +01:00
Juuxel e1c4281e7d Small book and text tweaks (#883)
* More text stuff

* Fix BookScreen page button names

* Improve BookEditScreen button names
2019-09-29 18:31:40 +01:00
modmuss50 cec1663f54 Fix inner class name 2019-09-27 17:27:32 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
liach 8d9d435405 19w38b - loot conditions from data packs, advancements go smart, data… (#865)
* 19w38b - loot conditions from data packs, advancements go smart, data storage, etc

Signed-off-by: liach <liach@users.noreply.github.com>

* Improve names a bit as I edit mcwiki

Signed-off-by: liach <liach@users.noreply.github.com>

* some fields

Signed-off-by: liach <liach@users.noreply.github.com>

* More stuff spotted

Signed-off-by: liach <liach@users.noreply.github.com>

* name

Signed-off-by: liach <liach@users.noreply.github.com>

* nbt helper has a lot of troublesome names, especially that "equal" one is not checking for equality but for contained relationship

Signed-off-by: liach <liach@users.noreply.github.com>

* Corrections on nbt path names

Signed-off-by: liach <liach@users.noreply.github.com>

* Improve some loot mapping

Signed-off-by: liach <liach@users.noreply.github.com>
2019-09-26 08:42:38 +01:00
Juuxel d7687c5d92 Fix pages being called lines in BookScreen (#869)
* Fix pages being called lines in BookScreen

* Suggestions + map BookEditScreen.Position(int, int) params
2019-09-22 12:31:03 +01:00
Juuxel 56ed1582ab Creative inventory mappings (#843)
* Creative inventory mappings

* More creative inventory mappings

* method_2476 => applyStatusEffectOffset

* field_2888 -> ignoreTypedCharacter, searchedTags -> searchResultTags
2019-09-22 10:38:45 +02:00
grondag c65ee2bb41 Map bindTexture() to public method (#870)
In the latest snapshot the old bindTexture method was made private and is now wrapped by a public method that ensures thread safety.  Mods calling `bindTexture()` will fail due to an access violate.  This PR maps `bindTexture` to the new publicMethod and renames the private method.
2019-09-21 23:27:52 +02:00
modmuss50 0190a8d517 More inner class fixes 2019-09-18 17:57:06 +01:00
modmuss50 bf500b5591 Fix 19w38b 2019-09-18 17:39:49 +01:00
modmuss50 5f624356fc 19w38b 2019-09-18 16:29:55 +01:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +01:00
modmuss50 363b9de876 Merged #849
Squashed commit of the following:

commit 10e2858763
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 15:49:09 2019 +0100

    Rename BlockPlayerActionS2CPacket

commit c3357584bc
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 13:55:32 2019 +0100

    Add some player interaction mappings
2019-09-12 14:38:10 +01:00
modmuss50 84adfb1d6c Merged #825
Squashed commit of the following:

commit ce2f24233b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Wed Aug 28 20:43:17 2019 +0100

    Fix typo

commit ba7ca63d44
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Fri Aug 23 00:42:05 2019 +0100

    Fix typo + missing rename from previous commit

commit c63132b3b8
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Fri Aug 23 00:37:33 2019 +0100

    Rename variable names in 'natural language order'

commit b5c1f164f8
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:33:09 2019 +0100

    class_597 METHOD init ARG 2 -> scale

commit 728bec6b41
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:31:06 2019 +0100

    class_597 METHOD init ARG 1 -> ySize

commit d3dc2b2ee3
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:26:33 2019 +0100

    method_2800 -> getHead

commit d1aca82776
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:25:30 2019 +0100

    field_3356 -> finRight

commit ca9476050e
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:25:09 2019 +0100

    field_3351 -> finLeft

commit a88727b5ab
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:21:28 2019 +0100

    field_3355 -> finTop

commit 1abd1bd4bc
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:19:49 2019 +0100

    field_3350 -> finTail

commit 8b2faed2cf
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:13:05 2019 +0100

    field_3352 -> mouth

commit 4162946189
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:09:36 2019 +0100

    field_3354 -> head

commit 62ea7ab62f
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:08:36 2019 +0100

    field_3353 -> body

commit 84aeb8284b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:04:36 2019 +0100

    field_3347 -> wingRight

commit 394c90e230
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:04:03 2019 +0100

    field_3341 -> wingLeft

commit 9e177b49a6
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:01:56 2019 +0100

    field_3343 -> legRight

commit cf37239d25
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:01:22 2019 +0100

    field_3345 -> legLeft

commit 5b16409623
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:58:24 2019 +0100

    field_3346 -> body

commit 41157a8d86
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:55:20 2019 +0100

    field_3342 -> wattle

commit 036c309d3b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:52:43 2019 +0100

    field_3340 -> beak

commit cc948d7ca9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:48:21 2019 +0100

    method_2798 -> getLid

commit a4bba1e1f0
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:47:17 2019 +0100

    method_2799 -> render

commit 21fc1342cf
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:45:52 2019 +0100

    class_582 METHOD init ARG 1 -> scale

commit b60f47e4f1
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:35:08 2019 +0100

    method_17073 ARG 6 -> scale

commit f5821fd949
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:33:51 2019 +0100

    method_17072 ARG 6 -> scale

commit 3f59c2482d
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:27:34 2019 +0100

    method_2836 ARG 7 -> scale

commit b3308599e8
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:24:01 2019 +0100

    field_3326 -> bottom

commit 50501302e9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:03:07 2019 +0100

    field_3328 -> rods

commit 9b019bd627
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:00:18 2019 +0100

    field_3329 -> head

commit 94954e9dc5
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:58:14 2019 +0100

    field_3318 -> part2

commit e0da88d86a
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:57:41 2019 +0100

    field_3316 -> part1

commit f91e3b2473
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:52:49 2019 +0100

    field_3317 -> legs

commit a7b2e36c57
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:52:12 2019 +0100

    method_2795 ARG 1 -> visible

commit 2ee962f9d9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:48:12 2019 +0100

    field_3324 -> wingLeftTip

commit 6c89361dea
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:47:38 2019 +0100

    field_3319 -> wingRightTip

commit 18289d89b9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:45:57 2019 +0100

    field_3320 -> wingLeft

commit b7cfac8702
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:43:41 2019 +0100

    field_3322 -> wingRight

commit 66203f9137
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:39:49 2019 +0100

    field_3323 -> body

commit d8344db158
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:39:19 2019 +0100

    field_3321 -> head

commit e5c8a26170
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:17:37 2019 +0100

    method_2793 -> render

commit 5a86e9f41a
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:15:37 2019 +0100

    method_2792 -> getBanner

commit f6b577fe9b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:14:42 2019 +0100

    method_2791 -> getStickVertical

commit 2d53a588f3
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:13:21 2019 +0100

    field_3310 -> stickHorizontal

commit 42c6c02edb
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:11:47 2019 +0100

    field_3311 -> stickVertical

commit 4117732d33
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:10:13 2019 +0100

    field_3309 -> banner

commit 9cf06abcbb
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 02:59:03 2019 +0100

    method_17790 -> isAttacking
2019-09-12 14:36:00 +01:00
modmuss50 b198b9c6ca Merge #822
# Conflicts:
#	mappings/net/minecraft/entity/LivingEntity.mapping
#	mappings/net/minecraft/entity/mob/MobEntity.mapping
#	mappings/net/minecraft/util/SystemUtil.mapping
2019-09-12 14:28:23 +01:00
modmuss50 f4da454c81 19w37a 2019-09-11 16:28:06 +01:00
modmuss50 6bcf8b8ce9 19w36a 2019-09-05 10:54:58 +01:00
Runemoro 22d643e113 A few client mappings (#833)
* A few client mappings

* More client mappings

* Update TitleScreen.mapping

* Drop things that are gone
2019-09-01 16:22:10 +01:00
Runemoro 35891f155e Map some new 19w34a classes (#831)
* Map some new 19w23a classes

* Fixes

* Fix typo

* Drop methods that are gone
2019-09-01 16:21:31 +01:00
modmuss50 d75cbd833f 19w35a 2019-08-28 18:46:02 +01:00
Runemoro efcf572268 Fix #810 (#834)
* Fix #810

* Fix
2019-08-27 14:09:54 +01:00
NinjaPhenix 0db729b674 Updates ChestEntityModel Mapping (#835) 2019-08-27 14:09:26 +01:00
Shnupbups 80e8183975 Begin 19w34a mappings (#828)
* Begin 19w34a mappings

* more stuff

* More stuff

* stuff

* stuff again

* Update EntityRenderer.mapping

* x

* Finish mapping and modify BeeEntity, name string damagesource, map bee model

* Fix typo in class_1282 method 21748

* Update BeeEntity.mapping

* Update BeeHiveBlockEntity.mapping

* more stuff
2019-08-25 15:18:10 +00:00
João 82ebc4eecd ArmorStandEntityModel + CrepperEntityModel + some related mappings (#824)
* Set limbs and scale mappings

* Add mappings to ArmorStandEntityModel and some associated
2019-08-22 21:26:26 +01:00
qouteall fb586361ab _ (#811) 2019-08-22 21:26:00 +01:00
­Sollace 7166083ec4 LivingEntity mappings (#802)
* field_6276 -> lastDamageSource
field_6226 -> lastDamageTime

* getHealthMaximum -> getMaximumHealth

* method_6124 -> getPrimeAdversary

* addPotionEffect -> addStatusEffect

* method_6009 -> onStatusEffectUpgraded
method_6020 -> onStatusEffectApplied

* clearPotionEffects -> clearStatusEffects

* method_6024 -> getLeaningPitch
field_6243 -> leaningPitch
field_6264 -> lastLeaningPitch

* Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position)

* method_18802 -> getMovementSpeed
field_6281 -> flyingSpeed

* method_18801 -> applyClimbingSpeed

* method_6093 -> knockDownwards

* cannotMove -> isImmobile

* method_18396 -> getArmorVisibility

* isEquippedStackValid -> hasStackEquipped

* setEquippedStack -> equipStack

* attributeContainer -> attributes

* method_6039 -> isBlocking
method_6061 -> canPierceDefense

* method_6040 -> consumeItem

* method_6076 -> tickActiveItemStack

* method_6072 -> updateLeaningPitch

* method_6077 -> canEnterTrapdoor

* method_16212 -> getBlockStateUnderFeet (suggestions welcome)

* method_6095 -> absorbDamage

* field_6271 -> knockbackVelocity (or painFactor)

* field_6239 -> roll

* field_6228 -> jumpingCooldown

* field_6254 -> maxHurtTime

* method_6129 -> onStatusEffectRemoved

* field_6285 -> effectsChanged

* spawnPotionParticles -> tickStatusEffects

* method_6031 -> turnHead (as hinted by Mojang)
field_6283 -> bodyYaw
field_6220 -> prevBodyYaw

* field_6255 -> lookDirection (result of turnHead)

* method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart)

* field_6267 -> diagonalSpeed

* field_6261 -> pushCooldown
method_6035 -> push (As hinted by Mojang)
tickPushing -> tickCramming (applies the cramming rule)

* field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion)

* field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before)

* field_6275 -> prevLookDirection

* field_6269 -> defaultMaximumHealth (public, final, value is 20)

* (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding)
field_6233 -> stepBobbingAmount
field_6217 -> prevStepBobbingAmount

* (unused - set to a random float when constructing)
field_6244 -> randomLargeSeed
field_6262 -> randomSmallSeed

* Stitch did this. I don't know why.

* StatusEffect.method_5555 -> onApplied

* canPierceDefense -> tryUseShield

* absorbDamage -> tryUseTotem

* getBlockStateUnderFeet -> getBlockState

* diagonalSpeed -> turningSpeed

* Mapped several parameters

* removeStatusEffect -> tryRemoveStatusEffect
removePotionEffect -> removeStatusEffect

* isPotionEffective -> canHaveStatusEffect

* More parameters

* tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
2019-08-22 21:25:19 +01:00
modmuss50 5695254f64 19w34a 2019-08-22 14:39:40 +01:00
Daniel She bf0c48ee7e CraftResponseS2CPacket -> CraftFailedResponseS2CPacket (#814) 2019-08-19 17:26:42 +01:00
Shnupbups 4243e9813b Mapped lots of random things (#794)
* Stuff

* more stuff

* even more stuff

* removed an accidental thing

* stuff 4: electric boogaloo

* Update BlockState.mapping

* Stuff VI: The Search for Stuff V

* Update NativeImage.mapping

* removed things already mapped by Rune's PR

Namely `net/minecraft/realms/YesNoScreen' (`com/mojang/realmsclient/gui/screens/RealmsConfirmScreen` in Rune's PR), `net/minecraft/realms/RealmsError' (`com/mojang/realmsclient/client/RealmsError` in Rune's PR), and `net/minecraft/realms/InvalidClientScreen' (`com/mojang/realmsclient/gui/screens/RealmsClientOutdatedScreen` in Rune's PR).

* Stuff: The Final Stuffening

* Stuff: Revengeance

* Stuff Episode IX: Endgame
2019-07-31 15:20:12 +01:00
Adrian Siekierka c82d08c359 1.14.4-pre7 2019-07-18 20:23:35 +02:00
­Sollace 1ef02b7539 UntrackMemoryUtil -> Untracker (#777)
Co-Authored-By: Chloe Dawn <InsomniaKitten@users.noreply.github.com>
2019-07-16 20:27:41 +02:00
­Sollace f54c0ed8ef Mapped NativeImage (#772) 2019-07-16 20:27:01 +02:00
­Sollace b9bc85df67 Mapped Quarternion (#776) 2019-07-16 20:18:09 +02:00
modmuss50 69808e7f6c 1.14.4-pre4 2019-07-10 14:32:43 +01:00
liach 08dc88d859 Mapped some non-realms stuff (#782) 2019-07-10 08:52:57 +02:00
­Sollace 685cdf51e1 Fix #789 (#790) 2019-07-08 21:15:28 +02:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Chloe Dawn c426dbbce9 Remap ContainerScreenRegistry as Screens (#779) 2019-07-03 21:29:22 +02:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00
Adrian Siekierka 4be1c27c10 merge missing 1.14.3-pre2 mappings; update Enigma to fix save NPE 2019-06-29 00:43:29 +02:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
modmuss50 3401fb4f27 Merge branch 'pull/766' into 1.14.3
# Conflicts:
#	mappings/net/minecraft/client/gui/screen/GameMenuScreen.mapping
2019-06-28 22:16:11 +01:00
quaternary e3f8c1660e Fix three easy issues (#762)
* WORLD_INFO -> DEMO_LEVEL_INFO (fix #761)

* MinecraftServer#isServerThreadAlive -> isServerThreadDead (fix #760)

* PauseScreen -> GameMenuScreen (fix #704)
2019-06-28 22:12:32 +02:00
Unknown 8c37c3e68f Hud and Screen related changes 2019-06-27 19:48:47 +08:00
modmuss50 b6ed693b8d 1.14.3-pre4 2019-06-19 20:24:08 +01:00
modmuss50 b27778997a 1.14.3-pre3 2019-06-19 18:48:53 +01:00
Sollace 4f02e797fc Mapped SkullEntityModel (#726) 2019-06-14 12:02:38 +02:00
Adrian Siekierka ccab95ddef take care of a newer version of #730 2019-06-14 11:58:37 +02:00
Adrian Siekierka 3fae250684 take care of #730 2019-06-14 11:57:55 +02:00
Griff T d14a4d7b67 Add message history related mappings. (#744) 2019-06-14 11:42:38 +02:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Chloe Dawn 510f8cbc08 Text refactoring + related mappings (#737)
* 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
2019-06-07 12:18:04 +01:00
­Sollace 5aab5d0029 Mapped the remaining fields in Camera (#735) 2019-06-07 13:15:03 +02:00
NeunEinser 4419bb5811 Some new 1.14.3 mappings (#731) 2019-06-06 21:37:03 +02:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
Daniel She 5c733115e7 RecipeBookScreen -> RecipeBookWidget (#721) 2019-06-03 18:07:14 +02:00
Daniel She 47a4f0b338 Few gui & containers changes (#722)
- Mostly mapping gui & containers parameters
- RecipeBookButtonWidget -> TexturedButtonWidget
2019-06-03 18:06:58 +02:00
Yanis48 86b6ca3940 Class renamings, mainly entity-related (#720)
* renamings

* tnt minecart entity
2019-06-02 20:35:57 +01:00
Adrian Siekierka 1f9f42e6dd 1.14.2 Pre-Release 3 2019-05-22 16:06:46 +02:00
Nick Ignoffo fb1fab1a73 getMultipartMdoel -> getMultipartModel (#710)
Pretty uh... self explanatory.
2019-05-19 08:18:19 +01:00
Yanis48 3abd72da61 Various entity renderer & model mappings (#707) 2019-05-18 13:23:23 +02:00
modmuss50 b60e6e7e6c 1.14.2 Pre-Release 1 2019-05-16 17:28:41 +01:00
howtonotwin ea55a3db01 Name some stuff in and around BoatEntity (#702) 2019-05-16 17:25:06 +01:00
NeunEinser bc359aa1ac fix visibility issues (#703) 2019-05-16 18:20:12 +02:00
Yanis48 1a20d52909 Particle pos arguments (#701)
* particle pos arguments

* Update LightType.mapping
2019-05-16 18:19:59 +02:00
Daniel She 281dcb15b9 Container + Screen Widgets (#694) 2019-05-12 10:26:20 +02:00
Chloe Dawn 874380340d Cleanup Identifier mappings (#692)
* Identifier

* Fix param name
2019-05-11 20:05:12 +01:00
liach 8f058161f4 Add some obf classes and fix my snake case thing (#685)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-05-07 23:48:24 +02:00
NeunEinser 86634d3461 some new 1.14.1-pre1 stuff (#686) 2019-05-07 23:48:07 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
liach 000b032f15 Map resources (pack, reload) stuff (#674)
* 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>
2019-05-07 16:56:34 +01:00
Runemoro 892d4afb41 FIx issues (#680)
* FIx misnamed things

* Game options and mysterious setblockstate boolean

* a

* Remove duplicate class, remove enum constant from Unit
2019-05-07 15:21:22 +01:00
NeunEinser e375b99270 Entity mappings (#657)
* 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
2019-05-07 12:19:00 +01:00
NeunEinser 802650ea21 Removed enum constants were auto mapping works, added them where it does not. (#663) 2019-05-06 17:57:44 +01:00
Chocohead 61d6105249 Fix some strange settings names (#681)
* Fix some strange setting names

* Name unused parameter
2019-05-06 17:56:46 +01:00
Runemoro 99548e84ad Chunk rendering mappings (#677)
* Chunk rendering mappings

* Update WorldRenderer.mapping

* Fix

* Update WorldRenderer.mapping
2019-05-06 17:56:16 +01:00
Chloe Dawn 412a4678f0 Refactor color classes (#664) 2019-05-05 23:24:22 +01:00
Adrian Siekierka 465a1e3701
entity renderer naming consistency fixes (#653) 2019-04-29 08:54:17 +02:00
Adrian Siekierka 824ba100e6 1.14 2019-04-23 18:41:46 +02:00
Runemoro ca0680d8ca Item mappings (#641)
* Item mappings

* shouldCheckIfStateAllowsPlacement

* canBeLit
2019-04-23 14:47:50 +01:00
Chocohead 02018a01a8 Map Screeny Parameters (#643)
* 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
2019-04-22 13:29:29 +01:00
Chocohead 7e6b45d68f ItemListWidget => EntryListWidget (#644) 2019-04-22 13:29:05 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
Runemoro 213a3102b2 Server mappings (#639) 2019-04-18 21:56:09 +01:00
NeunEinser b948925b87 A few new pre-4 mappings (#633)
* A few new pre-4 mappings

* typo

* Update and rename ItemOminousBannerTranslataionKeyRenameFix.mapping to ItemOminousBannerTranslationKeyRenameFix.mapping

* Improvements + some parameter names for CartographyTableContainer
2019-04-18 21:51:33 +01:00
NeunEinser c23285eae4 Improvements for own previously provided mappings (#635)
* Improved own mappings

* minor

* typo
2019-04-18 20:38:22 +01:00
modmuss50 84d0ae402b Remove conflicting method name 2019-04-17 17:45:59 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
Runemoro 4aa3c17b17 A few mappings (#631)
* 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
2019-04-17 17:23:22 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
Runemoro 4b82d7412a Misc mappings (#621) 2019-04-16 16:16:45 +02:00
Runemoro d59d0ed42f Client mappings (#620) 2019-04-16 16:13:47 +02:00
NeunEinser 3f84c64cd5 Menu mappings (#611) 2019-04-16 16:13:34 +02:00
Runemoro 4365e0f69a Fix #615 (#616) 2019-04-16 16:12:45 +02:00
Siphalor 97ff26cc49 Added some Villager model mappings (#614) 2019-04-14 13:04:29 +02:00
Yanis48 79f37a5b7c Some 1.14-pre2 and options mappings (#610)
* 1.14 Pre-Release 2 mappings

* random field not mapped

* things
2019-04-14 13:03:02 +02:00
modmuss50 2fd19127ea 1.14 Pre-Release 2 2019-04-12 15:38:24 +01:00
modmuss50 dcf1bdca01 Merge branch 'pull/607' into 1.14_Pre-Release_1
# Conflicts:
#	mappings/net/minecraft/world/loot/function/SetNbtLootFunction.mapping
2019-04-12 15:20:28 +01:00
liach a4de6322db Map some poi and village stuff (#604)
* 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>
2019-04-12 15:16:50 +01:00
SquidDev 6216cbc25c Map a collection of random methods (#608) 2019-04-12 15:16:19 +01:00
Runemoro ffdab84e79 Client mappings (#609)
* Client mappings

* Update BlockLeakParticle.mapping

* Update NativeImage.mapping
2019-04-12 15:15:55 +01:00
NeunEinser 07603ac46e CheckboxWidget and other gui related mappings (#605)
* CheckBoxWidget and other gui related stuff

* CheckBox -> Checkbox
2019-04-12 15:15:16 +01:00
modmuss50 ec9b3d8e63 Actually Un-map a bunch of realms classes 2019-04-11 19:25:21 +01:00
modmuss50 5e2176bee3 Un-map a bunch of realms classes that were renamed and fix a mapping conflict 2019-04-11 19:14:54 +01:00
Runemoro 7bedd4cd9f Map all commands and argument types 2019-04-11 01:58:54 -04:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
Runemoro 6bb2ca352f Entity mappings (#595)
* Entity mappings

* More mappings

* A few more names

* More entity mappings

* Update CompositeTask.mapping
2019-04-10 15:34:04 +01:00
liach 94b94160ea Some mappings for 19w14b (#592)
* 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>
2019-04-10 12:36:55 +01:00
Pyrofab 01ff1e61da Mapped frustrums and some method arguments (#601)
* Map frustrums and some method arguments

* Normalize matrix names
2019-04-10 12:35:21 +01:00
Runemoro 5048461b98 Map remaining 19w14b classes (#593) 2019-04-07 09:05:39 +02:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
modmuss50 6bc3deea2f Merge branch 'pull/590' into 19w14a
# Conflicts:
#	mappings/net/minecraft/entity/Entity.mapping
#	mappings/net/minecraft/entity/mob/SlimeEntity.mapping
#	mappings/net/minecraft/entity/passive/AbstractTraderEntity.mapping
#	mappings/net/minecraft/entity/passive/VillagerEntity.mapping
2019-04-05 16:59:48 +01:00
liach e2c9a5c337 A few mappings around villagers (#587)
* A few mappings around villagers

Signed-off-by: liach <liach@users.noreply.github.com>

* Update VillagerEntity.mapping

did enigma broke
2019-04-05 16:56:48 +01:00
Runemoro fca78f74f4 More mappings 2019-04-04 18:04:19 -04:00
Runemoro 8fb75cc949 Entity mappings 2019-04-04 16:04:27 -04:00
Runemoro 8a4c8e5043 Remove incorrect mapping (#585)
4ebfe3c891 (r33023399)
2019-04-03 23:04:36 +02:00
modmuss50 845be1d2ec 19w14a 2019-04-03 17:16:41 +01:00
modmuss50 90190d1843 Merge branch 'pull/580' into 19w13b
# Conflicts:
#	mappings/net/minecraft/world/EntityView.mapping
2019-04-03 16:46:13 +01:00
modmuss50 087ce6de98 Merge branch 'pull/579' into 19w13b
# Conflicts:
#	mappings/net/minecraft/entity/ai/goal/TemptGoal.mapping
#	mappings/net/minecraft/world/EntityView.mapping
2019-04-03 16:45:44 +01:00
Runemoro 4ebfe3c891 Rendering mappings 2019-03-31 20:45:27 -04:00
modmuss50 f6fbfeffd8 Merge branch 'pull/576' into 19w13b
# Conflicts:
#	mappings/net/minecraft/server/command/ParticleCommand.mapping
2019-03-31 15:23:26 +01:00
thecodewarrior 37f54592dc Add more GL and GUI mappings (#578)
* Add more GL and GUI mappings

* Make playPageTurnSound more concise
2019-03-31 15:11:22 +01:00
gegy1000 b8e424d707 Cat and Ocelot mapping 2019-03-31 16:06:27 +02:00
Runemoro 042f6f5827 More mappings 2019-03-31 06:34:59 -04:00
Runemoro 60c49258cc More mappings + fixes 2019-03-31 06:13:09 -04:00
Runemoro 8af4d24f8c Fix worldgen names 2019-03-30 06:27:01 -04:00
modmuss50 0580b466fb 19w13b 2019-03-29 16:19:26 +00:00
Runemoro 4673cec044 A few util mappings (#570)
* A few util mappings

* Update BoundingBox.mapping

* More util mappings

* Undo chunkpos move

* Update BoundingBox.mapping

* Update NumberRange.mapping
2019-03-29 16:09:11 +00:00
liach b418a046f0 Some stuff about trading and villages (#563)
* 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>
2019-03-29 00:37:29 +00:00
Prospector da548924e0 Some Screen and Options mappings (Primarily, ListWidget) (#564)
* Some Screen and Options mappings

* bit more

* Fix naming

* Unmap mojang names and fix the confusing parent classes/interface names

* InteractionElement -> Element
2019-03-28 23:17:45 +00:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
Runemoro c67d269dfd Entity mappings (#554)
* Entity mappings

* Update ZombiePigmanEntity.mapping

* Improvements

* Update ProjectileUtil.mapping

* More names
2019-03-27 17:54:42 +00:00
Sargun Vohra 7035f1c83c Some toast stuff (#560) 2019-03-27 17:41:04 +02:00
Modmuss50 87721e90d5
Unmap mojang named methods and fields (#553)
* Unmap mojang named methods.

* remove some more names.

* Changer container width/height to not clash with screen names.
2019-03-25 16:19:24 +00:00
Runemoro 14091b0f53 Map remaining classes (#549) 2019-03-23 20:30:43 +00:00
modmuss50 6d38740b83 19w12b 2019-03-21 18:06:36 +00:00
Runemoro 1d060729ff 19w12a mappings (#541)
* 19w12a mappings

* More mappings

* Overlay

* Debug renderers

* Tasks

* Map remaining tasks

* Goals

* 3 more classes

* fix

* Fix package
2019-03-21 17:27:13 +00:00
NinjaPhenix a9b520515c Changed AbstractButtonWidget to use mojang names (#542)
* 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
2019-03-20 22:03:39 +00:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Gegy f1e3439325 Updated Villager Mapping (#527)
* Merge with upstream

* Add back dropped mapping

* Further villager mapping
2019-03-20 17:45:35 +00:00
Gegy 0e61cb17bd Dispenser behaviors and chunk occlusion graph (#540) 2019-03-20 17:44:44 +00:00
modmuss50 ff84b02ba0 Merge branch 'pull/531' into 19w11b
# Conflicts:
#	mappings/net/minecraft/client/gui/menu/ErrorScreen.mapping
#	mappings/net/minecraft/client/options/GameOption.mapping
2019-03-19 20:11:37 +00:00
Pyrofab 0cfcb7800c Finish mapping entity attributes (#538) 2019-03-19 20:07:55 +00:00
Yanis48 9ae17580ac Various mappings, mainly entity (#524)
* Various mappings, mainly entity

* wrong tabulation

* added smooth lighting render class

* resolved conflicts

* oupsi

* '-'
2019-03-19 15:38:15 +00:00
Runemoro fa91aa70fa AI mappings (#533)
* AI mappings

* Map remaining tasks

* Goal mappings

* More goals

* Suggestions

* getOutputMemoryModules
2019-03-19 17:37:06 +02:00
Raph Hennessy fe983fcbe6 Started mapping new Camera class (#526)
* Started mapping new Camera class

* generic names for blockPos and setPos overload

* Map the Camera instance

* fixes from gegy's review

* more of those ^
2019-03-19 08:13:52 +02:00
Runemoro 936397a574 Client class mappings (#534)
* Client class mappings

* A few more classes

* 3 more

* A few more classes

* a

* Suggestions

* ErrorScreen
2019-03-18 19:53:22 +00:00
Unknown f0e32b9963 Map more gui 2019-03-16 21:29:27 +08:00
Daniel She 2db429f30e Gui Mappings again for 19w11a (#522) 2019-03-15 00:21:29 +00:00
modmuss50 a7eee8f064 Fix inner class names 2019-03-14 19:41:19 +00:00
modmuss50 eef3d973f2 Save in enigma, removes some propagated method names 2019-03-14 16:26:35 +00:00
modmuss50 e3d24ae102 19w11b 2019-03-14 15:39:51 +00:00
Adrian Siekierka 333e59da73 19w11a 2019-03-14 13:57:09 +01:00
Erlend Åmdal 1bef14f8ad Polygon -> Quad (#519) 2019-03-13 11:46:27 +01:00
Chocohead 844a1fbb3b Fix TextFieldWidget constructor parameters (#520)
When ID was removed the parameters weren't shifted down to account for it
Also does `fontRenderer` => `textRenderer` to account for the class rename
2019-03-13 11:46:00 +01:00
Erlend Åmdal de55b628c2 Container drag slots (#517) 2019-03-12 11:16:50 +00:00
Erlend Åmdal 56280bd00a vertexes -> vertexCount (#518) 2019-03-10 21:37:07 +01:00
Raph Hennessy 85bfe2b5b4 Mapped CameraHelper, Shaped/Shapeless Serializers and other small methods (#512) 2019-03-08 02:01:59 +01:00
HoLLy a4ec05171d (Nearly) complete MainMenuScreen and Container mappings (#513) 2019-03-05 14:54:45 +01:00
asie 4b91cfbcf5 19w09a 2019-02-27 19:17:22 +01:00
gegy1000 9c2a779f00 (#507) Arbitrary Mapping 2019-02-27 19:09:49 +01:00
Adrian Siekierka 436cf33f9f
improve resource mappings (#508) 2019-02-27 19:06:10 +01:00
Siphalor b19232160e Screen naming (#505) 2019-02-26 09:40:28 +01:00
asie a64d5e220f fix ButtonWidget 2019-02-21 19:37:50 +01:00
Adrian Siekierka c25fcbb177 19w08b 2019-02-21 19:19:18 +01:00
asie b8455e0dc2 mapping tweaks, close #494 2019-02-21 19:15:03 +01:00
Blake Redenius d2fc51f986 Misc GameOptions mappings. (#495) 2019-02-21 19:14:24 +01:00
Ryan Liptak c869757d91 Movement and input related mappings (#492)
- 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
2019-02-21 19:02:24 +01:00
Adrian Siekierka d1435774dc fix mappings 2019-02-20 22:01:25 +01:00
Adrian Siekierka 66156a5471 update to 19w08a 2019-02-20 21:49:23 +01:00
modmuss50 14456fa52c Merge branch 'pull/487' into 19w07a 2019-02-20 15:49:17 +00:00
modmuss50 a3c10fa185 Fix 2 names 2019-02-20 15:49:01 +00:00
Kitten eceb27c13a TooltipOptions$Instance -> TooltipContext$Default (#486) 2019-02-20 14:53:49 +00:00
quat 47af0fc37e Some things, mainly relating to InGameHud 2019-02-20 02:38:08 -05:00
Adrian Siekierka 691403b74e
SliderWidget, some model stuff, BrewingRecipeRegistry (#479) 2019-02-19 17:21:14 +01:00
Adrian Siekierka 93e1c4a918
GUI mappings, take two (#469) 2019-02-18 22:02:56 +01:00
Adrian Siekierka 7c106f6eec clean up Knit bugs, unmap some enums, map a few names along the way - close #461 (#472) 2019-02-17 19:12:23 +00:00
Runemoro b09e907146 Class mappings (#460) 2019-02-16 22:01:42 +01:00
liach 9ce0143a77 Map all fields, methods, and inner classes of fox entity (#459) 2019-02-16 21:50:35 +01:00
Adrian Siekierka 5fa5a01590
map login packets (#463) 2019-02-16 21:50:10 +01:00
Runemoro 403c3308d9 A few client mappings (#466) 2019-02-16 21:49:37 +01:00
geni d60e6bf66d fix typo (#471) 2019-02-16 16:46:48 +01:00
asie 30d01c3b66 restore lost mappings (thanks @Ansraer) 2019-02-15 21:37:14 +01:00
asie 723f432182 map LWJGL3 paulscode hook 2019-02-15 12:33:27 +01:00
Adrian Siekierka 2febf7b2b8 missed one 2019-02-14 21:02:48 +01:00
Adrian Siekierka 4f390a9306
map 19w07a resource reloading (#462) 2019-02-14 20:54:51 +01:00
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
modmuss50 f374817c56 Merge branch 'pull/454' into 19w06a
# Conflicts:
#	mappings/net/minecraft/client/render/WorldRenderer.mapping
#	mappings/net/minecraft/server/world/ServerWorld.mapping
2019-02-13 17:31:31 +00:00
Runemoro 0eb1c00edd
handleInputEvents 2019-02-13 00:52:54 -05:00
Adrian Siekierka 6d8d358514
Client/Server -> S2C/C2S (#458) 2019-02-13 02:13:12 +01:00
Ansraer 5b32f374b8 Mappings for NewLevelScreen, SplashScreen and the Bonus Chest. (#457)
* Some NewLevelScreen mappings

Added some more mappings to the NewLevelScreen

* Bonus Chest Generation Mapping

* SplashScreen related stuff

* Fixed Typo
2019-02-12 01:24:04 +00:00
Runemoro 8d1ad0f562 A few more mappings 2019-02-10 20:01:01 -05:00
Runemoro 7bb1bdef41 Fix duplicates 2019-02-10 17:56:07 -05:00
Runemoro ac35e0d4ce Merge remote-tracking branch 'upstream/19w06a' into x 2019-02-10 17:45:35 -05:00
Blake Redenius 901311e1e5 Mapping for SynchronousResourceReloadListener#a -> reloadResources. Also fix up some LootTables names, and a few other misc mappings. (#455) 2019-02-10 23:43:24 +01:00
Runemoro 5dbc9015b9 A few more mappings 2019-02-10 03:26:07 -05:00
Runemoro cb61641543 World mappings 2019-02-10 02:49:48 -05:00
grondag ee69e55c98 normalize -> reciprocal (#452) 2019-02-10 01:49:22 +01:00
Adrian Siekierka 88671d22d7 map basic resource stuff 2019-02-06 21:33:19 +01:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00