Commit Graph

2666 Commits

Author SHA1 Message Date
Juuxel 55c122e987
Rename and document HoeItem tilling names (#2635)
* Rename and document HoeItem tilling names

- TILLED_BLOCKS -> TILLING_ACTIONS (it's not a pure block->block map
  anymore)
- getTillingConsumer -> getTillingAction: more descriptive this way
- usagePredicate -> canUse: more conventional and descriptive name for a
  boolean-returning method

* HoeItem.canUse -> canTill

* Address code review

* Code review part II

* Update mappings/net/minecraft/item/HoeItem.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-08-22 22:15:46 +01:00
Jakob K b1b2179711
Improve ChunkStatus mappings (#2619)
* Improve ChunkStatus mappings

* Do not remap non-obfuscated doWork functions
2021-08-22 22:15:13 +01:00
Devan-Kerman c1602ae643
Update Element.mapping (#2641) 2021-08-21 10:37:06 +01:00
enbrain 260577f617
Document key binding instances (#2640)
* Document key binding instances

* 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>
2021-08-15 15:17:54 +01:00
白门守望者 35113d5133
Fixed A Mapping Mismatch in A Constructor Method (#2631)
* Fixed A Mapping Mismatch in Constructor Method

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

Yes. This value is for 'replaceable'. Agree.

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-08-13 12:08:22 +01:00
enbrain adf72aa42f
Document whether inclusive or not (#2611)
* Document whether inclusive or not

* Use math interval notations
2021-08-10 10:47:54 +01:00
haykam821 332abd0930
Fix the names of style fields in the CommandSuggestor class indicating the wrong type (#2628)
Fixes #2625
2021-08-10 10:46:46 +01:00
ByMartrixX 5c3acefeeb
Use upper snake case with static final fields (#2624)
* Use upper snake case with static final fields

* Fix fields that I missed
2021-08-07 16:51:52 +01:00
liach 749c4dcfb3
clarify single player of a server (#2607)
* clarify single player of a server

Fixes #2605

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

* Document online mode and indicate how it relates to singleplayer
status

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

* isSinglePlayer -> isSingleplayer

singleplayer is a mode, single player is the player for the mode

Co-authored-by: liach <liach@users.noreply.github.com>
2021-08-07 11:06:14 +01:00
Jakob K 9dc7addd86
ChunkRegion block placement validation mappings (#2620)
* ChunkRegion block placement validation mappings

* Fix ChunkRegion placementRadius spelling mistake

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-08-07 11:01:56 +01:00
Devan-Kerman 56ae93966e
Add javadoc to getItemBarStep (#2610)
* Update ItemStack.mapping

* clarify length

* change to return javadoc

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

* change to return javadoc

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-08-02 11:09:59 +01:00
apple502j 19914956ae
1.17.1 arguments stuff (#2606)
* 1.17.1 arguments stuff

* Update mappings/net/minecraft/command/argument/ScoreboardObjectiveArgumentType.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Un-map method_9353

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-07-27 15:45:49 +01:00
Alex O'Neill 4a3b6e7eca
Remove \u200c (#2608) 2021-07-25 18:39:23 +01:00
LambdAurora fd85633178
Unpick lightmap constants. (#2595)
* Unpick lightmap constants.

* Update unpick-definitions/lightmap_coordinates.unpick

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:54:03 +01:00
apple502j bf596421bb
1.17.1 util.math stuff (#2596)
* 1.17.1 util.math stuff

* Map and document some methods

* Update mappings/net/minecraft/util/math/MathHelper.mapping

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

* Update Direction.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:53:43 +01:00
YanisBft fe859258e3
ChestStateManager -> ViewerCountManager (#2602)
* Bring back containers

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* rename to ViewerCountManager

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

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

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

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:53:35 +01:00
marcus8448 e87883ace1
ElderGuardianAppearanceParticle#LAYER -> layer (#2604)
It is not a constant.
2021-07-23 13:53:17 +01:00
Juuxel afae2e2033
Game test fixes and additional docs (#2598)
* Game test fixes and additional docs

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-22 23:21:26 +01:00
Dimas e56d581682
Rename optional tag provider builder (#2585) 2021-07-21 08:19:06 +01:00
modmuss50 8551f2ee31 Revert "Use automapped names for documented fields (#2571)"
This reverts commit c96f65c814.
2021-07-19 21:49:44 +01:00
Juuxel febccc5477
Color provider improvements (#2553)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-19 14:30:41 +01:00
YanisBft c96f65c814
Use automapped names for documented fields (#2571)
* Use automapped names for documented fields

* forgot those

* update filament
2021-07-19 13:06:35 +01:00
ByMartrixX 1b73d000c1
Ingame screen constant mappings (#2569)
* Ingame screen mappings

* Apply suggestions from code review

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

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-07-19 13:05:42 +01:00
Devan-Kerman ead9e60a81
Rename BakedModel#getSprite to more intuitive name (#2545)
* Update BakedModel.mapping

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

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

* getSprite -> getModelIcon

* ItemModels#getSprite -> getModelIcon

* BlockModels#getSprite -> getModelIcon

* Update BlockModels.mapping

* Update ItemModels.mapping

* Update BakedModel.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-19 13:05:07 +01:00
YanisBft 15e4d8c166
Rename *Criterion.test methods to trigger (#2564)
* Rename *Criterion.test methods to trigger

* obtainedDate

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-19 12:58:03 +01:00
Juuxel bd19977499
Loot/JSON serialisation improvements (#2554)
* Loot/JSON serialisation improvements

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

* More JsonSerializing renames

* Clarify JD

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-19 12:57:43 +01:00
LambdAurora 2066393724
Map stuff in LightmapTextureManager. (#2591)
* Map stuff in LightmapTextureManager.

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-19 12:56:23 +01:00
haykam821 01b2651a3a
Map and document the maximum redirect distance constant in the LightningRodBlock class (#2589)
* Map the maximum redirect distance constant in the LightningRodBlock class

* Document the maximum redirect distance constant in the LightningRodBlock class
2021-07-19 12:55:52 +01:00
ByMartrixX d3d36f60a4
Map Mojang's GLFW constants (#2578)
* Map Mojang's GLFW constants

* scancode -> scanCode
2021-07-14 08:13:09 +01:00
IMS212 662779b615
Rename "bind" and "upload" to "unbind" and "bind" (#2577) 2021-07-13 11:13:43 +00:00
Dogeon188 af24263a0a
AxolotlEntity.Variant naming fix (#2575) 2021-07-13 11:07:02 +00:00
ByMartrixX 552595f20f
Some entity renderer and model mappings (#2566)
* Some entity renderer and model mappings

* More mappings

* Update mappings, add some parameters
2021-07-13 03:05:29 +00:00
liach 734e53a18a
Recipe docs (#2549)
* Recipe docs

Renames to fix #2544 and a few other less impactful ones

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

* Fix doc link

* Funny glossary

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

* thanks yanis for fixes

Co-authored-by: YanisBft <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: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28:34 +01:00
frqnny 1b8645d951
Rename names around Fireworks to match FireworkRocket (#2556)
* Rename FireworkRocketEntity to FireworkEntity

* Fix requested changes

* Rename FireworkChargeItem to FireworkStarItem

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28:26 +01:00
liach d88f9e4804
Update toolchain and fix minor javadoc problems (#2563)
* Update toolchain and fix minor javadoc problems

Fixes #2518 and resolves gradle warnings

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

* update java version in comment as well

* remove obsolete comment (didn't forsee mojang would go java 16)

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

* beautify this as well

* at least javadoc won't stall for 10 minutes now

still after 5 minutes of building there is a daemon with 4G ram usage

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

* Use more friendly format to set properties

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28:14 +01:00
liach 3e0278676c
rc2 stuff (#2565)
* rc2 stuff

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

* Don't use weird arrow

Co-authored-by: liach <liach@users.noreply.github.com>
2021-07-10 12:27:42 +01:00
ByMartrixX 62fb2bda10
Block render mappings (#2567)
* Block render mappings

* isBlockEntityInRenderDistance -> isInRenderDistance
2021-07-10 12:27:34 +01:00
frqnny b054090c81
Travel javadocs (#2568)
* Travel method javadocs

* moved param doc to param

* fix

* Fix a typo

* Fix a typo 2.0 electric boogaloo

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-10 12:27:29 +01:00
enbrain 11f052803c
Fix the parameter of SliderWidget.setValue (#2570)
* Fix the parameter of SliderWidget.setValue

* Fix format
2021-07-10 12:27:23 +01:00
Juuxel 1eee701121
MinecraftClient.openScreen -> setScreen (#2526)
* MinecraftClient.openScreen -> setScreen

Closes #1597.

* Fix javadoc error in Item.Settings

* 'currently opened' -> 'previous'

* Improve jd

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:27:09 +01:00
LambdAurora 3299249a97
ItemStack refactor and documentation. (#2511)
* ItemStack refactor and documentation.

* shouldSyncNbtToClient -> isNbtSynced

* Fix method name.

* Improve consistency.

* More documentation.

* NBT operations documentation.

* Fix bad link, add Sub part to operations to Sub NBT.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:26:50 +01:00
modmuss50 648897cd3e 1.17.1-rc2 2021-07-05 16:40:11 +01:00
liach 7c2336e817
Camera projection (#2532)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-05 16:32:18 +01:00
apple502j 7d14ba4a2f
Map more screens stuff (#2546)
* Map more screens stuff

* Update mappings/net/minecraft/client/gui/screen/DeathScreen.mapping

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

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Rename to isNarratable/BeaconButtonWidget

* narratorTimer -> lastNarrationTime

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-07-05 16:32:12 +01:00
frqnny e727668fbc
Rename BlockBox#empty to BlockBox#infinite (#2558) 2021-07-05 16:32:07 +01:00
frqnny ff0c40d8a1
Misc structure gen mappings (#2559)
* Misc structure gen mappings

* Update javadoc
2021-07-05 16:32:02 +01:00
liach 0bcc427a29
A few unnamed item renderer stuff (#2547)
Signed-off-by: liach <liach@users.noreply.github.com>
2021-07-04 15:39:31 +00:00
liach ab850df1d7
PortalUtil -> BlockLocating, and findColumnEnd (#2514)
Fixes #2510

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-04 01:31:50 +01:00
Juuxel 91c7aa7036
Block.addStacksForDisplay -> appendStacks + docs (#2538)
Closes #2537.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-04 01:31:17 +01:00
apple502j db44f9c249
1.17.1-rc1 stuff (#2540) 2021-07-04 01:31:01 +01:00
modmuss50 9d8a096c5f 1.17.1-rc1 2021-07-01 17:21:19 +01:00
mschae23 d3ce24bdd9
Mapped ore vein and noodle caves generator (#2531)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-01 13:54:48 +01:00
YanisBft f3a7d261e1
Some datafixer methods and fields (#2536)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-01 13:54:37 +01:00
Juuxel 7a6582f2dd
Document SpawnEggItem.getColor (#2539) 2021-07-01 13:54:27 +01:00
apple502j 6aaad15ea9
1.17.1-pre2/pre3 stuff (#2535)
* 1.17.1-pre2 stuff

* 1.17.1-pre3 stuff
2021-07-01 13:54:06 +01:00
modmuss50 0ad32f2247 1.17.1-pre3 2021-06-30 18:01:37 +01:00
Technici4n 8d5c0505e8
Name missing handled screen method (#2533)
* Name missing handled screen method

* Fix wrong param as well
2021-06-29 17:20:12 +01:00
liach 1cc9733ae3
Sampler changes (#2478)
* Fully mapped sampler

now they are mostly on server, and a few refactors

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

* Missing old name

Co-authored-by: liach <liach@users.noreply.github.com>
2021-06-28 15:22:54 +01:00
YanisBft 4e2c6d333a
41 client constants (#2497)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-28 15:22:36 +01:00
haykam821 73e8c1e92e
Document the DyedCarpetBlock class (#2498)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-28 15:22:20 +01:00
YanisBft 23dce9491b
Random server mappings (#2512)
* Random server mappings

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* update enigma

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-06-28 15:22:10 +01:00
Alexander 1763ecc994
Some NativeImage methods (#2522)
* Some NativeImage methods

* getColorOrLuminance -> getColor
2021-06-28 15:21:44 +01:00
apple502j ec09b29d49
Map screen handlers (#2523) 2021-06-27 11:18:10 +01:00
ByMartrixX 4af63f77cf
Map debug renderers stuff (#2520)
* Map some things in VillageDebugRenderer

* Map constants in BeeDebugRenderer

* PathfindingDebugRenderer mappings

* StructureDebugRenderer mappings

* GameEventDebugRenderer mappings

* ChunkLoadingDebugRenderer mappings

* GoalSelectorDebugRenderer and HeightmapDebugRenderer mappings

* GameTest, RaidCenter, VillageSections and SkyLight DebugRenderers mappings

* Apply suggestions from code review

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

* getNamesOfVillagersWithPotentialJobSite -> getNamesOfJobSitePotentialOwners and
getNamesOfVillagersWithPointOfInterest -> getNamesOfPointOfInterestTicketHolders

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-27 11:13:39 +01:00
enbrain 32152b6855
Document EntityVelocityUpdateS2CPacket and ExplosionS2CPacket (#2521) 2021-06-27 11:13:17 +01:00
apple502j 117c139ec9
More 1.17-pre1 stuff (#2501)
* More 1.17-pre1 stuff

* Rename to entireStack

* Use revision instead of nonce

* Document read/writeOptional

* Update mappings/net/minecraft/screen/ScreenHandler.mapping

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

* Update mappings/net/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen.mapping

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

* Rename getMaxY to getHeight

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-26 12:53:03 +01:00
ByMartrixX 6473b3525a
1.17.1-pre1 stuff (#2500)
* 1.17.1-pre1 stuff

* Apply review suggestions

* Rename BookUpdateC2SPacket constructor args

* Rename two BookUpdateC2SPacket getters

* Improve method_37420 name
2021-06-24 14:15:19 +01:00
apple502j baec669196
Map resource package params (#2515)
* Map resource package params

* Update mappings/net/minecraft/client/resource/metadata/AnimationFrameResourceMetadata.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-24 14:14:30 +01:00
haykam821 be992dfd43
Map lambda parameters in the BooleanBiFunction class (#2516) 2021-06-24 14:14:01 +01:00
liach 743dedee46
some util dynamic stuff (#2502)
* some util dynamic stuff

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-06-21 12:00:15 +01:00
apple502j 930449aca3
Map realms, again (#2505)
* Map realms, again

* Consistent capitalization of "tooltip"

* Update mappings/net/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-06-21 11:59:03 +01:00
haykam821 0d177cd2e2
Rename the createTreeFeature and createLargeTreeFeature methods to indicate that they return a constant reference to a configured feature (#2508)
Fixes #2506
2021-06-21 11:58:53 +01:00
apple502j 45146d364a
Use "tooltip" instead of "toolTip" (#2509) 2021-06-21 11:58:38 +01:00
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
jackassmc 62a05f3c86
Map SplashOverlay.renderProgressBar (#2495)
* Map SplashOverlay.renderProgressBar

* Improve renderProgressBar args
2021-06-16 13:06:23 +00:00
Yan Chubikov eb10920c4f
change SplashScreen to SplashOverlay (#2494)
SplashScreen does not extend Screen but instead Overlay.
2021-06-14 03:45:29 +00:00
frqnny e2e461741a
Add mappings to StructurePoolElement (#2489)
* Add mappings to StructurePoolElement

* Update the mappings

* Add one more method
2021-06-12 13:59:03 +00:00
YanisBft 5b8aaf9ec5
Some constants (#2487) 2021-06-12 00:32:38 +01:00
enbrain 44bbc4c531
Rename fontRenderer to textRenderer (#2491) 2021-06-12 00:32:20 +01:00
Frank 1d4e5813b5
Mapping for `TextRenderer method_37296` (#2488) 2021-06-11 11:32:32 +00:00
haykam821 fc64c34532
Document the ProjectileDispenserBehavior class (#2485)
* Document the ProjectileDispenserBehavior class

* Fix a grammatical issue in the documentation for the createProjectile method

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-10 09:25:33 +00:00
YanisBft 86a0f7ffb8
Some client mappings (#2481)
* Some client mappings

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

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>

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

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

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-09 00:16:31 +01:00
Draylar d49bf4a58f
JavaDocs for Item and Item.Settings (#1792)
* item mappings

* Update mappings/net/minecraft/item/Item.mapping

Co-authored-by: Gegy <gegy1000@gmail.com>

* Grammar fix from Items's to Item's

Co-authored-by: Gegy <gegy1000@gmail.com>

* fix Item capitalization

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Update mappings/net/minecraft/item/Item.mapping

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

* Fix style issues. Use inline return

* Fix javadoc format error

* Remove periods at the end of inline returns

* Update Item.mapping

Co-authored-by: Gegy <gegy1000@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
2021-06-09 00:14:38 +01:00
liach 3320a21d3c
Barebone javadoc for brain, explains why (#2475)
closes #2210, feel free to ask for more

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-09 00:14:21 +01:00
ByMartrixX 979e16e976
Map field_29709 and field_29735 (#2483) 2021-06-09 00:14:10 +01:00
Will 1bbd993937
Correct visibleOnly method name -> ignoreVisibility (#2479)
`visibleOnly` actually sets `respectsVisibility` to `false`
```java
    public TargetPredicate visibleOnly() {
        this.respectsVisibility = false;
        return this;
    }
```
later in `test`, you can see that `respectsVisibility` is correctly named, as precedes the visibility check:
```java
                if (this.respectsVisibility && baseEntity instanceof MobEntity && !((MobEntity)baseEntity).getVisibilityCache().canSee(targetEntity)) {
                    return false;
                }
```

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 15:00:32 +01:00
ByMartrixX 0cb9a06afb
Some block constants (#2477)
* Some block constants

* Fix typo, rename field_31008 and name field_31007

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:46:44 +01:00
apple502j 34eba1a24f
Random 1.17 pre-release stuff (#2476)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:46:10 +01:00
liach 93ef3bdefa
About entity network ID (#2472)
* About entity network ID

Fixes #2469

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

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

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

* Rename the entity id stuff to just id

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:45:06 +01:00
YanisBft 6d169d5422
Structure package constants (#2473)
* Structure package constants

* forgot that

* does this matter?

* remove block box prefix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:44:50 +01:00
apple502j 23e05df05b
1.17-pre4 client stuff (#2466)
* 1.17-pre4 client stuff

* Apply suggestions from code review

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

* Rename TextHandler methods

* 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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:42:29 +01:00
ByMartrixX 8ef1ad747e
1.17-rc2 stuff (#2480) 2021-06-07 14:41:08 +01:00
ByMartrixX 6ac3f86f2e
Map some BeeEntity constants (#2462)
* Map some BeeEntity constants

* Fix typo

* Make difficulty the prefix in fields 30289 and 30290

* Rename fields 30291 and 30293

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-07 14:40:36 +01:00
liach e8461bf968
return inlining, up to enchantment package (#2461)
* return inlining, up to enchantment package

see #2454

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

* Apply suggestions from code review

Typos

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:40:13 +01:00
apple502j 7d8e711671
Map entity methods and params (#2455)
* Map entity methods and params

* Apply suggestions from code review

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

* Rename prevAge, change javadoc

* 1.17-pre3 methods

* Add javadocs

* Update mappings/net/minecraft/entity/damage/DamageSource.mapping

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

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-06-06 14:21:56 +00:00
haykam821 d3b85ba3b8
Map the remaining block state fields used in configured features (#2471) 2021-06-05 09:33:13 +00:00
mschae23 885a4c839c
Some world gen mappings (#2457) 2021-06-05 09:32:55 +00:00
liach c096068118
Map perfcommand (incomplete) and fix zip compressor mappings (#2459)
* Map perfcommand (incomplete) and fix zip compressor mappings

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

* Fix perf command (after rebasing)

Co-authored-by: liach <liach@users.noreply.github.com>
2021-06-05 09:32:32 +00:00
Shnupbups 233d572f2c
Random stuff (#2463)
* Stuff

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-06-04 13:02:31 +01:00
LambdAurora 5d1e9d9800
Fixes some bad names and add new docs. (#2465)
* Fixes some bad names and add new docs.

* Fix missing Goal suffix.

* Update mappings/net/minecraft/entity/passive/CatEntity.mapping

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

* Apply suggestions from code review

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>
2021-06-04 10:57:41 +00:00
apple502j a308aa67e3
Map getLuminanceSupplier methods (#2464)
* Map getLuminanceSupplier methods

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-04 07:25:04 +00:00
ByMartrixX b96c56fcd5
Map /perf command (#2460)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-03 22:00:12 +01:00
modmuss50 407aab9955 1.17-pre5 2021-06-03 19:30:06 +01:00
modmuss50 a8eaec9181 1.17-pre4 2021-06-02 17:47:23 +01:00
Shnupbups 24a6894e06
1.17-pre1 stuff (#2436)
* 1.17-pre1 stuff

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

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

* a

* removed a mappings

* Update SignBlockEntityRenderer.mapping

* Update MinecraftServer.mapping

* more things

* Apply suggestions from code review

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-02 16:35:05 +01:00
liach 382232eee2
Some function stuff (#2433)
* Some function stuff

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

* typo

* This is actually only used by scheduled/tick functions

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-02 15:42:32 +01:00
ByMartrixX 5664605164
Name remaining world event (#2458)
* Name remaining world event

* Add unpick definition, remove trailing space in javadoc

* Revert "Add unpick definition, remove trailing space in javadoc"

This reverts commit 93edb9020c.

* Add unpick definition, remove trailing space in javadoc (this time without extra things)

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-02 11:14:12 +01:00
modmuss50 7f35349e0f
Screenshooter -> ScreenshotRecorder (#2456)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-02 11:13:48 +01:00
modmuss50 c13a13d765 1.17-pre3 2021-06-01 17:22:33 +01:00
enbrain 037c2c05f6
Map InGameHud and its inner class (#2450)
* Map InGameHud and its inner class

* Make it a link that goes to the actual field

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

* Update javadoc of renderStatusBars

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-01 16:43:38 +01:00
apple502j 78c11e972b
Map two new classes used in profiler (#2451)
* Map two new classes used in profiler

* Rename methods

* toProfilerString -> collect

* Name changes for consistency
2021-06-01 16:39:22 +01:00
liach 37f94858b0
status effect source (#2441)
* status effect source

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

* improve docs and update legacy packet handler name

* Another effect cause related method

* 2 vec3d methods seen in projectiles

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-01 16:29:19 +01:00
enbrain 10f5de0e61
Fix Entity.dealDamage (#2437)
* Fix Entity.dealDamage

* Rename to applyDamageEffects

* Document what attacker may be

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Document in the parameter itself

* Link to ProjectileEntity#getOwner()

* Remove period

* Use linkplain

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-01 16:26:08 +01:00
modmuss50 282fb18a0b 1.17-pre2 2021-05-31 17:31:55 +01:00
enbrain 4cbae4eb7f
Fix swapped names in Matrix3f and Matrix4f (#2453)
* Fix swapped names in Matrix3f and Matrix4f

* first -> major
2021-05-31 17:20:25 +01:00
ByMartrixX bd12181cb1
Map TradeOffers constants (#2449)
* Map TradeOffers constants

* 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>
2021-05-31 17:19:40 +01:00
liach da2b442a92
Some required tag details (#2442)
* Some required tag details

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

* Forgot removing capitalizating when adding "Creates and"

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-05-31 17:19:24 +01:00
liach 6ad6ee9694
Some collision stuff, fixes #2443 (#2444)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-31 17:18:53 +01:00
ByMartrixX 668e0274c5
Map some shared constants (#2447)
* Map some shared constants

* Update mappings/net/minecraft/SharedConstants.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-31 17:18:27 +01:00
Emily Rose Alexandra 624433f650
Slot.isEnabled and CommandItemSlot -> StackReference (#2452)
* Fix infuriatingly mismapped Slot method

* CommandItemSlot -> StackReference

* Update command name
2021-05-30 22:10:13 +01:00
enbrain 4757c9a8c4
Map player list hud (#2439)
* Map player list hud

* Remove 'which is'

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

* lasthealth -> lastHealth

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-05-29 12:03:14 +01:00
LambdAurora a0ec4231f8
Entity and entity models documentations (#2431)
* Map some axolotl stuff and start work on entity and entity models documentation.

* Improve entity models documentation.

* Update mappings/net/minecraft/client/model/Model.mapping

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

* More entity model documentation.

* Axolotl brain and tasks.

* Update mappings/net/minecraft/client/render/entity/model/CatEntityModel.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-05-29 11:52:11 +01:00
YanisBft fa70358202
1.17-pre1 criteria (#2435) 2021-05-28 22:13:43 +00:00
Juuxel 9ccbdabbef
Rename HandledScreen.displayName -> playerInventoryTitle (#2434)
It's the display name of the player inventory, which in
a screen corresponds to its title.
2021-05-28 22:13:28 +00:00
marcus8448 ded034807f
Rename ShapedRecipe#getItemStack to getItem (#2440) 2021-05-28 08:08:52 +00:00
enbrain f59ff97386
Map lambda parameters of record codec instance (#2438) 2021-05-28 08:08:35 +00:00
modmuss50 372c15cf37 1.17-pre1 2021-05-27 18:09:37 +01:00
Alexander 8e7ee74ad5
Screen Narration stuff (#2425)
* Screen Narration stuff

* Function name fixes, removed semi-outdated documentation

* Update mappings/net/minecraft/client/gui/screen/narration/NarrationMessageBuilder.mapping

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

* Update mappings/net/minecraft/client/gui/screen/Screen.mapping

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

* getTitleNarrationMessage -> getNarratedTitle

* net/minecraft/util/ToStringTransformer -> net/minecraft/client/gui/screen/narration/ToStringTransformer

* ToStringTransformer -> Narration

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Readd lost in merge Screen::remove

* Keep existing clearChildren name

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/screen/Screen.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-26 11:08:37 +01:00
apple502j 3e70d627b7
Map server stuff (#2428)
* Map server stuff

* Apply suggestions from code review

Still need to fix a few things.

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-26 03:35:43 +00:00
jackassmc b830235152
Map Minecraft logo outline method (#2432)
* Map Minecraft logo outline method

* Rename to drawWithOutline

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Document consumer

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-25 20:36:44 +00:00
liach 6be1599808
Model predicate provider registry minor (#2420)
Works well with #2417

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-24 14:49:59 +01:00
liach 93ec3e9798
Block list checker for the allowed address resolver (#2418)
Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-24 14:49:41 +01:00
apple502j 32a23a2cb9
21w20a gui (#2421)
* 21w20a gui

* Rename ScreenTexts methods
2021-05-24 14:49:17 +01:00
Shnupbups fd0d13ce44
21w20a stuff (#2417)
* 21w20a stuff

* Apply suggestions from code review

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

* AngledModelEntity

idk about the name but eh

* Update HoeItem.mapping

* Update FoodComponent.mapping

* stuff

* Update ItemCooldownManager.mapping

* Revert "Merge branch '21w20a-stuff' of https://github.com/Shnupbups/yarn into 21w20a-stuff"

This reverts commit 494e736d32, reversing
changes made to c481e02b48.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-24 14:46:09 +01:00
LambdAurora 54b99399c7
Restore lost arguments and map some random stuff (#2426)
* Add back lost arguments.

* Map some random stuff.
2021-05-23 18:12:42 +00:00
apple502j b49df01f65
21w20a util stuff (#2424)
* 21w20a util stuff

* 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>
2021-05-23 18:12:20 +00:00
enbrain 0dfe85319d
Rename NPC to Npc (#2423) 2021-05-21 14:29:45 +00:00
Shnupbups 18d8ec67ce
world stuff (#2422) 2021-05-21 14:29:23 +00:00
apple502j 007d1f97a7
21w20a entity (#2413)
* 21w20a entity

* 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>
2021-05-21 14:28:57 +00:00
liach 0488093310
Two package info mappings from generatePackageInfoMappings (#2419)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-20 14:22:20 +00:00
enbrain 4700861064
Map button lambda parameters (#2416)
* Map button lambda parameters

* spawnNPCs -> spawnNpcs

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-20 14:21:46 +00:00
enbrain 46cc174c3c
Rename gamemode to gameMode (#2415) 2021-05-20 14:21:14 +00:00
apple502j 77e9df8643
21w20a blocks (#2412)
* 21w20a blocks

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-20 14:20:33 +00:00
Player 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
liach dba53e8e93
Checks entity flags to unpick (#2406)
closes #2186

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:46:21 +00:00
liach 8fba2a7da0
Ram (#2403)
fixes a few bad names from shunpbups

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:47 +00:00
liach 9d99817d84
framebuffer, screenshots, gl info (#2402)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:15 +00:00
liach 9d4a721df1
Map noodle cave and aquifer abstracts. I will check details later (#2404)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:44:01 +00:00
liach 784cc5b34b
Abstract button widget renames (#2407)
* Abstract button widget renames

Fixes #1752 and closes #1770

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

* About the message

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Reword javadoc for pressable widget

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-19 12:43:44 +00:00
Shnupbups 0510c2b069
misc things (#2409)
* misc things

* Apply suggestions from code review

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

* Update PlayerPredicate.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-18 15:38:15 +00:00
liach f0efd6b628
Map some easy packet classes and a package info (#2401)
used generatePackageInfoMappings to generate package info

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-16 12:05:52 +00:00
enbrain 5e4c0ebad9
Fix GameModeCommand.setGameMode (#2396) 2021-05-13 19:50:49 +00:00
apple502j ab451cdd06
Map command stuff, again (#2397) 2021-05-13 16:59:44 +00:00
apple502j 189122a550
21w19a network stuff (#2394)
* 21w19a network stuff

* Address some problems
(pun intended)

* Fix some names
2021-05-13 16:59:27 +00:00
enbrain 4f1bb0a391
Document KeyBinding.isPressed and KeyBinding.wasPressed (#2393)
* Document KeyBinding.isPressed and KeyBinding.wasPressed

* 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>
2021-05-13 06:10:36 +00:00
Shnupbups 4e9beace48
21w19a stuff (#2392)
* 19a

* Update Items.mapping

* things

* datagen stuff
2021-05-13 06:09:53 +00:00
haykam821 74d2d7a232
Map the AbstractBlock#getHardness method (#2391) 2021-05-13 06:09:35 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
enbrain 42e3aafffa
Map worldgen stuff (#2387)
* Map worldgen stuff

* 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>
2021-05-12 13:01:09 +00:00
enbrain a27c5b3aad
Map screen stuff (#2385) 2021-05-12 13:00:33 +00:00
enbrain a4620efe64
Drop invalid mappings (#2384) 2021-05-12 12:59:52 +00:00
enbrain 2ceb5834ac
Map client stuff (#2383) 2021-05-12 12:59:01 +00:00
apple502j 09f346eb81
Client resource reload stuff (#2381)
* Client resource reload stuff

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Rename ReloadLogger

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-12 12:58:32 +00:00
apple502j a0d779e7b6
Map util stuff (#2386)
* Map util

* Update mappings/net/minecraft/util/snooper/Snooper.mapping

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

* Update mappings/net/minecraft/util/snooper/Snooper.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Rename methods of UserCache

* Revert BooleanBiFunction mappings for now

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-08 03:39:34 +00:00
haykam821 c5ebf2eb73
Map new methods added to the AbstractBlock.Settings class in 21w18a (#2382) 2021-05-06 08:48:10 +00:00
haykam821 f5dc49b061
Readd parameter names removed by the update to 21w18a (#2380) 2021-05-05 19:35:14 +01:00
modmuss50 89ac006780 Add back lost mapping 2021-05-05 19:27:31 +01:00
modmuss50 b8cf5bdaef 21w18a 2021-05-05 18:45:23 +01:00
haykam821 f32ff77fb1
Improve documentation for teleport targets (#2379) 2021-05-05 11:57:42 +00:00
enbrain 9278744a19
Map command stuff (#2372) 2021-05-05 11:53:37 +00:00
enbrain 219575789e
Document property classes (#2375)
* Document property classes

* Merge two throws clauses

* Remove time complexity

* Use linkplain tag for the valid name pattern

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

* can take -> has

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

* can take -> contains

* Move notes on the enum class to the class javadoc

* Apply suggestions from code review

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

* Document the exception thrown when the name is invalid

* can take -> contains

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-05 11:52:32 +00:00
enbrain a30bafcec5
Map math classes (#2364)
* Map math classes

* Fix typo: rotateZCoutnerclockwise -> rotateZCounterclockwise

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

* Move Rect2i to client/util/math

* Document the range of the return value

* Use @code for range

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

* Revert multiplyModel

* cumulativeProportions -> getCumulativeDistribution

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-04 18:25:42 +01:00
Shnupbups 4445120f59
random misc things (#2376)
* random misc things

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-04 08:47:40 +00:00
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00:00
enbrain 1481c1e9e6
Fix swapped names (#2369) 2021-05-01 04:57:07 +00:00
enbrain d974d8be2b
Map the parameter of all equals methods (#2363) 2021-04-30 17:03:23 +00:00
enbrain d29f5f29a3
Fix the parameter of CommandSuggestor: slashRequired -> slashOptional (#2367) 2021-04-30 17:03:11 +00:00
apple502j f344dece1a
21w17a stuff (#2355)
* 21w17a stuff

* Fix lint failure

* Rename onEntitiesDestroy

* Rename setYaw
2021-04-30 17:02:56 +00:00
Shnupbups daabbb8bff
ore vein stuff (#2356) 2021-04-29 17:13:11 +01:00
haykam821 1317eb48c0
Make the parameter for equals methods consistent (#2361)
* Make the parameter for equals methods consistent

Fixes #2299

* Add conventions for the correct parameter for equals methods
2021-04-29 17:12:46 +01:00
haykam821 4da1f7c91e
Rename the NbtCompoundTagArgumentType class to NbtCompoundArgumentType (#2360)
Fixes #2359
2021-04-29 17:12:19 +01:00
haykam821 bd93dbb980
Fix certain shape fields using the legacy naming 'ray trace' (#2354)
Fixes #2332
2021-04-29 00:09:40 +00:00
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02:00
apple502j f2217e499c
Map text methods and params (#2351)
* Map text methods and params

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Fix #2353

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-28 14:25:24 +00:00
apple502j f50b55eecf
Map tree params (#2350) 2021-04-28 13:57:24 +00:00
apple502j 4a9c1c8639
Map top level classes (#2349) 2021-04-26 15:42:56 +00:00
apple502j 1597971e90
Map realms (#2347)
* Map realms

* Update mappings/net/minecraft/client/realms/dto/UploadInfo.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/client/realms/task/ResettingWorldTask.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-26 12:22:34 +01:00
enbrain 3d5a2db229
Fix javadoc errors (#2348) 2021-04-25 22:46:10 +01:00
Bohdan Yaroslavtsev c109973ce2
Change Slot.onStackChanged -> Slot.onQuickTransfer (#2346)
Fixes https://github.com/FabricMC/yarn/issues/1656
2021-04-24 14:17:30 +00:00
enbrain 7ad5228217
Document the Vec3d class (#2341)
* Document the Vec3d class

* oops

* reverseSubtract -> relativize

* Update mappings/net/minecraft/util/math/Vec3d.mapping

* Update mappings/net/minecraft/util/math/Vec3d.mapping

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

* Update mappings/net/minecraft/util/math/Vec3d.mapping

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

* Update mappings/net/minecraft/util/math/Vec3d.mapping

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

* Fix typo

* Fix doc (squared distance)

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-24 10:15:45 +01:00
apple502j 90d97a00af
Map tree decorator (#2345) 2021-04-24 10:14:41 +01:00
apple502j a99ec0c4f0
21w16a stuff (#2340) 2021-04-23 19:08:59 +00:00
Shnupbups e0d95e8960
small 21w16a things (#2342) 2021-04-22 11:10:10 +00:00
LambdAurora 21e55899a1
Fix regression and map recipe datagen. (#2339)
* Fix regression and map recipe datagen.

* Update mappings/net/minecraft/data/server/recipe/CraftingRecipeJsonFactory.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-22 10:47:56 +00:00
Player 7f65f51654 Fix src member names in unmatched root classes 2021-04-22 01:15:30 +02:00
Player 0d9ca60b62 21w16a 2021-04-22 00:49:29 +02:00
liach 01f3c5067b
structure piece holder and timed task nested class (#2315)
refactor some broken stuff

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-18 13:04:10 +00:00
liach 944e85408f
A few more constant classes (#2319)
* A few more constant classes

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

* Drop the name of class 6148 while keeping the javadocs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-18 13:03:44 +00:00
­Sollace e1aec798d8
Map various render buffer / buffer builder internals (#2324)
* Map various render buffer / buffer builder internals

* Further mappings + added some names from #2312 (@liach)

* 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>
2021-04-18 13:03:07 +00:00
YanisBft 970cb76c9c
Entity flags and other constant fields (#2331)
* Entity flags and other constant fields

* updated unpick
2021-04-18 13:02:39 +00:00
haykam821 4a38df5fed
Map raw metal blocks (#2327)
* Map raw metal blocks

* Rename the MapColor.IRON field to RAW_IRON_PINK
2021-04-17 07:11:01 +00:00
­Sollace a00c699024
Yet more obscure stuff (#2323)
* Map some incidental fields

* Map the very hard to understand (unused) class. Name is WIP. Mahjong pls.

* ExpandingLongLinkedOpenHashSet -> LinkedBlockPosHashSet + docs

* Fix typo

* Apply suggestions from code review

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

* Update mappings/net/minecraft/util/collection/LinkedBlockPosHashSet.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-16 14:20:36 +00:00
YanisBft 302c9c2a30
Some block constants (#2335) 2021-04-16 14:20:14 +00:00
SuperCoder79 1c509d5860
21w15a worldgen (#2336) 2021-04-16 14:19:52 +00:00
YanisBft 88d0870fd4
Renamed dragon entity parts (#2316)
* Renamed dragon entity parts

* FLAG suffix instead of MASK
2021-04-15 12:41:38 +01:00
haykam821 5ab745bc99
Map marker entities (#2326)
* Map marker entities

* Reword the documentation for the EmptyEntityRenderer class to highlight that it does not render anything

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-15 12:41:25 +01:00
Shnupbups a046ab2dbb
21w15a stuff (#2330) 2021-04-15 12:41:15 +01:00
YanisBft 00a863b1b9
Map new int and height providers (#2328)
* Map new int and height providers

* oops

* oops again
2021-04-15 12:41:05 +01:00
haykam821 dff0bfa560
Map the gray map color used for deepslate (#2329) 2021-04-14 22:43:38 +01:00
modmuss50 9ac44da9db 21w15a 2021-04-14 18:18:43 +01:00
Juuxel e7d81b806c
Add javadoc linting task using Filament (#2318)
* Add javadoc linting task

* Fix all javadoc formatting
2021-04-13 12:59:43 +01:00
­Sollace 5535953433
Data Package Mappings (#2301)
* Data package mappings

* Fix a whoops

* Update mappings/net/minecraft/data/server/RecipesProvider.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update mappings/net/minecraft/data/server/RecipesProvider.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* WORKING_DIRECTORY -> DEBUG_OUTPUT_DIRECTORY

* eh

* Update mappings/net/minecraft/tag/Tag.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update mappings/net/minecraft/data/SnbtProvider.mapping

* Missed a few things

* inputItem -> input + outputItem -> output

* Update mappings/net/minecraft/data/SnbtProvider.mapping

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-04-12 13:28:55 +01:00
liach 177f38b9aa
Last few top level classes (annotations) (#2321)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-12 13:23:18 +01:00
­Sollace d5b7231967
Recipe mappings (#1325)
* Recipe mappings

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

* Update mappings/net/minecraft/recipe/Recipe.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update mappings/net/minecraft/recipe/Recipe.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/recipe/ShapedRecipe.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/recipe/Recipe.mapping

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

* Update mappings/net/minecraft/recipe/RecipeMatcher.mapping

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

* Update mappings/net/minecraft/recipe/RecipeMatcher.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/recipe/RecipeMatcher.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-12 13:13:07 +01:00
enbrain d7d90b87ce
Fix base and spread in UniformFloatProvider (#2305) 2021-04-11 13:09:21 +01:00
enbrain ec6d215fae
Fix GameOptions#onPlayerModelPartChange (#2307)
* Fix GameOptions#onPlayerModelPartChange

* Update mappings/net/minecraft/client/option/GameOptions.mapping

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

* word wrap

* Update mappings/net/minecraft/client/option/GameOptions.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-11 13:09:10 +01:00
liach 54ee32397a
Two new exception classes and a bunch of legacy names (#2309)
* Two new exception classes and a bunch of legacy names

Done in a way to avoid/minimize conflict with #2300

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

* Update mappings/net/minecraft/client/render/model/json/JsonUnbakedModel.mapping

❤️ yanis

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-11 13:09:01 +01:00
YanisBft 339a846b43
Some world-related methods and constants (#2313) 2021-04-11 13:08:51 +01:00
liach 64b96381c0
Model part cuboid consumer (#2310)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-11 13:08:29 +01:00
liach d683a756a7
Some minor client render stuff (#2322)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-11 13:08:23 +01:00
liach 37e0f89ac0
Delaying channel inbound handler in server network io (#2308)
* Delaying channel inbound handler in server network io

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-11 13:08:18 +01:00
haykam821 fbad72f5e9
Remove unnecessary paragraph end tags from documentation (#2295)
* Remove unnecessary paragraph end tags from documentation

* Update mappings/net/minecraft/item/Item.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-11 13:08:07 +01:00
­Sollace 8eb917d43a
AI Mappings (#2298)
* 21w13/14a classes

* Fill holes in existing classes

* Update mappings/net/minecraft/entity/ai/brain/task/WalkTask.mapping

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

* Apply suggestions from code review

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

* leaping -> noInertia (to better reflect what it does)

* EXPIRY -> POI_EXPIRY + javadoc

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-10 22:41:40 +01:00
Shnupbups 19c661296a
more 21w14a stuff (#2300)
* stuff

mostly client stuff

* Apply suggestions from code review

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

* 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>
2021-04-10 18:09:14 +01:00
haykam821 82bd9b740f
Map and document the string constants in the BlockFamilies class (#2314)
* Map the string constants in the BlockFamilies class

* Document the string constants in the BlockFamilies class
2021-04-10 18:08:59 +01:00
enbrain 0992c71424
Map and document the Box class (#2304)
* Map and document the Box class

* method_35580 -> contract

* Add javadoc links

* Update mappings/net/minecraft/util/math/Box.mapping
2021-04-10 14:05:02 +01:00
enbrain 9668c58132
Drop uuid suffix from senderUuid (#2306) 2021-04-10 14:04:57 +01:00
enbrain ec97f0745c
Map Matrix3f and Matrix4f (#2297)
* Map Matrix3f and Matrix4f

* Use row first/column first than transpose or not
2021-04-09 19:50:40 +01:00
Shnupbups 4b9ac0574d
misc stuff (#2292)
* misc stuff

* Apply suggestions from code review

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

* stuff

* carver config

* heightproviders

* Update HeightProvider.mapping

* Update mappings/net/minecraft/entity/passive/AxolotlEntity.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-09 09:36:00 +01:00
haykam821 8c4c969b5a
Map various changes to block families (#2293)
* Map deepslate block families

* Rename the BlockFamily.chsieled method to chiseled

* Update the names of copper block families to match the new oxidation level names

* Map the waxed oxidized cut copper block family

* Map various parameters related to block families in the RecipesProvider class
2021-04-08 10:41:25 +01:00
liach 1e508a3bdf
server address (#2291)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-08 10:41:20 +01:00
­Sollace 67225d43f5
Map some constants found in the world classes (#2288)
* Map some constants found in the world classes

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

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

* ENTITY_TICK_FREQUENCY -> SERVER_IDLE_COOLDOWN

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-08 10:41:09 +01:00
­Sollace c700690ec2
Plug some of the holes in PlayerInventory (#2287)
* Plug some of the holes in PlayerInventory

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Close the P tags

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-04-08 10:41:04 +01:00
Eli Orona 6d831350d9
Entity Status Constants (#2284)
* Initial Pass

* EntityStatusTypes -> EntityStatuses

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

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

* Update unpick-definitions/entity_status.unpick

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update unpick-definitions/entity_status.unpick

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update unpick-definitions/entity_status.unpick

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-04-08 10:40:57 +01:00
apple502j 5938ece303
Map entity methods, params, etc (#2266)
* Map entity

* Map hostile mobs

* Map passive mobs

* Map some entities

* Apply suggestions from code review

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

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-04-07 21:44:18 +01:00
haykam821 6148458b10
Map item fields for waxed oxidized copper (#2290) 2021-04-07 18:51:17 +01:00
modmuss50 3d39c74f21 21w14a
All of the package-info classes are just reformatted. The tool used to generate them didn't output the same format as matcher/engima
2021-04-07 18:22:56 +01:00
YanisBft 605d584f53
Fix typos and update enigma (#2286)
* Fix typos and update enigma

* forgot this typo

* Update world_events.unpick
2021-04-07 16:57:05 +01:00
­Sollace 2caa310241
Map the internals of PackedIntegerArray. (#2285)
* Map the internals of PackedIntegerArray. Some values taken from #1686

* Update mappings/net/minecraft/util/collection/PackedIntegerArray.mapping

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

* Map BitStorageAlignFix

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-07 16:56:58 +01:00
­Sollace fba9d9e178
Map misc weighting stuff (#2281)
* Map misc weighting stuff

* Map pools and move to the collection package

* Implement @liach's suggestions

* More code review

* Move pool to the correct package

* God dammit Enigma

* Bleh

* decode -> mapCodec

* Update mappings/net/minecraft/util/collection/Pool.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/ImmutablePool.mapping

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

* ImmutablePool -> DataPool

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* WeightingUtil -> Weighting

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-07 16:56:50 +01:00
Shnupbups c0c4b3a8b1
Misc 21w13a stuff (#2271)
* misc stuff

* Update mappings/net/minecraft/particle/DustColorTransitionParticleEffect.mapping

Co-authored-by: LambdAurora <aurora42lambda@gmail.com>

* Update OrderedText.mapping

* Apply suggestions from code review

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

* Update Entity.mapping

Co-authored-by: LambdAurora <aurora42lambda@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-06 18:00:23 +01:00
Shnupbups 3943407bbe
world 21w13a stuff (#2277)
* world stuff

* Update BlockView.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-06 09:51:17 +01:00
modmuss50 026d197686
Some small fixes to the game test framework (#2283)
* Some small fixes to the game test framework

* Update mappings/net/minecraft/test/AfterBatch.mapping

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

* Update mappings/net/minecraft/test/CustomTestProvider.mapping

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

* TestTimeoutException

* GameTestException

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-04-05 22:41:12 +01:00
­Sollace 8ee7d712b5
Map some realms dto classes (#2282) 2021-04-05 20:06:33 +01:00
Darxoon 4e9e0cea8f
Add MONOCHROME_LOGO to Option (#2279)
* Add MONOCHROME_LOGO to Option

21w13a added the "Monochrome Logo" toggle in Accessibility settings, which makes the background in the mojang logo turn black instead of red, to reduce strain on the eyes. This change will give the Option for that the name MONOCHROME_LOGO

* Add tooltip to mappings

* Update GameOptions.mapping

* Change monochromeBackground to monochromeLogo in GameOptions

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Add lambda parameters for MONOCHROME_LOGO

* Change value to monochromeLogo in lambda parameter

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-04-05 20:06:09 +01:00
­Sollace cf91ca9aa8
field_32657 -> MAX_PARTICLE_COUNT (#2280) 2021-04-05 19:39:46 +01:00
BeetMacol 53e9c8abe5
Add StartupParameter and GameTest mappings (#2248)
* Add StartupParameter mappings

* Remove the new BlockBox mappings - already covered in #2239

* Add mappings for all TestImplementation methods

* Suggested changes
rename `GameTest` to `GameTestState`
rename `TestImplementation` to `GameTest`

* More suggested changes

* Fix GameTest package

* Another package fix

sorry

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-05 19:39:21 +01:00
Shnupbups e520895882
loot 21w13a stuff (#2274)
* loot stuff

* stuff
2021-04-05 14:33:36 +01:00
liach f1a8f3efa0
3 random classes (#2278)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-05 12:39:27 +01:00
Shnupbups 74a7bf1680
predicate stuff (#2275) 2021-04-05 11:30:23 +01:00
Shnupbups f0f341e715
util 21w13a stuff (#2273)
* util stuff

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-05 11:30:17 +01:00
Shnupbups 5aabebac46
command stuff (#2272) 2021-04-05 00:40:36 +01:00
Juuxel c34c419fa8
Screen handler updates (#2264) 2021-04-04 13:09:51 +01:00
liach 0ded7e7bd2
Some packet stuff (#2243)
* Some packet stuff

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/network/packet/s2c/play/TeamS2CPacket.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Adds unpick. Tested and works.

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-04 13:09:01 +01:00
Juuxel 416b19b716
Bee mappings (#2265)
* Bee mappings

* NBT_KEY -> KEY
2021-04-03 15:03:02 +01:00
liach 0bc94eeaeb
Some network stuff, and minor atomic stack/affine transformation revisit (#2246)
* Some network stuff, and minor atomic stack/affine transformation revisit

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

* typos

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

* Let unpick glitch. I'm hopeless

* End of experiment

the uncommented ones work while the commented ones don't

Turns out unpick is unpicking what's exposed to the public api than
what's in the method body. So yeah, not much valuable stuff to unpick
in network package as a result.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-03 15:02:25 +01:00
­Sollace 9d9739c2ad
Map the debug profiler classes (#2212)
* Map the debug profiler classes

* Place Recorder in the correct package

* A few more tweaks and fixes

* Update mappings/net/minecraft/client/util/profiler/SamplerFactory.mapping

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

* Update mappings/net/minecraft/client/util/profiler/SamplingRecorder.mapping

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-03 15:01:53 +01:00
Juuxel 04623185ff
Add NbtElement ID constants (#2235)
* Add NbtElement ID constants

* Javadoc fixes

* Javadoc fixes II

* ID -> TYPE_ID

* TYPE_ID -> TYPE

* 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>
2021-04-03 13:30:54 +01:00
apple502j d92659cd00
Map GameTest methods (#2260)
* Map GameTest methods

* Rename some mappings
2021-04-03 13:30:32 +01:00
LambdAurora 3d45004495
Map some stuff in entity models. (#2267)
* Map some stuff in entity models.

* Update mappings/net/minecraft/client/render/entity/model/ModelWithHat.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-04-03 13:30:15 +01:00
YanisBft da26f6b3ba
Entity model part constants (#2222)
* Entity model part constants

* "constants" -> "names"

* add target methods but it still doesn't work

* add even more target methods, but it still still doesn't work

* finally (thx liach)
2021-04-03 09:34:51 +01:00
Joseph Burton 2e26aca1d3
Shorten set_block_state_flags (#2263)
* Shorten set_block_state_flags

* Update ModifiableWorld javadocs
2021-04-02 23:52:20 +01:00
liach 49ac5cbb8c
Some more resource docs and a few constant fields (#2242)
* Some more resource docs and a few constant fields

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

* Apply suggestions from code review

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-02 22:05:30 +01:00
LambdAurora 355c529aa1
NBT refactor: step 3 (#2257)
* Refactor NBT parameter names and a bit more.

* Apply suggestions from code review.

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

* Apply more suggestions from code review.

* MobEntity leashTag stuff -> leashNbt

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 22:03:30 +01:00
Lava 8a1b1ea1c2
Re-add WeightedList mappings (#2252) 2021-04-02 19:06:29 +01:00
Shnupbups 333a6d75b5
21w13a entity ai stuff (#2255)
* entity

* Apply suggestions from code review

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

* nbt_key -> key

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

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

* AI stuff

* Update mappings/net/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 19:06:05 +01:00
liach e9fdb87bed
Assorted fixes (#2253)
Always name registry fields. Otherwise the name inference messes things up.
Javadocs start building again
Cfr decompile fails because decompileClasspath is resolved too early
and cannot be modified in downloadMcLibs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-02 19:01:34 +01:00
Shnupbups 9c37f31a53
21w13a unpicks updated + misc stuff (#2254)
* misc stuff

* nbt_key -> key

* structurestart

* constants

* unpicks updated to use vanilla constants
2021-04-02 14:27:54 +01:00
Shnupbups 2113e36b4c
21w13a item stuff (#2232)
* item

* nbt_key -> key
2021-04-02 13:02:16 +01:00
Shnupbups 5c895a7da4
21w13a misc stuff (#2233)
* misc stuff

* nbt_key -> key
2021-04-02 13:01:06 +01:00
Shnupbups b8dc7586ab
21w13a datafixers (#2224)
* datafixers

* map methods
2021-04-02 12:59:38 +01:00
Shnupbups 931d05b2dd
21w13a block stuff (#2230)
* block

* constant name changes
2021-04-02 12:59:25 +01:00
Shnupbups 1014a0a840
21w13a entity stuff (#2231)
* entity

* Apply suggestions from code review

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

* nbt_key -> key

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 12:59:05 +01:00
Shnupbups 86891d90dc
21w13a interfaces (#2223)
* interfaces

* whoops

* MobWithInventory -> InventoryOwner

* fix package
2021-04-02 12:58:33 +01:00
Alexander c58cee8a8d
Util math IntProviders (#2221)
* Util math IntRanges

* [Fix] Renamed similar to FloatProviders

* Add builder lambda parameters names

* Update mappings/net/minecraft/util/math/intprovider/IntProvider.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 10:27:05 +01:00
liach d440a7188c
Two annotations. They write cursed annotations (#2241)
* Two annotations. They write cursed annotations

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

* stuff

* Update mappings/net/minecraft/obfuscate/DontObfuscate.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-02 10:26:16 +01:00
Shnupbups 64eeb3383b
advancement (#2229) 2021-04-01 21:49:55 +01:00
modmuss50 c397ba1399
Add a task to generate mappings for the package-info classes. (#2249) 2021-04-01 21:45:41 +01:00
­Sollace 4e990c95f0
Yeet the unobfuscated methods from GlStateManager (#2247) 2021-04-01 21:15:44 +01:00
­Sollace bf627b7d44
Shader internal mappings (#2206)
* Map shader internals

* Update mappings/GLImportProcessor.mapping

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

* Move GLImportProcessor into the correct package

* Map some more unknowns based on - https://cdn.discordapp.com/attachments/521545796882006027/826798121722970143/unknown.png

* Updates and name changes to accomodate the names we got from Mojang

* Dammit Enigma

* Update mappings/net/minecraft/client/gl/GLImportProcessor.mapping

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

* Update mappings/net/minecraft/client/gl/GLImportProcessor.mapping

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

* Update mappings/net/minecraft/client/gl/GLImportProcessor.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-01 21:15:09 +01:00
apple502j 52b23df471
Map two debug commands (#2219) 2021-04-01 21:14:34 +01:00
BoogieMonster1O1 660a99737f
BlockBox mappings (#2239) 2021-04-01 19:58:05 +01:00
Alexander 97eab003b3
BlockPos mappings (#2237)
* BlockPos mappings

* Update mappings/net/minecraft/util/math/Vec3i.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-01 19:54:46 +01:00
Redd 157fa799b8
renamed BlockSoundGroup and Material related to Moss blocks (#2234)
* renamed UNUSED_PLANT to MOSS as the block moss now uses the material

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

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

* Renamed to MOSS_BLOCK since moss carpets exist and dont use it

* remove refrence to color

* yes

Co-authored-by: Deximus-Maximus <dexman545@users.noreply.github.com>

* fix block sound group for moss blocks being called just "MOSS"
similar to things like SNOW_BLOCK and MOSS_CARPET etc

* undo saving for new pr

* redo, was told this was fine so back to being good

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Deximus-Maximus <dexman545@users.noreply.github.com>
2021-04-01 19:53:21 +01:00
Juuxel 187b0bc81a
Add nonnull annotations (#2244)
* Add nonnull annotations

* Move to util.annotation

* Add docs
2021-04-01 19:45:28 +01:00
Alexander 56d442309e
Goat mappings (#2220)
* Goat mappings

* Fix Goat renderer and model packages
2021-04-01 13:21:58 +01:00
apple502j 14d298d55e
Map RaidCommand and new raid methods (#2218) 2021-04-01 09:00:11 +01:00
liach 771d2c5cbd
Fixes javadoc gen for 21w13a (#2238)
Closes #2217

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-01 08:49:22 +01:00
­Sollace e15349595d
class_5945 -> net/minecraft/client/util/ParticleUtil (#2211)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-31 20:55:39 +01:00
liach c17b6c17f1
Readd lost mappings (#2213)
Epic github edit
2021-03-31 20:55:29 +01:00
apple502j ed764a5358
Map MathConstants (#2214)
* Map MathConstants

* Update mappings/net/minecraft/util/math/MathConstants.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-31 20:55:20 +01:00
haykam821 67597d2529
Map light blocks (#2215) 2021-03-31 20:55:13 +01:00
modmuss50 c98e6786a5 21w13a fixes 2021-03-31 19:56:17 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
liach f2b3e55464
Clarify server player's watching position (#2199)
* Clarify server player's watching position

Fixes #2178

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

* Update poor names

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

* Apply suggestions from code review

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-30 22:40:35 +01:00
Florens Pauwels 78172ae480
Fix some wrong mappings (#2207)
* updatePose

* Fix wrong method name

* Another mapping fix
2021-03-30 22:36:56 +01:00
liach d882e0e085
CommandBlockExecutor name modernization (#2197)
* Fixes #2194

and modernizes nbt read/write method names

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-30 22:28:01 +01:00
YanisBft 1e6db48a06
Some world stuff (#2202) 2021-03-30 22:24:22 +01:00
Joseph Burton 73a389a5e0
Nbt type ids unpicked (#2201)
* Nbt type ids

* liach's suggestions

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-03-30 22:22:42 +01:00
liach ccf403e01b
Minor javadoc updates around unpick (#2200)
* Minor javadoc updates around unpick

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

* Apply suggestions from code review

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-03-28 20:33:12 +01:00
liach e9b45f9afd
Two new data fixes (#2177)
* Two new data fixes

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

* Update mappings/net/minecraft/datafixer/fix/ArrowPickupFix.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/fix/ArrowPickupFix.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-03-27 20:10:32 +00:00
liach c0c97b852e
Book using (#2198)
* Book using

Fixes #2181

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

* Apply suggestions from code review

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-27 20:10:22 +00:00
­Sollace f170a90509
RenderPhase and RenderLayer Mappings (#2196)
* Mapped the new shader-related changes in RenderPhase and RenderLayer

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

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

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

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

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

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

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

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

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-27 20:10:14 +00:00
liach 3cabe5a907
Massive networking renames (#2179)
* Massive networking renames

Closes #1321, fixes a few legacy names, also some stuff from #2174
Moved ServerAddress to client package (as it's client only)
Moved NetworkEncryptionUtils to the encryption package

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

* Some javadoc

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

* Update mappings/net/minecraft/network/listener/PacketListener.mapping

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

* Resource pack for ServerInfo, suggested by Earthcomputer

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-27 14:26:40 +00:00
apple502j c1b955a249
Map parameters of commands (#2192)
* Map parameters of commands

* Fix typo
2021-03-26 18:10:01 +00:00
liach e80f2e3513
Particle group (#2176)
* Particle group

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-26 17:27:13 +00:00
YanisBft 429408355a
Document ItemEntity and improve a few names (#2184)
* Document ItemEntity and improve a few names

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

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

* Update ItemEntity.mapping

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

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

* Update gradle.properties

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-26 17:27:00 +00:00
i509VCB 783ee457f8
Some server javadoc (#2169)
* Some server javadoc

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-26 12:54:19 +00:00
apple502j 735ac1b4c2
Map many block methods and params (#2180) 2021-03-25 12:44:47 +00:00
liach 4c9fd21882
Resource reload renames (#2131)
* Resource reload renames

Fixes #920

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

* Update some stuff for 11a

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-24 18:19:56 +00:00
mschae23 87ebde22cc
World generation mappings (#2150)
* World generation mappings

* Fixed parameters in IcebergFeature

* Used suggestion and mapped more things

* heightLimitView -> world

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-23 17:59:22 +00:00
SuperCoder79 330aeee0fb
Refactor some worldgen names (#2175)
* Refactor some worldgen names

* Update mappings/net/minecraft/structure/StructurePiece.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-23 13:05:29 +00:00
haykam821 861e908c37
Map changes to block changes in 21w11a (#2161)
* Map changes to block changes in 21w11a

* Move the Oxidizable class to the net.minecraft.block package
2021-03-22 21:48:21 +00:00
liach 89399d070e
A few more block state model gen stuff (#2154)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-22 21:48:14 +00:00
Shnupbups 258eb34e58
Unmapped an Anonymous Class (#2182)
* Unmapped an Anonymous Class

lol whoops

* Update WorldChunk.mapping
2021-03-22 17:03:22 +00:00
enbrain 80fa3fa325
Add misc javadoc (#2170)
* Add misc javadoc

* hearts -> half-hearts

* Use passive voice

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-21 13:14:31 +00:00
Emily Rose Alexandra b866ab6da7
Book mappings (#2171) 2021-03-21 13:13:45 +00:00
apple502j 7ea618ed76
Map a lot of util methods and stuff (#2172)
* A lot of util mappings

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-03-21 13:13:33 +00:00
YanisBft 294b2eda23
Fixes around blocks (#2173) 2021-03-20 12:05:58 +00:00
apple502j a8f9c00fa0
Map item methods (#2167) 2021-03-20 11:16:15 +00:00
apple502j 1a503e5e50
Map enchantments (#2166) 2021-03-20 11:16:05 +00:00
Shnupbups 76d049b459
21w11a stuff (#2160)
* 21w11a stuff

* fixes

* spriteProvider

* funni lightning haha

* javadoc
2021-03-20 11:15:54 +00:00
liach 739e64a97f
Xp dropping in living entity (#2156)
Closes #2018

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-20 11:15:41 +00:00
haykam821 e08b832062
Map and document the boolean parameter of the Explosion.affectWorld method (#2165)
* Map the boolean parameter of the Explosion.affectWorld method

* Document the boolean parameter of the Explosion.affectWorld method
2021-03-18 19:18:32 +00:00
apple502j cc5928d98c
Map dispenser behavior (#2164) 2021-03-18 19:18:24 +00:00
LambdAurora bd5a3f41d6
Refactor the whole net.minecraft.nbt package. (#2090)
* Refactor the whole net.minecraft.nbt package.

* a NBT -> an NBT

* -bits -> -bit

* Improve javadoc and consistency.

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

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

* NbtObject -> NbtCompound...

* Remove last occurences of NbtObject

I have no idea how I missed those... They are quite obvious.

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

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

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

* Apply suggestions.

* Restore addElement and setElement.

* Fix some missed stuff.

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>

* Reformat type value part of NBT elements javadoc.

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Clarify documentation.

* Apply @ChloeDawn's suggestion.

* rawType -> id

* Apply haykam's suggestions.

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* getX -> xValue in AbstractNbtNumber.

* Apply more changes from code review.

* Apply suggestions from haykam's code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2021-03-18 19:17:51 +00:00
haykam821 63faa73579
Map the RootedDirtBlock class (#2162) 2021-03-18 12:45:26 +00:00
haykam821 bf4d6850bd
Map the LightningRodBlock.WATERLOGGED field (#2158) 2021-03-17 20:30:13 +00:00
Eli Orona 1a226534c8
Finish mappings for dragon and dragon fight (#2142)
* Finish mappings for dragon and dragon fight

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

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update SittingFlamingPhase.mapping

* Update HoldingPatternPhase.mapping

* Update TakeoffPhase.mapping

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

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

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update ChargingPlayerPhase.mapping

* Update HoldingPatternPhase.mapping

* Update LandingApproachPhase.mapping

* Update StrafePlayerPhase.mapping

* Update TakeoffPhase.mapping

* Update ChargingPlayerPhase.mapping

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/HoldingPatternPhase.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-17 18:46:42 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
Alexander f27a0bf773
Two methods used on client player respawn (#2148)
* Two methods used on client player respawn

* onRespawnOrDimensionChange -> init

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-16 20:33:20 +00:00
liach 2c9f118c21
DirtPathRenameFix -> JigsawBlockNameFix (#2155)
Closes #2024

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-16 20:33:03 +00:00
kb1000 98e634fe95
Map some parts of the OpenGL state managing mechanisms (#2144) 2021-03-16 19:53:20 +00:00
Emily Rose Alexandra 34b4fd5648
ScreenHandler adjacent (#2135)
* Start work on screen handlers

* Finish up

* One final change

* Change to canBeNested
2021-03-16 19:42:00 +00:00
Shnupbups 2c00694346
Fixed an incorrect name (#2152)
* Fixed an incorrect name

Whoops, my bad

* change nextStage to degraded, also fix other spot
2021-03-16 19:41:28 +00:00
Alexander d610dff1b4
Some lambda parameters in packets (#2147)
* Some lambda parameters in packets

* Fix packet buffer lambda parameter name conflict with outer function parameter

* buf1 -> b
2021-03-16 13:35:56 +00:00
Alexander 3a70564531
Make BossBar names more consistent (#2149) 2021-03-16 13:35:46 +00:00
Alexander 70ca14e0d7
TeamS2CPacket names (#2145)
* TeamS2CPacket names

* Update mappings/net/minecraft/network/packet/s2c/play/TeamS2CPacket.mapping

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

* Update mappings/net/minecraft/network/packet/s2c/play/TeamS2CPacket.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2021-03-16 13:35:35 +00:00
Alexander c17374831e
PlayerListS2CPacket names (#2146) 2021-03-15 20:54:50 +00:00
Shnupbups 8805b2ba8e
some world stuff (#2143)
* some world stuff

* Update ChunkStatus.mapping

* Update ChunkStatus.mapping
2021-03-15 17:56:31 +00:00
mschae23 9fb9461398
Mapped world gen noise interpolator (#2138)
* Mapped world gen noise interpolator

* Noise3DInterpolator -> NoiseInterpolator

* Use SuperCoder79's suggestions

Co-authored-by: SuperCoder7979 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder7979 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-15 14:49:32 +00:00
apple502j ac8ad7eb8d
Village and POI stuff (#2137)
* POI stuff

* Village stuff

* Rename hasRecentlyWorkedAndSlept

* Update mappings/net/minecraft/world/poi/PointOfInterestType.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-14 16:20:37 +00:00
Juuxel f7e197313f
Improve ScreenHandlerContext mappings (#2140) 2021-03-14 12:28:47 +00:00
YanisBft 8276930dca
Document TradeOffer and improve various names (#2139)
* Document TradeOffer and improve various names

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-13 21:18:04 +00:00
liach 2059b35245
Map resource factory (#2127)
It's used in creating class_5944 instances and GameRenderer.method_34521,
both of which only uses the DefaultResourcePack as the only resource
factory impl effectively.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-13 21:17:59 +00:00
haykam821 4b8923c7a5
Map randomized int block state providers (#2129)
* Map randomized int block state providers

* Fix the IntProperty class being unnecessarily qualified in the documentation for the RandomizedIntBlockStateProvider class

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-12 20:18:27 +00:00
liach 557bcf9478
Map an inner class in server play network handler (#2122)
* Map an inner class in server play network handler

Followup of #2108

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

* Update mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-12 20:18:18 +00:00
haykam821 f46af2fa9b
Map vertical surface types (#2128) 2021-03-12 20:18:13 +00:00
liach 4f9e71559d
Fix repoted javadoc problems (#2132)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-12 20:18:08 +00:00
apple502j f717d5059d
Map block entitiy methods (#2118)
* Map block entitiy methods

* Rename getOrCreateTeleportIsland to setupExitPortalLocation

* Rename isChunkEmptyAt to isChunkEmpty

* Map 21w10a block entity methods
2021-03-11 23:46:31 +00:00
mschae23 e8fa3b83e4
World generation in 21w10a (#2133)
* World generation in 21w10a

* More new world generation mappings
2021-03-11 23:33:10 +00:00
liach 9ae5d6af60
Add missing methods for util math from 10a update (#2126)
* Add missing methods for util math from 10a update

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

* Update mappings/net/minecraft/util/math/BlockBox.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update mappings/net/minecraft/util/math/Vec3i.mapping

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-11 23:32:53 +00:00
Shnupbups f709a6f44f
things (#2124) 2021-03-11 19:11:49 +00:00
haykam821 96fc5ea090
Map the refactor for item frames and glow item frames (#2123)
* Map the refactor for item frames and glow item frames

* Make the names of sound event methods in the ItemFrameEntity class consistent with other sound event methods
2021-03-10 22:04:38 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 84b016a8a2
21w08a Packet stuff (#2104)
* packets and stuff

* k

* oh gosh oh heck i got carried away

* Update PlayerMoveC2SPacket.mapping

* NbtTagSizeAllocator -> NbtTagSizeTracker

* Delete TitleClearS2CPacket.mapping

* Delete ActionBarTextSetS2CPacket.mapping

* Delete SubtitleTextSetS2CPacket.mapping

* Delete TitleTimesS2CPacket.mapping

* Delete TitleTextSetS2CPacket.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayNetworkHandler.mapping

* Apply suggestions from code review

github online editor sucks lol

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Apply suggestions from code review

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

* Update mappings/net/minecraft/server/filter/TextStream.mapping

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

* liach stuff

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-10 18:17:14 +00:00
enbrain d1484c6c93
Fix typos in realms classes (#2121) 2021-03-10 13:47:00 +00:00
_iPhoenix_ 9663533ae9
Add a mapping for nether vine growing (#2120)
* Add a mapping for nether vine growing

* Add argument name to getGrowthLength (vine logic)
2021-03-09 19:52:37 +00:00
SuperCoder79 5b8943ee10
21w08b worldgen mappings (#2116)
* 21w08b worldgen mappings

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-09 19:52:29 +00:00
enbrain a7499acef9
Fix javadoc error in SleepManager (#2114) 2021-03-04 21:52:44 +00:00
liach d4b4a7e0dc
Map cycling button widget and cycling options (#2060)
* Map cycling button widget and cycling options

Turns out there are still like 2 other inner classes, but I will get em

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

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-03 20:20:56 +00:00
liach fa10065c59
Text Filtering additions (#2085)
* Long live censorship

Gonna get a mod that allows me to turn off filters. Just overwrite method_33883

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

* Update some poorer names from #1993 as well

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

* Apply suggestions from code review

Seems I overrode this thing

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-03 20:20:36 +00:00
liach 422b43695d
Mapped some stuff in tags (#2055)
* Mapped some stuff in tags

out of 10 nested classes, 4 are now mapped, 6 more

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

08a stuff

See 4dd9ce2a30 (r582544937)

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

Update mappings/net/minecraft/network/packet/s2c/play/SynchronizeTagsS2CPacket.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* use plain links

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

* Update mappings/net/minecraft/tag/TagGroup.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-02 11:32:24 +00:00
liach 0ffc0f985e
Title packets (#2103)
They did some good improvements to packets

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-01 10:48:36 +00:00
Alexander 1c8ec7e13c
Update some obvious packet names (#2108)
* Update some obvious packet names

Took 8 minutes

* getInterationType -> getType; style -> overlay

Took 8 minutes

* Revert PlayerInteractEntity, PlayerMove, BossBar, PlayerList, PacketByteBuf

Took 28 minutes
2021-02-28 20:44:19 +00:00
liach e0934a304c
boss bar restored (#2102)
action class names are from mojang enum

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-28 16:33:18 +00:00
liach 5f03d99beb Fixes #1696 SpawnGroup.isAnimal (#2097)
also adds javadoc to SpawnGroup

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-28 15:01:36 +00:00
liach 39e638e219
Some packet byte buf stuff (#2105)
* Some packet byte buf stuff

javadocs

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

* Fix readmap links

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

* More docs

also fixed a bad param

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

* Use singular

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

* add search tag for var int/long

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

* Thanks enbrain for picking out typos

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-02-28 14:41:19 +00:00
SuperCoder79 2674326689
Carver mappings (#2106)
* Carver mappings

* Apply suggestions from code review

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

* Fix grimstone

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-28 14:41:04 +00:00
Shnupbups b78585de84
Server package stuff (#1993)
* server stuff

* Delete class_5629.mapping

whoops

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Delete ServerPacketSender.mapping

* Update ServerTickScheduler.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-28 14:40:37 +00:00
liach 70f7e4cfe0
Some util mappings (#2083)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:57:26 +00:00
liach 3e16e8ee13
A few entity methods (#2082)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:57:00 +00:00
liach ec3597979c
Map the new SleepManager (#2087)
* zzz

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

* Fixed some bad stuff and more docs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:56:42 +00:00
haykam821 e26f8a2dfb
Rename the MineshaftFeature.Type#wood field to log (#2100) 2021-02-26 16:33:56 +00:00
kb1000 657e1e08b6
Map some mouse event parameter names (#2099) 2021-02-25 13:31:46 +00:00
Shnupbups 3494deb972
21w08a stuff (#2101) 2021-02-24 21:48:33 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +00:00
liach 06e8b4905b
Some path targeting stuff (#2030)
* Some path targeting stuff

I think they are very open to improvements, but I will share what I have for now

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

* Update mappings/net/minecraft/entity/ai/FuzzyPositions.mapping

This apparently kills mappingpoet. fun enough

* Update mappings/net/minecraft/entity/ai/AboveGroundTargeting.mapping

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/ai/NoPenaltySolidTargeting.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-23 20:33:28 +00:00
ByMartrixX b4973c0b60
Port some stuff from #2048 to snapshot (#2098)
* Port some stuff from #2048 to snapshot

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-23 12:06:24 +00:00
haykam821 aa417fd92f
Fix the name of and add documentation to the ItemStack#isSectionVisible method (#2096)
* Fix the ItemStack#isSectionHidden method name being incorrect

Fixes #2095

* Document the ItemStack#isSectionVisible method
2021-02-22 21:32:58 +00:00
haykam821 0025fbf845
Rename the FeatureContext#pos field to origin (#2091) 2021-02-20 11:43:44 +00:00
liach 63651ee44f
Map ChatRestriction inner class (#2086)
* another nested class, another disappointment

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-20 11:43:09 +00:00
Shnupbups 809afb3dfa
21w07a stuff (#2088)
* 21w07a stuff

* redo

* oh gosh oh heck

* oh balls

* stuff

* remove duplicate mappings

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-19 19:31:52 +00:00
SuperCoder79 625f8bd4ea
21w07a worldgen mappings (#2089)
* 21w07a worldgen mappings

* Update mappings/net/minecraft/world/gen/decorator/Decoratable.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-18 22:03:29 +00:00
liach 7c8ac787c8
Codecs.XorCodec (#2084)
* Codecs.XorCodec

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

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

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-18 18:01:27 +00:00
YanisBft e8d9479647
Refactor and document some world border names (#2040)
* Refactor and document some world border names

* Update WorldBorder.mapping

* Update mappings/net/minecraft/world/storage/SectorMap.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/world/border/WorldBorder.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-18 12:59:46 +00:00
modmuss50 03e20d7d9a 21w07a 2021-02-17 18:45:32 +00:00
LambdAurora aaf9d28388
Refactor toTag/fromTag to follow current conventions. (#2037)
* Refactor toTag/fromTag to follow current conventions.

* More refactor.

* Refactor saveSelfToNbt and saveToNbt.

* Include more renames.

* Last automatic batch.

* Update mappings/net/minecraft/structure/StructurePiece.mapping

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

* Fix GitHub resolve conflict error.

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-17 18:16:46 +00:00
liach 24d7940f58
Entity move effect and player position look packet's one field (#2062)
* Entity move effect and player position look packet's one field

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

* Fixes #2080

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:34 +00:00
liach be4b29287b
Move registry lookup codec to dynamic (#2068)
Solves the one package warning for registry lookup codec

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:29 +00:00
liach 2c562dd296
Move chunk data access related stuff to storage (#2070)
I added them when I mapped entity system. They fit storage well too

Resolves Entity chunk data access must be in same package as storage stuff

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:24 +00:00
liach 0605b9d9ae
Move dilation to be with modelcuboid data that accesses its package (#2073)
radiusXYZ fields

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:18 +00:00
Shadowfacts 7d742e402f
TextFieldWidget tweaks (#2079)
The field focused clashes with superclass field, and is not accurate. It
actually controls whether the background is drawn. The getter and setter
methods are also not correct, as the field does not just control the
border.

The setSelected method does not set whether the field is selected, but
focused. It only exists to expose the protected AbstractButtonWidget.setFocused
method. It's named setTextFieldFocused not setFocused because that would
clash with the superclass name.
2021-02-17 18:16:13 +00:00
enbrain 0c743eac04
Complete CheckboxWidget (#2081) 2021-02-17 18:16:07 +00:00
liach 896d6340d5
Move affine transformation and vector 4f to regular util math (#2074)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-15 22:40:39 +00:00
liach 9608672d4e
entity tracking listener (#2033)
* entity tracking audience

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

* Audience -> listener

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 21:48:18 +00:00
Yao Chung Hu 0120469e03
Map Sprite sub classes (#2058) 2021-02-13 21:43:16 +00:00
liach 7c00c4ffe2
Level summary unmapped nested enum (#2063)
* Level summary unmapped nested enum

Think there is only snbt provider to go

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

* Update mappings/net/minecraft/world/level/storage/LevelSummary.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 21:42:28 +00:00
liach d315ce0375
Looks like the final unmapped class? (#2065)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 21:41:50 +00:00
YanisBft ace28d437f
Skeleton conversion (#2064)
* Skeleton conversion

* Update mappings/net/minecraft/entity/projectile/ProjectileEntity.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-13 21:41:21 +00:00