Commit Graph

614 Commits

Author SHA1 Message Date
modmuss50 d792ab8d27 1.18-pre2 2021-11-16 18:18:51 +00:00
enbrain d2e21c7a27
Map block stuff (#2815) 2021-11-09 22:09:37 +00:00
enbrain 59a527d6d2
Restore parameters lost in 21w44a update (#2810) 2021-11-04 12:00:14 +00:00
modmuss50 35c46fc6b7 21w44a 2021-11-03 18:39:11 +00:00
Sarun Intaralawan b71c0597b6
AbstractBlock: add mapping for missing method (#2764) 2021-10-16 14:01:03 +01:00
Shnupbups 065317d2b3
Random stuff (#2744)
* Random stuff

* more stuff

* just a little more
2021-10-15 16:23:39 +01:00
Shnupbups 7025a2b539
Dropped invalid mappings (#2747) 2021-10-12 14:38:46 +01:00
YanisBft 751f892485
Fix some fields not being camelcase (#2739)
Fix #2673
Fix #2674
2021-10-10 22:16:05 +01:00
modmuss50 1391c4cb97 21w40a 2021-10-07 15:55:57 +01:00
Sarun Intaralawan 5e977903e1
Add mappings for BedBlock methods (#2730)
* Change `isBed` to `isBedBelow`

The implementation of this method intends to check if the block **below** is an instance of BedBlock. The method name is changed accordingly.

* Add mappings for remaining method in BedBlock
2021-10-05 17:54:43 +01:00
enbrain 33e893fd8f
Fix build errors (#2727) 2021-10-03 12:48:29 +01:00
modmuss50 7436b2b1d9 21w39a 2021-09-29 19:08:30 +01:00
liach 2cecd75ae7
Remove links to fandom (#2717)
* Remove links to fandom and polish docs

Fixes #2672

Also maps some params and one private method in state manager

* Remove extra qualification

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-26 17:34:25 +01:00
apple502j 69e93f720a
21w37a misc stuff (#2689)
* 21w37a stuff

* Apply suggestions from code review

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

* Revert BlockEntity change

* Apply suggestions from code review

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

* Move Range to util/dynamic

* Map SoundEngine init param

* Un-map BlockEntityUpdateS2CPacket#fromBlockEntity

* Move random classes to /world/gen/random/

* Update mappings/net/minecraft/util/dynamic/Range.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 BlockPredicatesChecker

* Remove empty comment

* Apply suggestions from code review

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: enbrain <69905075+enbrain@users.noreply.github.com>
2021-09-20 16:51:40 +01:00
shartte ed314d96f7
Mappings for new BlockEntity update packet logic (#2692)
* Mappings for new BlockEntity update packet logic

* 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-09-20 16:51:29 +01:00
Shnupbups d43dd63f45
21w37a stuff (#2685) 2021-09-17 16:18:49 +01:00
Player 3c62b19290 21w37a 2021-09-16 21:06:33 +02:00
enbrain ea5508aff0
Add some block documentation (#2667) 2021-09-08 12:21:01 +01:00
haykam821 19070213b2
Rename and document the BedBlock.isOverworld method (#2651)
* Rename the BedBlock.isOverworld method to isBedWorking

Fixes #2645

* Document the BedBlock.isBedWorking method
2021-08-31 20:39:59 +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
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
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
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
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
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
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
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
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
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01: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
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
ByMartrixX 8ef1ad747e
1.17-rc2 stuff (#2480) 2021-06-07 14:41:08 +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 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
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
modmuss50 c13a13d765 1.17-pre3 2021-06-01 17:22:33 +01:00
modmuss50 372c15cf37 1.17-pre1 2021-05-27 18:09:37 +01: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
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
haykam821 c5ebf2eb73
Map new methods added to the AbstractBlock.Settings class in 21w18a (#2382) 2021-05-06 08:48:10 +00: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
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
apple502j f344dece1a
21w17a stuff (#2355)
* 21w17a stuff

* Fix lint failure

* Rename onEntitiesDestroy

* Rename setYaw
2021-04-30 17:02:56 +00: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 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
Player 0d9ca60b62 21w16a 2021-04-22 00:49:29 +02: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
YanisBft 302c9c2a30
Some block constants (#2335) 2021-04-16 14:20:14 +00: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 416b19b716
Bee mappings (#2265)
* Bee mappings

* NBT_KEY -> KEY
2021-04-03 15:03:02 +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
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
Shnupbups 931d05b2dd
21w13a block stuff (#2230)
* block

* constant name changes
2021-04-02 12:59:25 +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
haykam821 67597d2529
Map light blocks (#2215) 2021-03-31 20:55:13 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +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
apple502j 735ac1b4c2
Map many block methods and params (#2180) 2021-03-25 12:44:47 +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
YanisBft 294b2eda23
Fixes around blocks (#2173) 2021-03-20 12:05:58 +00:00
Shnupbups 76d049b459
21w11a stuff (#2160)
* 21w11a stuff

* fixes

* spriteProvider

* funni lightning haha

* javadoc
2021-03-20 11:15:54 +00:00
apple502j cc5928d98c
Map dispenser behavior (#2164) 2021-03-18 19:18:24 +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
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +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
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
Shnupbups f709a6f44f
things (#2124) 2021-03-11 19:11:49 +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
_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
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
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
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
Shnupbups 3f9425b857
21w06a stuff (#2041) 2021-02-10 20:10:34 +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
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
haykam821 de4ef55992
Document the BellBlockEntity class (#2021)
* Document the BellBlockEntity class

* Remove unnecessary project files
2021-02-05 08:20:32 +00:00
Shnupbups 92f21d3e83
21w05a stuff (#2017)
* 05a stuff

* stuff

* Update HangingRootsBlock.mapping
2021-02-04 18:34:24 +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
YanisBft ecb173a29a
Various stuff (#1987) 2021-01-31 12:37:36 +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
Joseph Burton 364ee18d53
GrassPathBlock -> DirtPathBlock (#1981) 2021-01-23 17:03:20 +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