Commit Graph

2332 Commits

Author SHA1 Message Date
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
PepperCode1 f2b7465268
Move VideoOptionsScreen to options package (#2061) 2021-02-13 21:19:48 +00:00
hqics f5a31b54d9
pos -> power (#2059) 2021-02-13 21:19:28 +00:00
liach 3313e442f2
Some client nested classes (#2056)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 17:03:45 +00:00
liach eb891c9011
Biome coords class. One more top level unmapped class left (#2053)
* Biome coords class. One more top level unmapped class left

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

* Update mappings/net/minecraft/world/biome/source/BiomeCoords.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-02-13 17:02:37 +00:00
liach f649081f23
Mappings for nether portal-related functionality (#2052)
* Mappings for nether portal-related functionality

Apply suggested changes

* getOrNone → getOrEmpty
* destinationIsNether → destIsNether

getCoordinateScaleRatio -> getCoordinateScaleFactor and more mappings

* Apply suggestions from code review

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

Co-authored-by: Kyarei <uruwi@protonmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 17:01:51 +00:00
liach 3b23315115
Game events stuff. Map 2 unmapped top level classes (#2045)
* Game events stuff. Map 2 unmapped top level classes

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

* Update mappings/net/minecraft/world/event/listener/EntityGameEventHandler.mapping

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

* Update mappings/net/minecraft/world/event/PositionSource.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 17:01:00 +00:00
liach 288f20b7d5
Map atomic stack (#2054)
* Map atomic stack

Now all top level classes are mapped, or at least have a pr that maps them

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

* Update mappings/net/minecraft/util/thread/AtomicStack.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 13:04:32 +00:00
SuperCoder79 bfc3f23a7d
21w06a worldgen mappings (#2047)
* 21w06a worldgen mappings

* fix typo

* Simplify offset noise

* Update mappings/net/minecraft/world/gen/AquiferSampler.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-11 17:11:27 +00:00
haykam821 8d16bde753
Map the remaining fields and methods related to mineshaft generation (#2044)
* Map the remaining fields and methods related to mineshaft generation

* Clarify how the MineshaftPart#isAir method mutates the passed position
2021-02-11 11:05:44 +00:00
haykam821 b32a964e46
Map new methods added to the MathHelper class in 21w06a (#2043)
* Map new methods added to the MathHelper class in 21w06a

* Fix the first parameter of the lerpFromProgress method being incorrectly named larpValue
2021-02-10 20:16:20 +00:00
haykam821 f3349f12b0
Map fields and methods that prevent old worlds from loading on 21w06a (#2042) 2021-02-10 20:16:05 +00:00
Shnupbups 3f9425b857
21w06a stuff (#2041) 2021-02-10 20:10:34 +00:00
liach 47bdb3b9e4
Entity stuff, see #1905 (#1967)
* Squash the review stuff

Co-authored-by: Henry <obw@generalprogramming.org>
Co-authored-by: Thalia Nero <chrisvn00@gmail.com>

commit b9e91de684
Author: Henry <obw@generalprogramming.org>
Date:   Fri Jan 1 18:06:37 2021 +0000

    Apply some cleanup from code review

    Also removes some bits not present in 20w51a

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

commit e9f0cea6e7
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 19:40:28 2020 +0000

    Add javadocs for MessageListener

commit a6fe16a9cd
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 18:31:29 2020 +0000

    Apply some suggestions to clean up

    - Restored missing Entity methods
    - Fixed comment reference
    - Unmapped generic `flagSet`-named methods

commit cbacd58a0a
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 18:56:45 2020 +0000

    Apply some suggestions & map extra names

commit 411b92b91f
Merge: c5287fed0 c0a046c66
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 17:55:40 2020 +0000

    Merge 20w49a into world-entity

commit c5287fed06
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Wed Nov 11 23:18:02 2020 -0500

    listener -> handler

commit 490818513e
Merge: d74d922b0 3465a1132
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sun Nov 8 14:53:43 2020 -0500

    Merge branch '20w45a' into world-entity

commit d74d922b0b
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 15:28:32 2020 -0500

    Update mappings from review.

commit fbb44ecbb9
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:51:17 2020 -0500

    Some docs and mapping of methods called by the entity stuff.

commit 095711c00a
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:28:23 2020 -0500

    Some parameters and mappings.

commit caea9fed00
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:14:33 2020 -0500

    Filter -> TypeFilter

commit 9d82f4bcc4
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:19:18 2020 -0500

    Map ChunkStatusChangeListener.

commit 4699e0991e
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:11:11 2020 -0500

    Map more entity loading stuff.

commit 8a30358ef2
Merge: 6d0aa8cff ee05e2b40
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 18:10:03 2020 -0500

    Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity

commit 6d0aa8cff7
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 03:43:11 2020 -0500

    Map a lot of entity world interaction shenanigans. Feeling tired might remap later.

* Extra classes

* tweaks

* Revert some refactors

* meh, enigma bad

* move entitylike to world as it's more s/l related than actual entity

* Eliminate the "group"

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

* Bunch renames, should make sense now

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

* Fix javadoc types

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

* Human-friendly name for synthetic fields in case they appear

* rename

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-10 19:35:29 +00:00
modmuss50 16b9ec5cf2 21w06a 2021-02-10 18:42:45 +00:00
haykam821 86ada0e601
Map lambda parameters in the CauldronBehavior class (#2039) 2021-02-09 19:12:59 +00:00
liach cd729328d7
2 realms classes and some associated new stuff (#2031)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-08 19:47:20 +00:00
liach 7e5965e1ef
item slot (#2032)
* item slot

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

* Call this command item slot to prevent unintentional misusages

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-08 19:47:07 +00:00
SuperCoder79 2263069b4e
Worldgen javadoc (#2036)
* Worldgen javadoc

* Apply suggestions from code review

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

* Javadoc improvements

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-08 19:46:49 +00:00
liach df3da30394
Bundle tutorial (#2011)
* Bundle tutorial

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

* Fixed bad names and add some docs

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

* Update mappings/net/minecraft/client/tutorial/TutorialManager.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-07 13:31:42 +00:00
liach d80319f717
Map one class in rendersytem (#2025)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-07 13:31:16 +00:00
liach 9c612d4de6
class_5423 -> RegistryWorldView (#2026)
* 5423 -> RegistryWorldView

the collision methods are just overrides to specify from which interfaces
should their default impl be inherited

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

* Another easy method mapped

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-07 13:30:58 +00:00
liach 9526a4af9f
Refactored some cursed height limit view names (#2027)
* Refactored some cursed height limit view names

They were either confusing or plainly wrong

Fixed a few javadoc problems

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

* embellish javadoc

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

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

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

* height is a better name

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-07 13:30:35 +00:00
Juuxel eb10952c67
Fix getStateForNeighborUpdate parameters and document it (#2029)
Also renames AbstractBlock.FACINGS to DIRECTIONS as the array is not
used for block facings ('facing' property of a block).
2021-02-07 13:30:09 +00:00
YanisBft c0082cb0f2
Some block params and stuff (#2020) 2021-02-07 13:29:41 +00:00
Shnupbups 25afd57b07
Structure package stuff (#1996)
* structure stuff

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

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

* Update mappings/net/minecraft/structure/pool/StructurePoolElement.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-05 13:18:22 +00:00
Kroppeb f1a60b3f99
Mapped some stuff in util.math (#2010)
* Mapped some stuff in util.math

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

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

* changed to

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-05 08:20:56 +00:00
haykam821 de4ef55992
Document the BellBlockEntity class (#2021)
* Document the BellBlockEntity class

* Remove unnecessary project files
2021-02-05 08:20:32 +00:00
enbrain ca7b6af837
Add Javadoc for runDirectory and itemUseCooldown (#2019) 2021-02-04 18:34:31 +00:00
Shnupbups 92f21d3e83
21w05a stuff (#2017)
* 05a stuff

* stuff

* Update HangingRootsBlock.mapping
2021-02-04 18:34:24 +00:00
SuperCoder79 34808daff7
21w05a worldgen mappings (#2016)
* 21w05a worldgen mappings

* consume -> skip

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-04 18:34:17 +00:00
liach 8711aba3db
2 new particle nested classes (#2014)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-04 18:34:10 +00:00
liach 492292782d
New inner classes in model overrides (#2013)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-04 18:34:03 +00:00
liach d28e051684
Game options visitor (#2012)
so they don't write a code twice for save and load

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-04 18:33:57 +00:00
haykam821 fd3e94b5d5
Map moss (#2009)
* Map moss carpets

* Map moss blocks
2021-02-04 08:20:48 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +00:00
Shnupbups 4f69f09764
Util package stuff (#1994)
* util stuff

* Apply suggestions from code review

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

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

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

* Update Identifier.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-02 17:57:50 +00:00
Shnupbups f14d7b8110
advancement stuff 2 (#2004) 2021-02-02 17:55:41 +00:00
liach 852f1e5c3d
codec utilities (#2001)
* codecs extra stuff. why are they reluctant to update dfu 🤔

also util.toIntArray double and int version both now named toArray

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-02 17:53:26 +00:00
Franck V 0613b07fe0
fix: Element charTyped int parameter name (#2007) 2021-02-02 17:52:37 +00:00
liach 9ec408a4c9
Document one interesting method (#2002)
* Document one interesting method

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

* get -> find

And this appears to be the only change needed

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-02 17:52:00 +00:00
Shnupbups 42fde12baa
scoreboard stuff (#2000) 2021-01-31 17:07:33 +00:00
Shnupbups 7eaa47d02a
resource stuff (#1999) 2021-01-31 17:06:52 +00:00
Shnupbups 02d7bef8d7
Recipe package stuff (#1998)
* recipe stuff

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-01-31 17:06:36 +00:00
Shnupbups 38d541efad
predicate stuff (#1997) 2021-01-31 17:06:22 +00:00
Shnupbups dcf9a5b1a3
village stuff (#1995) 2021-01-31 17:06:03 +00:00
YanisBft ecb173a29a
Various stuff (#1987) 2021-01-31 12:37:36 +00:00
Shnupbups c1fd11697c
test stuff (#1991) 2021-01-30 13:44:00 +00:00
Shnupbups 46214799dd
Loot package stuff (#1988)
* loot stuff

* more stuff
2021-01-29 11:32:23 +00:00
Mysterious_Dev ec2b2a3cd5
Rename class_5778 -> AbstractLichenBlock and some field. (#1990)
* Rename class

* Deobf some field

* Add FACING_PROPERTIES field
2021-01-28 20:54:10 +00:00
liach 4070b8c27a
Update enigma and javadoc (#1985)
Now links to netty and loader; also fixed a jd link issue

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-01-26 13:10:08 +00:00
haykam821 c60b023328
Clarify the methods relating to entities ticking in the void (#1983)
* Clarify the methods relating to entities ticking in the void

* Simplify documentation links to methods and classes that are already in scope

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-01-25 20:19:36 +00:00
Shnupbups 55c22445e6
Item package stuff (#1984)
* item

* Delete ItemStackHolder.mapping
2021-01-25 20:17:31 +00:00
Shnupbups ae4a1cc89b
Entity package stuff (#1979)
* entity

* forgot this

* this too

* Update mappings/net/minecraft/entity/projectile/FishingBobberEntity.mapping

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

* 2 more things

* remove reference to ItemStackHolder

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-01-25 18:28:38 +00:00
Shnupbups ed50e61b78
particle (#1973) 2021-01-24 16:38:30 +00:00
Shnupbups db51af34b7
World package stuff (#1980)
* world stuff

* more stuff

also resolves #1960

* revert GlowLichenFeatureConfig

* fromTag -> fromNbt

liach seems to prefer this so whatever
2021-01-24 16:38:19 +00:00
MounderFod c3c430e61e
Added some recipe things (#1977)
* Add some recipe things

* Fixed missing arg name.

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-01-23 21:21:44 +00:00
Shnupbups 2b7b0f411f
render (#1972) 2021-01-23 21:21:31 +00:00
haykam821 c230573959
Map custom packet identifiers for game event debugging (#1982) 2021-01-23 21:21:19 +00:00
liach c07887771c
Schemas (#1978)
Fixed some bad old names as well

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-01-23 17:03:32 +00:00
Joseph Burton 364ee18d53
GrassPathBlock -> DirtPathBlock (#1981) 2021-01-23 17:03:20 +00:00
Shnupbups 7e0417e007
realms (#1974) 2021-01-23 09:48:49 +00:00
Shnupbups 090c779741
Client package stuff (#1976)
* misc client stuff

* Update mappings/net/minecraft/client/world/GeneratorType.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-01-23 09:48:35 +00:00
Shnupbups 8417dd9ca2
client gui (#1975) 2021-01-22 17:39:44 +00:00
Shnupbups 6052a35a79
advancement stuff (#1971) 2021-01-22 17:39:37 +00:00
SuperCoder79 5986e75069
Glow Lichen mappings (#1970)
* Glow Lichen mappings

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-01-22 17:39:31 +00:00
enbrain 4581685b40
Complete plant block classes (#1954) 2021-01-22 17:39:24 +00:00
YanisBft 85fa278887
21w03a stuff (#1964)
* 21w03a stuff

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

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-01-22 13:36:31 +00:00
LambdAurora 1640c6fafd
Add and update filled map related mappings. (#1969)
* Add and update filled map related mappings.

* Fix stuff.
2021-01-21 23:33:35 +00:00
Shnupbups 9b6fc33bc8
Block package stuff (#1968)
* Block package stuff

* liach stuff
2021-01-21 23:33:27 +00:00
liach 13663d73cd
Realms data fetch stuff (#1966)
* Realms data fetch stuff

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

* missed this name

* Update mappings/net/minecraft/client/realms/gui/FetchTask.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-01-21 23:33:20 +00:00
haykam821 ade9c3ded9
Map block families (#1965)
* Map block families

* Move the RecipeJsonFactory class to the proper package

* Rename the RecipeJsonFactory class to CraftingRecipeJsonFactory

* Fix the Javadoc for the RecipesProvider.getVariantRecipeInput method
2021-01-21 23:33:13 +00:00
liach 256df6a630
Switch to mappingpoet 0.2.0 (#1934)
* Switch to mappingpoet 0.2.0

Now includes obf name in javadoc. Though it takes longer to generate

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

* removed the global toolchain version requirement

enable a few superstrict doclints (won't fail build) and we are now compliant!

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-01-21 18:44:55 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
yyny a94825617b
Complete Util mappings (#1961) 2021-01-19 18:58:47 +00:00
YanisBft b39f5afed2
Server data stuff (#1958) 2021-01-16 11:45:16 +00:00
YanisBft 2fcb4af423
Client stuff and MultilineText class (#1955) 2021-01-14 13:44:48 +00:00
YanisBft defc875022
World stuff (#1953) 2021-01-09 19:58:01 +00:00
zml 644e5c1241
Rename command arguments to align with value types (#1950)
Some command arguments were named based on their ID strings, which while
they may match the Mojang names, do not match the Yarn names for their
value types. This aligns the command argument types with the correct
established yarn names for their values.
2021-01-06 22:18:04 +00:00
enbrain 098157df6a
Complete LeverBlock (#1949) 2021-01-04 22:32:49 +00:00
Deximus-Maximus b80c72911d
Update MapColor field names (#1849)
* Update MapColor field names

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Update MapColor.mapping

* Update MapColor.mapping

Co-authored-by: Kevin Eastridge <kevbeastridge@gmail.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-01-03 20:54:52 +00:00
yyny 6988b5b651
Complete mapping for `ModelVariant` (#1948)
The type is `AffineTransformation` but it is only used for rotation.
2021-01-03 20:53:47 +00:00
YanisBft 553ad17e3c
Random stuff (#1947) 2021-01-03 20:53:34 +00:00
Tom_The_Geek 9a5273f484
Map some BE renderers (#1945)
* Map some be renderer stuff

* Remove mappings that conflict with #1944

* dont delete other mappings

* fix typos

* fix tab/space issues
2021-01-03 20:53:25 +00:00
yyny 98fbc1b636
`getFirst` -> `build` (#1946)
As an optimization, this method returns the first model if there was only one model added. In the general case, this returns a `new WeightedBakedModel`
2021-01-03 20:52:02 +00:00
YanisBft 7a3b5e7c30
Beacon beam rendering and other be renderers (#1944)
* Beacon beam rendering and other be renderers

* missing parameters

* follow conventions
2020-12-31 14:23:15 +00:00
Shnupbups b9d56158e5
20w51a things (#1918)
* stuff

haha yes

* buckets

* sleeping gamerule thing

* haha yes

* haha yes

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

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

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

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

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

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

* stuff

* things

* whoop

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

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

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

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

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

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

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

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

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-12-31 14:22:27 +00:00
fewizz e7710a559e
GL things (#1926)
* GL things

* fixes

* getID -> getId

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

Co-authored-by: Gegy <gegy1000@gmail.com>
2020-12-28 13:08:33 +00:00
Siphalor 8fba5222be
Some renames concerning the hotbar (#1943)
* Rename HeldItemChangeS2C to match UpdateSelectedSlotC2S

* Fix bad parameter name of swapSlotWithHotbar
2020-12-28 13:08:19 +00:00
Szum123321 27a3bc7045
Added docs for MinecraftServer.save() (#1909)
* couple of SplashScreen names (#1766)

* couple of SplashScreen names

* Update SplashScreen.mapping

* Update MinecraftServer.mapping

Added save method comment and gave names to its arguments.

* Bad indentation

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

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

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

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

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

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

* Changed naming convention.

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

* Changed naming convention.

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

* Changed naming convention.

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

Co-authored-by: LoganDark <logandarklock@gmail.com>
Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-25 23:26:08 +00:00
yyny 839e771f38
Complete StairsBlock mapping (#1936)
```java
BlockState otherState = world.getBlockState(pos.offset(dir));
return !isStairs(otherState)
        || otherState.get(StairsBlock.FACING) != state.get(StairsBlock.FACING)
        || otherState.get(StairsBlock.HALF) != state.get(StairsBlock.HALF);
```

Pretty self-explanatory.

The `isStairs(otherState)` case is irrelevant and only exists to avoid exceptions, this function should only receive other stair blocks.
I don't see a need for `isDifferentlyOrientatedStair` because of this.
2020-12-25 23:25:43 +00:00
YanisBft 992926dd04
Fix javadocs and update Enigma (#1937)
* Fix javadocs and update Enigma

* oops
2020-12-25 23:25:28 +00:00
yyny f6fc193bb8
Complete RecipesProvider mapping (#1939)
* Complete RecipesProvider mapping

* Apply Juuxel's suggestion

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-12-25 23:25:13 +00:00
Alex Habich 4cfa0de0fb
Rename FenceBlock.isFence (#1932)
* Rename FenceBlock.isFence -> isCompatibleFence

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

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-12-24 12:05:43 +00:00
zml 9a9470a6fa
Map some of the unmapped parts of functions (#1928) 2020-12-23 21:43:49 +00:00
haykam821 6b8b93cb5a
Rename the FullScreenOption class to FullscreenOption (#1933)
* Rename the FullScreenOption class to FullscreenOption

Fixes #1922

* Fix the FullscreenOption mapping file not being renamed
2020-12-23 21:43:38 +00:00
SuperCoder79 ed7e60a9fb
Random misc world gen mappings (#1908)
* Random misc world gen mappings

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-23 18:37:43 +00:00
yyny 6bd581026e
Add missing mappings in LevelSummary (#1924)
* couple of SplashScreen names (#1766)

* couple of SplashScreen names

* Update SplashScreen.mapping

* Add missing mappings in LevelSummary

`field_24191` contains a `net.minecraft.text.Text` storing game mode, version, and other level details (such as if cheats are enabled) as a formatted string (This is the third line of text for each level in the list on the world selection screen).
The value of this field is created by `method_27430` and publicly accessible via `method_27429`.

Also mapped the `SaveVersionInfo` member to `versionInfo`, which seems like a no-brainer.

* Reorder `field_24191` to stay alphabetical

Co-authored-by: LoganDark <logandarklock@gmail.com>
2020-12-23 16:47:45 +00:00
Hephaestus-Dev c1edcd1149
Update ModelBakeSettings.mapping (#1927)
This method used to be called `isUvLocked`, and was at some point renamed to `isShaded`, which is a horribly misleading name. I'd just like to change it back to actually describing what it does.
2020-12-23 16:47:35 +00:00
haykam821 1498df0b06
Make the net.minecraft.client.options and net.minecraft.client.gui.screen.options packages singular (#1921)
* Make the net.minecraft.client.options package singular

* Make the net.minecraft.client.gui.screen.options package singular
2020-12-22 20:45:08 +00:00
jadon 59dbbee406
Fix Material.SUPPORTED -> Material.DECORATION (#1474)
Closes #1467

Signed-off-by: Jadon Fowler <j@jadon.io>
2020-12-17 20:19:50 +00:00
haykam821 471e787c32
Fix some boolean getter methods being prefixed with 'get' (#1920)
* Fix some boolean getter methods being prefixed with 'get'

Fixes #1892

* Fix the setter method for thickening fog in the BossBar class being renamed instead of the getter method
2020-12-17 20:04:22 +00:00
­Sollace d4bd96020f
Effectiveness 2 (#1272)
* isUsingEffectiveTool -> canHarvest, isEffectiveOn -> isSuitableFor

* 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>

* Drop invalid mappings

* "this method doesn't exist" he said

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-17 20:00:29 +00:00
i509VCB b99cf7dda7
Some client javadoc (#1916)
* Some client javadoc

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-17 09:07:15 +00:00
modmuss50 9ba8dbc9df 20w51a 2020-12-16 18:52:22 +00:00
Juuxel 5fe0222760
ItemStack.areStacksEqual -> canCombine (#1913) 2020-12-14 21:36:03 +00:00
Juuxel 621f8a88cb
TreeFeature.isDirtOrGrass -> canPlaceTreeOn (#1912)
* TreeFeature.isDirtOrGrass -> isSoilOrFarmland

* canPlaceTreeOn
2020-12-14 21:35:47 +00:00
YanisBft 33da594c95
20w49a cleanup (#1911)
* 20w49a cleanup

* Update Vibration.mapping
2020-12-14 21:35:39 +00:00
yitzy299 80fbe2cea7
Mapped parts of ScreenHandler (#1910)
* Mapped some methods in ScreenHandler

- Mapped method_30010 as removeStack
- Mapped some variable related to these methods
- A few more mappings in ScreenHandler

* Complete requested changes from PR review

- Changed back unrelated methods
- Fixed an area of ambiguity in onSlotClick

* Changed slotid to slotIndex

Fixing issue raised by Juuxel
2020-12-09 13:21:10 +00:00
Shnupbups d05efed548
20w49a stuff (#1903)
* fuck it i'm committing and going to bed

here's what i got

* lots of misc stuff

haha yes

* Delete class_5700.mapping
2020-12-09 12:21:32 +00:00
Taavi Väänänen 882d18f793
Add some villager mappings (#1907)
* Add some villager mappings

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-06 18:04:59 +00:00
SuperCoder79 b095467b34
Dripstone mappings (#1904)
* Dripstone mappings

* move DripstoneColumn to world/gen

* Apply suggestions from code review

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

* move dripstone utils to feature/util

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-03 19:51:28 +00:00
Shnupbups b06cc505e0
48a things (#1894)
* 48a things

* stuff

* Apply suggestions from code review

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

* just to get checks running again

* Revert "just to get checks running again"

This reverts commit 509ab81d80.

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-12-03 19:50:38 +00:00
­Sollace c0a046c665
Model part names (#1900)
* Update all the models fields that come from Mojang's json code

* Unswap tailAngle and spikeExtension fields

* Fill in missing names in MathHelper

* Apply suggestions from code review

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

* More code review fixes

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-03 13:51:45 +00:00
Taavi Väänänen a579fc53ee
Add some brain mappings (#1901)
* Add some brain mappings

* Be consistent with rest of that class
2020-12-03 13:50:56 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +00:00
­Sollace 1766e41fb5
ResourceManager documentation (#1898)
* add documentation for the ResourceManager

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-02 14:37:53 +00:00
YanisBft 768f78c0ac
Game mode stuff (#1899)
* Game mode stuff

* working javadocs are better

* Update TutorialManager.mapping
2020-12-02 14:37:37 +00:00
YanisBft 9de49c608f
Some client mappings (#1888) 2020-11-29 22:05:47 +00:00
SPGoding 6596cd0f81
Map something for experience orb (#1893)
* Map something for experience orb

* Remap method_30048
2020-11-29 22:05:30 +00:00
YanisBft ce0c5cae51
client.util.math.Vector3f -> util.math.Vec3f (#1879)
* client.util.math.Vector3f -> util.math.Vec3f

* Vec to Vector

* Revert "Vec to Vector"

This reverts commit 844d3cb107.

* simple class docs

* better word
2020-11-28 13:44:50 +00:00
YanisBft 223b18672b
Dripstones (#1891)
* Dripstones

* improvements
2020-11-28 13:44:11 +00:00
Juuxel cd420dc1c6
Map tooltip rendering methods (#1895) 2020-11-28 13:44:04 +00:00
Juuxel f5c578feb1
Rename TooltipComponent factory methods to of (#1896) 2020-11-27 20:19:36 +00:00
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +00:00
Emily Rose Alexandra 388cfed632
TooltipComponent related mappings (#1874)
* TooltipComponent related mappings

* Add missing Item and ItemStack mappings

* Correct width height mismatch

* Change to OrderedTextTooltipComponent

* Rename OrderedTextTooltip.mapping to OrderedTextTooltipComponent.mapping

* Moved tooltip components to nm.client.gui.tooltip
2020-11-22 12:49:40 +00:00
i509VCB 42277f341c
Some text renderer javadoc (#1878)
* Some text renderer javadoc

* Update mappings/net/minecraft/client/font/TextRenderer.mapping

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

* Update mappings/net/minecraft/client/font/TextRenderer.mapping

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

* Update mappings/net/minecraft/client/font/TextRenderer.mapping

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

* Update mappings/net/minecraft/client/font/TextRenderer.mapping

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

* Update TextRenderer.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2020-11-22 12:49:30 +00:00
YanisBft 40d713533d
Fix javadoc warnings (#1884)
* Fix javadoc warnings

* attempt 2

* attempt 3

* last attempt

* apply juuxel's comment
2020-11-20 17:31:04 +00:00
enbrain ea7929ac46
Suggest using Block#asItem instead of Item.fromBlock (#1743) 2020-11-19 18:37:53 +00:00
enbrain 5c96ea3f69
Complete DoorBlock (#1885) 2020-11-19 13:35:52 +00:00
MounderFod 29ec35b5d7
Added GameModeSelection and CameraSubmersionEnvironment (#1882)
* Added GameModeSelection and CauldronFluids

* Renamed enums, moved to relevant places.

* Refactored ClientCauldronFluid to CameraSubmersionType.

* Camera.getSubmergedFluidState -> Camera.getSubmersionType

* Camera.getSubmergedFluidState -> Camera.getSubmersionType

* Added javadoc to GameModeSelection.mapping

* Fixed Javadoc.

* Added some more Javadoc.
2020-11-18 12:05:09 +00:00
haykam821 c55751331e
Map classes and methods relating to powder snow and freezing (#1865)
* Map classes relating to powder snow

* Map methods used to manage freezing

* Move the PowderSnowBucketItem class to the correct package

* Rename the subtractWaterLevel method to decrementFluidLevel in the LeveledCauldronBlock class

* Remove the implicit mapping for the POWDER_SNOW_BUCKET field

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-11-18 12:02:57 +00:00
Juuxel 0ba0cc7c63
Scoreboard mappings (#1880)
* Improve scoreboard mappings

* Add some jd

* ScoreboardCriterion.OBJECTIVES -> CRITERIA

* ScoreboardCriterion.createStatCriterion -> getOrCreateStatCriterion

* Update mappings/net/minecraft/scoreboard/ScoreboardPlayerScore.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2020-11-16 18:39:56 +00:00
Thalia Nero 588d00e97f
Map NBT tag visitors. (#1837)
* Map NBT tag visitors.

* Push modifications.
2020-11-16 18:39:41 +00:00
Juuxel f3110a9a3c
Map StatType.name (#1881)
* Map StatType.getDisplayName

* StatType.displayName -> name
2020-11-15 18:37:16 +00:00