Commit Graph

1647 Commits

Author SHA1 Message Date
Yanis48 c72ab7649e
Some fixes (#1481)
* Some fixes

* FeaturePiece -> StructurePiece
2020-06-20 19:51:40 +01:00
haykam821 2b8c225dab
Swap the names of the bubble and bubble column up particle classes (#1488)
Fixes #1487
2020-06-20 19:51:07 +01:00
haykam821 267881a861
Fix FluidState#matches not being consistent with Fluid#isIn (#1489)
Fixes #1486
2020-06-20 19:50:51 +01:00
­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
i509VCB 476b5d351e
ServerCommandOutput -> RconCommandOutput and a bunch of assorted parameter names (#1475) 2020-06-18 20:16:49 +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 49647af575 1.16-rc1 2020-06-18 15:07:42 +01:00
liach 10bde51fc1
Map the new advancement trigger (#1476)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-17 21:59:33 +01:00
modmuss50 a4305ccae9 1.16-pre8 2020-06-17 17:11:43 +01:00
modmuss50 793360c20c 1.16-pre7 2020-06-16 17:09:51 +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
liach 111e319cee
Fix a typo, thanks haykam (#1477)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-16 12:42:49 +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
Kroppeb 08a433410f
Added some mappings in DynamicSerializableUuid (#1446)
Codec is gonna come in a separate pr
2020-06-14 19:23:42 +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
Prospector 33d9d86db1
:mojank: (#1458) 2020-06-11 11:36:20 +01:00
Yanis48 f4848b6cd5
pre3 DimensionType (#1456)
* pre3 DimensionType

* more things

* renamed registry at the same time
2020-06-11 11:35:56 +01:00
i509VCB e2526d88ae
Document drawBox methods (#1455) 2020-06-11 11:35:50 +01:00
i509VCB dda26b5e1d
Document TradeOffers.Factory and some params (#1454)
* Document TradeOffers.Factory and some params

* Update mappings/net/minecraft/village/TradeOffers.mapping

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

* Update mappings/net/minecraft/village/TradeOffers.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-11 11:35:36 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
Alexander 270fbee245
Mapped EntityS2CPacket (#1450) 2020-06-09 12:25:04 +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
Kroppeb b506248928
TreeDecorator.getType() (#1445) 2020-06-08 18:24:47 +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
liach 3d714f9c90
Four unmapped top level classes (#1441)
* Four unmapped top level classes

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

* k

* Maybe earthcomputer suggestion

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

* mess

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-08 13:22:40 +01:00
Joseph Burton c34a0949a3
A few soul speed mappings (#1439) 2020-06-08 13:20:53 +01:00
Kroppeb 69ef175022
Added names for fields based on strings in class_5315 (#1385)
* Added names for fields based on strings in class_5315

Seems to store level metadata?

* Gave a name, and some renames

* moved package
2020-06-07 23:00:42 +01:00
liach caab34e999
Loot and JSON stuff (#1437)
loot json stuff's factory -> serializer

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-07 22:57:17 +01:00
TheBrokenRail 1d5774f978
Add Structure Spacing Mappings (#1435)
* Add Structure Mappings

* Add more Mappings

* Add Even More Mappings

* Remove Duplicate Mappings
2020-06-07 22:40:20 +01:00
modmuss50 098cbb1f3c
Some pre 2 mappings (#1422)
* Some mappings

* Rename
2020-06-07 17:29:37 +01:00
Kroppeb de4314e606
Added a bunch of mappings based of strings related to the custom dime… (#1384)
* Added a bunch of mappings based of strings related to the custom dimensions.

* Added liach's suggestions

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

* Apply suggestions from code review

I had to redo these 3 times, went a bit too fast the last time =/

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

* Update mappings/net/minecraft/world/dimension/StructuresConfig.mapping

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

* Moved package

* Removed old mapping files

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-07 17:29:30 +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
liach 8619da580f
A bit entity brain/anger stuff (#1430)
* A bit entity brain/anger stuff

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

* Fix bad name

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-07 15:33:41 +01:00
liach 4edabede94
Explosions (#1429)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-07 15:33:15 +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
i509VCB 779b1dc2f5
GameRules docs. (#1381)
* GameRules docs.

* Be a little less redudant

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

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

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

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

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

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

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

Co-authored-by: Chloe Dawn <chloe@sapphic.dev>

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

Co-authored-by: Chloe Dawn <chloe@sapphic.dev>

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

Co-authored-by: Chloe Dawn <chloe@sapphic.dev>

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

Co-authored-by: Chloe Dawn <chloe@sapphic.dev>

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

Co-authored-by: Chloe Dawn <chloe@sapphic.dev>

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

Co-authored-by: Chloe Dawn <chloe@sapphic.dev>

* Github is not good at conflicts with suggestions.

* Spacing game rule

* Remove unneeded entries

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

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>

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

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>

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

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>

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

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>

* Manually add some suggestions

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: Chloe Dawn <chloe@sapphic.dev>
Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-06-07 15:21:56 +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
Kroppeb ffd49220ab
Added mappings for new fields in DefaultBiomeFeatures (#1432)
* Added mappings for new fields in DefaultBiomeFeatures

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

Fixed typo

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-06-07 15:21:05 +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
liach 10be6db16a
Registry codec stuff, and that thing is registry not dimension tracker (#1425)
* Registry codec stuff, and that thing is registry not dimension tracker

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

* Paragraph

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

* Update mappings/net/minecraft/util/dynamic/RegistryReadingOps.mapping

Co-authored-by: i509VCB <i509vcb@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
2020-06-05 20:11:11 +01:00
i509VCB baf212f894
Document chunk tickets (#1408)
* Document chunk tickets

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

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

* Revert rename here

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-05 11:37:02 +01:00
i509VCB 8af4a75889
Some small command manager things (#1421)
* Some small command manager things

* RegistrationRule -> RegistrationEnvironment
2020-06-05 11:36:52 +01:00
i509VCB 2fb0e8e8e5
Some small mappings (#1424)
* Some small mappings

* Liach's is a bit better imo

* Update mappings/net/minecraft/resource/ServerResourceManager.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-06-05 11:36:38 +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 3e57ee1372
Structure and feature stuff (#1415) 2020-06-04 16:50:13 +01:00
modmuss50 e1c2ee273f
A handful of random mappings (#1417)
* A handful of random mappings

* follow the conventions lol

* Review tweaks

* and this
2020-06-04 16:49:10 +01:00
i509VCB 1d2c617b87
World related mappings and docs (#1407)
* World related mappings.

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-06-01 22:36:30 +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
Deximus-Maximus 6d8141822d
Couple of AbstractBlockState Mappings (#1410)
* AbstractBlock method_29291 -> doesRequireTool
field_25184 -> requiresTool

* method_29292 -> requiresTool
field_25185 -> requiresTool

* doesRequrieTool -> toolRequired

* field's requiresTool -> toolRequired

* toolRequired -> isToolRequired

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

* requiresTool -> toolRequired

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-01 22:36:01 +01:00
haykam821 e5a34b3d29
Map new respawn anchor methods (#1411)
* Map new respawn anchor methods

* Change isNotFullyCharged to canCharge

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-01 22:32:04 +01:00
Joseph Burton 990203f196
Map ZOMBIE_TYPE (#1414)
* Map ZOMBIE_TYPE

* Clarify that we mean "type of entity"
2020-06-01 22:19:44 +01:00
haykam821 7112703c90
Map more 1.16 additions to default biome features (#1405)
* Map the remaining Nether feature configs

* Map the configured ruined portal features

* Move DefaultBiomeFeatures to world.gen.feature package
2020-05-31 18:21:24 +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
Yanis48 2a0a9d4beb
New loot registries (#1404) 2020-05-30 19:32:22 +01:00
i509VCB 1bf926e65c
Shorten inner class names on GameRules (#1400)
* Shorten inner class names on GameRules

* Actually rename everything lol
2020-05-30 19:31:38 +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
Joseph Burton 3eb1bca898
DimensionType.createTracker -> addDefaults (#1398) 2020-05-28 13:34:12 +01:00
Joseph Burton ae1ac53ca8
Update CompoundTag.mapping (#1395)
* Update CompoundTag.mapping

* Remove new suffix
2020-05-27 21:05:45 +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
TheBrokenRail fa4f735b49
Add Structure Mappings (#1393) 2020-05-25 11:46:53 +01:00
liach 35f45ac7ae
Spawn locating mappings (#1386)
SpawnLocating and ServerPlayerEntity must be in same package

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-22 12:43:25 +01:00
liach b274a2e932
20w21a brain (#1387)
* 20w21a brain

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

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-22 12:40:53 +01:00
haykam821 1f53bd3df4
Improve and add mappings related to soul speed (#1391)
* Change the applyFrostWalker method to applyMovementEffects

* Map soul speed-related methods

* Fix duplicate intermediary mapping for method_25937
2020-05-22 12:39:23 +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
haykam821 ded5c7e457
Standardize attribute modifier mappings (#1390)
* Standardize the suffix of attribute modifier ID fields

* Remove prefix from attribute modifier fields

* Make soul speed boost attribute modifier ID field consistent

* Make baby piglin speed boost fields consistent
2020-05-22 12:38:04 +01:00
i509VCB 5cb31165d3
BasicInventory -> SimpleInventory (#1364) 2020-05-21 12:35:58 +01:00
Kroppeb 4c6a867e69
Named the Codecs where possible (#1388)
Only in files where there is a single static Codec.
Also named 2 (I think) loggers to "LOGGER". should have kept the seperate maybe bu /shrug
2020-05-21 12:35:32 +01:00
liach ef47f9949b
Registry key refactors + doc (#1383)
* Registry key refactors + doc

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

* Update docs per suggestion

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-21 12:34:12 +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
Yanis48 ccc0a44671
Map most of DimensionType (#1378) 2020-05-20 21:29:52 +01:00
haykam821 f024d7216f
Improve state mappings for 20w21a (#1380)
* Move mappings from removed AbstractState class to State

* Map redstone wire dot shape toggle functionality

* Map unused vine_end boolean blockstate
2020-05-20 21:29:32 +01:00
haykam821 c22c154642
Map disable multiplayer and chat command line options (#1376) 2020-05-20 21:05:13 +01:00
Joseph Burton 2ce4c9b9aa
Registry mappings (#1379)
* Registry mappings

* Update mappings/net/minecraft/util/registry/Registry.mapping

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

* getOrCreateRegistryKey -> getOrCreateRootKey

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-20 21:04:40 +01:00
modmuss50 5e898bb84a Restore registry names, give the new fields a temp name for now as their names are auto generated but incorrect. 2020-05-20 17:39:01 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Juuxel eb287934d9
Give the NeFos and RUMO structure piece types actual names (#1370)
Their names are automapped, but they are based on the short IDs
which don't make any sense.
2020-05-20 00:51:28 +01:00
Juuxel d7ea90c9a9
Rename Box fields (#1368) 2020-05-20 00:50:53 +01:00
Juuxel 26b7b704db
Rename logger print streams to not use prefix naming (#1371) 2020-05-20 00:50:12 +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
Mikhail Oleynikov 9ae9f240a7
onBlockRemoved -> onStateReplaced (#1363)
* onBlockRemoved -> onStateReplaced

* onStateReplaced Javadoc

* parent -> super style change

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Tweak onStateReplaced Javadoc

* Update mappings/net/minecraft/block/AbstractBlock.mapping

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

* Update mappings/net/minecraft/block/AbstractBlock.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>
2020-05-19 01:44:24 +01:00
s-maurice 6d03f1f103
updated distance to spacing to make consistent with naming for other structures and in useages in StructureFeature classes, particularly AbstractTempleFeature (#1362) 2020-05-18 14:08:31 +01:00
Deximus-Maximus ca79a51a1a
Material Name Improvements (#1190)
* Begin refactor work:
Sand -> Aggregate
Underwater Plant -> Aquatic Plant
Bamboo Sapling -> Bamboo Shoot
Part -> Decoration
Packed Ice -> Dense Ice
Organic -> Fodder
Pumpkin -> Gourd
Clay -> Mob Derived
Anvil -> Repair Station
Seagrass -> Replaceable Aquatic Plant
Snow -> Snow Layer
Earth -> Topsoil

* Undo Sapling -> Shoot

* AQUATIC -> UNDERWATER to account for lily pad being under PLANT

* Add javadocs for material names

* Update javadoc based on comments

* Update JD based on feedback

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

* Update JD based on feedback

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

* Update JD based on feedback

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

* Update JD based on feedback

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

* Remove errant comment

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

* Add missing punctuation

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

* Fix errant JD

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

* Remove unneeded javadoc
Added previous name to javadoc

* Remove old names JD

* Remove missed old name

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

* Fix link format

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

* Implement feedback

* FODDER -> SOLID_ORGANIC

* update JD

* Fix JD typo

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

* SUB -> Partial
Update stone JD

* Fix outdated JD

* Fix JD link for ICE

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

* Add missing punctuation

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

* Explicitly state block in JD 1

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

* Explicitly state block in JD

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

* Add skulls to JD for PARTIAL_BLOCK

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

* Update JD names on NETHER_WOOD

Adds hyphae

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

* MOB_DERIVED -> ORGANIC_PRODUCT

* PARTIAL_BLOCK -> SUPPORTED

* TOPSOIL -> SOIL

* Simplify organic product JD

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-15 16:39:10 +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
Prospector c67050a4f4
Fix a slight error with the loot table generator mappings (#1357) 2020-05-15 16:35:35 +01:00
Joseph Burton b48dcfcbc9
Packet mappings (#1358) 2020-05-15 16:35:03 +01:00
SuperCoder79 bfbea641fc
map chunk generators and biome sources (#1352)
* map chunk generators and biome sources

* map more parameters and functions, and rename noise

* bikeshedding

* Apply suggestions from code review

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

* disambiguate depth noise

* Update mappings/net/minecraft/world/gen/chunk/FlatChunkGenerator.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-14 21:55:51 +01:00
Joseph Burton 21ff19a1b9
20w20b mappings (#1355) 2020-05-14 12:34:17 +01:00
modmuss50 ee7f594111 20w20b 2020-05-14 11:14:04 +01:00
i509VCB e1bce15cca
The WorldAccesses (#1350) 2020-05-14 10:30:25 +01:00
Mikhail Oleynikov 38158a35ec
JigsawOrientation mapping (#1354) 2020-05-14 10:29:12 +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
valoeghese f452d4fec2
Start on chunk generator docs (#1346)
* start on chunk generator docs

* fix typo

* linkplain

* update chunk generator jdoc.

* comma
2020-05-12 01:17:01 +01:00
Shnupbups 2cf6919014
stuff (#1334)
yep
2020-05-11 12:50:12 +01:00
Joseph Burton cb153d1679
Nether biome sampling mappings (#1347) 2020-05-11 12:45:15 +01:00
i509VCB f0b960559c
Some block methods and param names (#1335)
* Some block methods and param names

* Update mappings/net/minecraft/block/AbstractRailBlock.mapping

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

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

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-05-11 12:44:39 +01:00
i509VCB b93876d22a
Entity predicates javadoc (#1345)
* Entity predicates javadoc

* Grammar brainfart

* Update mappings/net/minecraft/predicate/entity/EntityPredicates.mapping

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

* VALID_LIVING_ENTITY

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-05-11 12:44:11 +01:00
Prospector d3323c23bf
Improve Loot Table mappings (#1338)
* Improve Loot Table mappings

* Fix a couple wrong names

* finish itemDropper -> lootConsumer

* AND -> NOR
2020-05-10 18:48:40 +01:00
Juuxel 5819592fda
TextRenderer.getStringWidth(Text) -> getWidth() (#1341) 2020-05-09 23:53:16 +01:00
Yanis48 077ab15730
Music & fixes (#1339)
* Music & fixes

* musicSound -> music
2020-05-09 17:00:24 +01:00
Juuxel 246edc42ab
Map FallibleItemDispenserBehavior.success accessors (#1340) 2020-05-09 16:59:52 +01:00
Yanis48 e72a65b900
Command stuff (#1330)
* Command stuff

* TeamsgCommand -> TeamMsgCommand
2020-05-07 22:21:09 +01:00
Joseph Burton 1f8c97ed9f
Goal selector related mappings (#1336)
* Goal selector related mappings

* Update mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-07 16:07:12 +01:00
liach 9b001525fa
EntityCategory -> SpawnGroup, SpawnType -> SpawnReason (#1327)
* EntityCategory -> SpawnGroup, SpawnType -> SpawnReason

Closes #1315

* Fix missed name

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-06 21:53:25 +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
Hephaestus-Dev 32d84d6276
Methods and field relating to player disconnecting (#1331)
* Update ServerPlayerEntity.mapping

* Update ServerPlayerEntity.mapping
2020-05-06 01:43:27 +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
liach 001998d876
Spawn mappings (#1316)
* Spawn mappings

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

* Updates some stuff per juuz suggestion

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:15 +01:00
liach 2e74ea5a2f
Advancement new stuff and refactor old bad names (#1310)
* Advancement new stuff and refactor old bad names

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

* loader/saver -> deserializer/serializer

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:08 +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
­Sollace 607197f5d9
Rcon (#1313)
* RconServer -> RconListener (Mojang name)

* Mapped some missing names and params in Rcon
2020-05-01 14:55:34 +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
i509VCB 07205b5cbc
Some javadoc and param names in mostly server related classes. (#1278)
* Some javadoc and param names in mostly server related classes.

* Update mappings/net/minecraft/client/gui/hud/InGameHud.mapping

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

* Update mappings/net/minecraft/server/rcon/RconBase.mapping

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

* Make javadoc a bit nicer

* fixes 2

* Update ArgumentTypes.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-30 12:19:49 +01:00
liach 2da805da6b
A few stuff around tags (#1311)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:37 +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
Kroppeb 1a923c8bca
Small rename in Advancement$Task. (#1308)
I saw it and it annoyed me =/.
2020-04-30 00:31:38 +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
Kroppeb 8bf2b067a9
Renamed `createBossBar` to the more apropriate `getBossBar` (#1304) 2020-04-28 22:58:47 +01:00
Kroppeb 09f2c49653
Fix method name in VoronoiBiomeAccessType (#1296)
* Fix method name in VoronoiBiomeAccessType

* Changed method name to match similar named functions
2020-04-27 20:33:24 +01:00
Yanis48 8a00a58f58
Attribute command & related stuff (#1295)
* Attribute command & related stuff

* missed parameters

* updated name
2020-04-26 22:16:16 +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
­Sollace 294117575e
20w15a Mapping Fixes 2: The Jumping The Shark Update (#1172)
* Fill in missing names, fix questionable ones

* ForgingScreen -> AbstractForgingScreen

* Revert background -> texture

* Revert background -> texture (2)

* AbstractForgingScreen -> ForgingScreen

* AbstractForgingScreen -> ForgingScreen
2020-04-23 13:37:17 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
liach 9e75adb26a
Map Structure PalettedBlockInfoList (#1290)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-19 00:00:25 +01:00
liach 56285a38b7
Map tag tracked entry (#1289)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 20:17:02 +01:00
liach 206a6e5b76
Pick up shnupbup's stuff (#1288)
* stuff

Removed duplicated mapping

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

Map a lot of detail missed by shnupbups

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

Few more interesting mappings

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

* view -> world

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

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

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

* Better document these 4 things

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

Co-authored-by: Shnupbups <shnupbups@gmail.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 20:16:55 +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 6455e15fcb
Map two inner classes (#1284)
* Map two inner classes

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

* Rename angle randomizer fields to have more informative names

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:08 +01:00
liach b13c848a9a
20w16a jmx (#1281)
* 20w16a jmx

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

* Rename bad stuff and add javadocs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-16 23:20:40 +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
­Sollace 67a8a36b13
Misc Strider mappings (#1273)
* Misc strider mappings

* Fix conflic (Mountable was already mapped as "Saddle-able")
2020-04-16 02:47:24 +01:00
modmuss50 863b0e905c 20w16a 2020-04-15 16:34:32 +01:00
Joseph Burton bff0236300
World modification fix (#1232)
* World modification fix

* isWorldModificationRestricted -> isBlockBreakingRestricted
2020-04-14 15:01:34 +01:00
Yanis48 4a8babd645
Some entity stuff (#1277)
* entity things

* message methods
2020-04-14 15:01:24 +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
Juuxel 5d0a3114ba
AbstractBlock.Settings.dropTableId -> lootTableId (#1276) 2020-04-09 18:38:37 +01:00
Prospector 53df6519d5
getDropTableID -> getLootTableId (#1274)
* getDropTableID -> getDropTableId

* Update AbstractBlock.mapping

* dropTableId -> lootTableId
2020-04-09 13:22:03 +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
Yanis48 19270ae02a
Random fixes (#1265)
* bug fixes

* Update BlockEntity.mapping

* abcd -> xyzw

* closes #856
2020-04-07 00:29:55 +01:00
liach b4efaeadd2
trunk placer and tree generation mappings (#1261)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 15:53:26 +01:00
liach 8a6cdb8699
Rename attribute factory methods to be unique (#1263)
I hate unqualified static method/field calls and static inference!

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 12:19:15 +01:00
liach 032ee0894b
Region and session lock (#1254)
* Region and session lock

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

* Update mappings/net/minecraft/world/gen/StructureAccessor.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-04 21:19:01 +01:00
liach cabb00e658
20w14a Attributes (#1256)
* 20w14a Attributes

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

* Map the attributes method for zoglin

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-04 21:18:55 +01:00
Juuxel 3d277f0082
Use serialized names for Biome.MixedNoisePoint fields (#1247) 2020-04-03 20:17:51 +01:00
liach e0b168b919
Tags (#1250)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-03 20:14:29 +01:00
Yanis48 4bf04724a5
Level file mappings (#1253)
* level file mappings

* synchronous -> dsync, revert enigma update
2020-04-03 20:12:27 +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
liach 0a9fd73fa4
20w14a dfu (#1252)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-03 03:30:47 +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
Prospector 18c62920fc
Fix two more errors with Criterions instead of Criteria (#1243) 2020-03-31 01:35:21 +01:00
i509VCB 4b817e7c68
2 Rename fixes (#1242) 2020-03-30 18:35:14 +01:00
Shnupbups 8cd54e4886
stuff (#1231)
* stuff

less cursed this time hopefully

* Apply suggestions from code review

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

* Update ItemSteerable.mapping

* Update HungerManager.mapping

* revert Quaternion changes

* supplier -> table

* Update CrashReport.mapping

* Apply suggestions from code review

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

* Update WorldBorderListener.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-30 09:10:03 +00:00
Azteched 6199cacacd
Fixed Item spelling in register method (#1238) 2020-03-29 18:05:36 +01:00
­Sollace 99ba24aaaf
Remap inventories :D (#1154)
* Remap inventories :D

* @see -> see @link

* getMaxStackAmount -> getMaxCountPerStack

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

* Rename InventoryChangedListener.mapping to InventoryChangeCallback.mapping

* putStack -> setStack

* JD fixes

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

* Fix filename

* isAccessible -> canStayOpen

* isAccessible -> canStayOpen

* Update javadoc

* jd for getMaxCountPerStack

Return value jd taken from #1053 (with fixes)

* Update mappings/net/minecraft/inventory/SidedInventory.mapping

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

* canStayOpen -> canPlayerUse

* canStayOpen -> canPlayerUse

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-27 18:04:46 +00: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
modmuss50 421fd43218 20w13b 2020-03-26 14:08:27 +00:00
liach 0c84d443c2
Map two missing inner classes (#1228)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 11:32:00 +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
liach d93a2d54d5
Map two new farmer tasks (#1229)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 23:14:46 +00:00
liach 486d832be5
Minor dfu stuff (#1226)
* Minor dfu stuff

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

* Missed this

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 21:50:41 +00:00
Yanis48 dcf8bb0e96
Some block mappings (#1223)
* Some block mappings

* Update mappings/net/minecraft/block/Blocks.mapping

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

* Update Blocks.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-25 21:49:17 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00:00
liach 4bcc8ac47c
EntityContext -> ShapeContext, EntityContextImpl -> EntityShapeContext (#1213)
Fixes #908.

This context is exclusively used by block's 3 shape checking methods.
For its usage outside of blocks, it is used to be eventually passed to call one of the shape checking methods (as in CollisionView#canPlace or RayTraceContext)

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-24 22:54:23 +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
i509VCB 0ac0160c5a
Javadoc to describe the block/fluid state properties Minecraft provides (#1214)
* Javadoc for properties

* Update mappings/net/minecraft/state/property/Properties.mapping

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

* Update mappings/net/minecraft/state/property/Properties.mapping

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

* Update mappings/net/minecraft/state/property/Properties.mapping

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

* Update mappings/net/minecraft/state/property/Properties.mapping

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

* Update mappings/net/minecraft/state/property/Properties.mapping

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

* Update mappings/net/minecraft/state/property/Properties.mapping

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

* Update mappings/net/minecraft/state/property/Properties.mapping

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

* Update mappings/net/minecraft/state/property/Properties.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-22 23:31:14 +00:00
liach 84c59b348d
Fully map out block state model generator (#1208)
* Fully map out block state model generator

Now eliminated all unmapped classes! 🎉

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

* The block is cocoa

* Model map fixes

* derivative -> texture/model pool

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-20 22:16:59 +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
NeunEinser 71c375ca14
@returns -> @return (#1210) 2020-03-20 18:16:28 +00:00