Commit Graph

825 Commits

Author SHA1 Message Date
Shnupbups 81301f8764
23w07a stuff (#3492)
* 23w07a stuff

Got a bit carried away...

Some names aren't ideal, and there's still more that could be done, so feedback is appreciated

* More + suggestions
2023-02-16 21:22:27 +09:00
modmuss50 b3dc08e924 23w07a 2023-02-15 16:19:06 +00:00
apple502j c85488944d
23w06a stuff (#3490)
* 23w06a stuff

* Apply suggestions from code review
2023-02-12 16:46:33 +01:00
Shnupbups 38e9de0826
23w06a misc stuff (#3484)
* 23w06a misc stuff

* A few suggested changes
2023-02-09 09:05:53 +09:00
modmuss50 1c9c83960f 23w06a 2023-02-08 16:10:32 +00:00
apple502j 2b3663b85f
23w04a stuff (#3462) 2023-01-25 06:05:59 +11:00
modmuss50 be911685f0 23w04a 2023-01-24 16:14:55 +00:00
Shnupbups 55dd7f6fd5
1.19.3-pre3 stuff (#3437)
* 1.19.3-pre3 stuff

* javadoc fix

100acb44f5 (r91439942)

* Update mappings/net/minecraft/sound/SoundEvent.mapping

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

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-11-30 18:58:00 +01:00
modmuss50 100acb44f5 1.19.3-pre3 2022-11-29 15:35:55 +00:00
Shnupbups 11e53e1a48
1.19.3-pre2 stuff (#3426)
* 1.19.3-pre2 stuff

yarn is very inconsistent with whether to use `index`, `id`, or even in one scenario `ordinal` for integer indexes in value lists...

* Apply suggestions from reviews
2022-11-24 13:09:49 +01:00
modmuss50 2e1a86b927 1.19.3-pre2 2022-11-23 16:58:46 +00:00
Shnupbups 5cdd2b87fb
1.19.3-pre1 stuff (#3422) 2022-11-23 11:27:12 +09:00
haykam821 a6fef56a18
Map custom note block sounds (#3419) 2022-11-23 04:12:41 +11:00
modmuss50 e3e6b5ae6f 1.19.3-pre1 2022-11-22 16:08:17 +00:00
apple502j 4853f9e9cf
22w46a misc (#3415)
* 22w46a misc

* Rename to LazyIterationConsumer
2022-11-19 04:15:10 +11:00
Shnupbups f58039039d
22w46a chiseled bookshelf (#3409) 2022-11-16 20:33:48 +00:00
Shnupbups a675bd1685
22w46a Note Block and Piglin Head (#3406) 2022-11-16 20:32:31 +00:00
modmuss50 de53e09431 22w46a 2022-11-16 15:12:55 +00:00
apple502j 3bd4327ebe
Great Registry Repackaging (#3396)
* 22w45a registry

* More registry

* Great Registry Repackaging

Registry packages have moved to `net.minecraft.registry`.
Tag packages have moved to `net.minecraft.registry.tag`.

* Revert defaulted registry rename

* Rename RegistryKeys fields to fix inconsistency

* Fix javadoc

* Move some classes again, per haykam suggestion

* Fix javadoc

* Update CommandRegistryAccess.mapping
2022-11-16 23:51:52 +11:00
Shnupbups 309902bd3a
22w45a misc (#3395) 2022-11-10 08:18:14 +09:00
Shnupbups 51b5b982a7
22w45a itemgroups (#3392) 2022-11-09 18:18:05 +00:00
MattiDragon 788100af0c
Map stew changes (#3389) 2022-11-09 16:30:07 +00:00
modmuss50 76d101e1c9 22w45a 2022-11-09 15:51:18 +00:00
Benonardo ceacf2f219
Some constant mappings (#3386) 2022-11-07 18:24:23 +00:00
apple502j c03fa3699e
22w44a stuff (#3383)
* 22w44a stuff

* Fix javadoc

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

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>
2022-11-07 09:30:08 +00:00
MattiDragon e70e7e9e03
Map Bookshelf Inventory (#3375)
* Map Bookshelf Inventory

* Fix typo (hope this works from the web editor)

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

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

Co-authored-by: Shnupbups <shnupbups@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-11-04 03:00:09 +09:00
Shnupbups c41c63f80a
22w44a stuff (#3377)
block, entity, fluid, and item packages
2022-11-03 13:00:14 +00:00
modmuss50 e7961ce445 Fix mapping conflict 2022-11-02 15:04:39 +00:00
modmuss50 ba1a44d4cb 22w44a 2022-11-02 14:58:41 +00:00
apple502j 657bc4749b
22w43a stuff (#3369)
* 22w43a stuff

* Fix javadoc

* Map more stuff

* More field mappings

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

* Apply suggestions from code review
2022-11-01 22:11:24 +11:00
Shnupbups 463e69a7f0
22w43a entity stuff (#3362) 2022-10-26 18:05:11 +01:00
Shnupbups 4d195506cd
22w43a misc block and item stuff (#3364)
* 22w43a misc

* Update CarvedPumpkinBlock.mapping

* more
2022-10-26 18:04:43 +01:00
modmuss50 aa17ad327b 22w43a 2022-10-26 15:05:20 +01:00
haykam821 aa5150c0ed
Rename the AbstractButtonBlock class to ButtonBlock (#3358)
* Rename the AbstractButtonBlock class to ButtonBlock

* Fix references to the AbstractButtonBlock class in documentation
2022-10-25 16:14:37 +11:00
apple502j 69be007d9d
22w42a everything else (#3355) 2022-10-24 23:23:16 +09:00
apple502j daf72e700a
Clarify required/enabled feature set (#3353) 2022-10-23 03:51:54 +11:00
apple502j cb41c6b597
22w42a world (#3339)
* 22w42a misc

* 22w42a world

* Apply suggestions from code review
2022-10-23 00:46:38 +11:00
apple502j abc816f0bc
22w42a blocks and items (#3341) 2022-10-22 14:43:59 +03:00
Shnupbups 05be0bde2e
22w42a hanging signs (#3331)
* 22w42a hanging signs

* whoops forgot the BER

* rotationpropertyhelper

* Apply suggestions from code review

* math indeed

* dangit github
2022-10-20 19:23:06 +01:00
Noah van der Aa 4c66ad2b5b
Rename OreBlock to ExperienceDroppingBlock (#3309)
* Rename OreBlock to ExperienceDroppingBlock

* Update JD

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-20 18:37:35 +01:00
Shnupbups 52d825a351
22w42a Chiseled Bookshelves and Bamboo stuff (#3327)
* 22w42a Chiseled Bookshelves and Bamboo stuff

including raft

* whoops forgot this

* more stuff

* more stuff

* Apply suggestions from code review
2022-10-20 18:36:31 +01:00
Player be004e3916 22w42a 2022-10-19 19:11:34 +02:00
Juuz 9cd011ed7f
Document cauldrons (#3317)
* Document cauldron behaviors (net.minecraft.block.cauldron)

* Cauldron block docs and some constants

* Make lava cauldron doc consistent with powder snow
2022-10-18 08:51:35 +01:00
YanisBft 1ba4f2cf67
Map some block entity constants (#3307)
* Map some block entity constants

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

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

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

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

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

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

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

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

* Update PistonBlockEntity.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-10-07 10:36:58 +01:00
apple502j 5f739a2594
1.19.1 bonanza 6: everything else (#3273)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-20 15:03:33 +01:00
apple502j 18b806e7c7
Fix typo, javadoc, etc (#3264)
* Fix typo, javadoc, etc

* Fix indent error

* More typo fix

* One more javadoc fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-12 11:48:14 +01:00
apple502j 6b2b89e932
Document BlockEntity (#3243)
* Document BlockEntity

* Document BlockEntityProvider

* Document BlockWithEntity

* Document BlockEntityType, BlockEntityTicker
2022-07-25 20:22:59 +01:00
apple502j c776c77b69
Document AbstractBlock and Block (#3226)
* Document AbstractBlock and Block

* Fix javadoc

* Apply suggestions from code review

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

* More fixes

* Add more docs on sidedness

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

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

* 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>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-25 20:17:25 +01:00
apple502j 1d76ecf31b
1.19-pre5 stuff (#3204)
* 1.19-pre5 stuff

* bring back arg mapping

* Update mappings/net/minecraft/world/chunk/PalettedContainer.mapping

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

* Fix javadoc

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-26 19:05:16 +01:00
Shnupbups a8e67455be
Allay Duplication mechanic and related (#3213) 2022-06-19 13:59:19 +01:00
apple502j eb2bbb15ae
Rename Structure and StructureType (#3183)
* Rename Structure and StructureType
Structures really need a revisit. In my opinion the net.minecraft.structure package should be gone and
everything should be moved to net.minecraft.world.gen.structure. That'd be a very big change, though.
This commit basically reverts the entirety of #3079 and contains the changes necessary to keep consistency
(but not other new changes). I could make it bigger, but this needs an ASAP merge to stop the bad names from
going to the release.

Summary of the renames:

- `structure.Structure` became `structure.StructureTemplate`. See `/place template`, datafixes, etc.
- `structure.StructureType` became `world.gen.structure.StructureType`.
- `world.gen.structure.StructureType` became `world.gen.structure.Structure`.
- `world.gen.structure.StructureTypes` became `world.gen.structure.Structures`.
- Other names referencing the renamed classes by their old name
- And missed "feature" renames (Fixes #3179)

* Rename StructureManager

* merging gone wrong

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-01 16:07:00 +01:00
modmuss50 a803ce3b77 1.19-pre5 2022-06-01 14:17:51 +01:00
Shnupbups 3a6d5f8450
1.19-pre2 stuff (#3189)
* 1.19-pre2 stuff + random things

* Apply suggestions from code review

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

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

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-05-24 08:55:49 +01:00
modmuss50 2ac4855aeb 1.19-pre2 2022-05-23 17:00:20 +01:00
apple502j 10c797dce2
1.19-pre1 networking (#3164)
* 1.19-pre1 networking

* More networking stuff

* Map PacketByteBuf

* Do not use 'out of order'

* Fix typo in javadoc

* Fix javadoc

* Rename chatPreviewEnabledByServer

* Rename references to Only Show Secure Chat

* Fix typo

* Use timestamp, not time

* Final bits

* Fix #3181
2022-05-23 13:07:30 +01:00
apple502j 32a545e7df
Rename/repackage ChestAnimationProgress (#3174) 2022-05-20 20:25:18 +01:00
Shnupbups 47b246db87
1.19-pre1 stuff (#3163)
* 1.19-pre1 stuff

* Update mappings/net/minecraft/server/command/PlaceCommand.mapping
2022-05-20 16:53:18 +01:00
Player d5927e8419 1.19-pre1 2022-05-18 18:58:03 +02:00
apple502j 1adf25af2e
22w19a misc (#3159)
* 22w19a misc

* Drop BufferBuilder mapping

* Apply suggestions from code review

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

* Wait what, I haven't pushed Realms32BitWarningChecker!?

* Fix javadoc

* Update mappings/net/minecraft/client/render/chunk/ChunkBuilder.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-17 12:53:58 +01:00
Shnupbups 93c00dbd71
22w19a stuff (#3156)
* 22w19a stuff

Tags, Commands, Points of Interest, Datagen Path Resolvers, and a couple of tidbits

* suggestions
2022-05-16 12:08:07 +01:00
Player 33ca01b966 22w19a 2022-05-12 20:28:43 +02:00
apple502j 288e0c3ed5
22w18a misc (#3149) 2022-05-12 17:28:22 +00:00
Shnupbups d9b288b901
22w18a stuff (#3137)
* 22w18a stuff

oh gosh oh heck

* whoops i did more

* Update Registry.mapping

* fixes

* Update MinecraftServer.mapping

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: frqnny <45723631+frqnny@users.noreply.github.com>
2022-05-11 19:28:01 +01:00
frqnny b4a8c9d8c1
Small amount of Block Mappings + Game Events (#3139)
* Small amount of Block Mappings

* Supersede mappings to Shnup's pr

* Oh?

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

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

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

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

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-06 14:45:42 +01:00
haykam821 7e4228442f
Map changes to banner patterns in 22w18a (#3135) 2022-05-05 17:36:49 +01:00
Player 5dc883892e 22w18a 2022-05-04 20:34:27 +02:00
Shnupbups e575e9ca64
22w17a stuff (#3120)
* 22w17a stuff

no chat stuff because i'm not good with that stuff

* Update mappings/net/minecraft/sound/SoundEvents.mapping

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

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

* 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>
2022-05-02 13:52:17 +01:00
Player a31d28ee5e 22w17a 2022-04-27 19:09:08 +02:00
haykam821 12f4574e08
Rename the ChestBlock.hasOcelotOnTop method to hasCatOnTop (#3117) 2022-04-27 13:42:42 +01:00
haykam821 253bbd739a
Rename the CampfireBlock#doesBlockCauseSignalFire method to isSignalFireBaseBlock (#3116) 2022-04-27 13:42:22 +01:00
Shnupbups 67250a55d3
22w15a stuff (#3091)
* 22w15a stuff

* 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>
2022-04-19 11:06:11 +01:00
Player 8b8dc86b74 22w15a 2022-04-13 18:50:51 +02:00
Shnupbups f0cf73b5fa
22w14a stuff (#3078)
* 22w14a stuff

* more

* more
2022-04-08 08:55:17 +01:00
apple502j 95ba1767b5
22w14a random (#3080)
* 22w14a random package move, BlockingSimpleRandom

* Map new util methods for shuffling

* 22w14a random params
2022-04-07 15:14:42 +01:00
Player 13c4ad0853 22w14a 2022-04-06 21:01:01 +02:00
apple502j 7930e597e4
22w13a misc stuff (#3073)
* 22w13a stuff

* Update StringIdentifiable.mapping

* Fix several mapping bugs
Resolves #3043
Resolves #3057
Resolves #3066
2022-04-06 16:05:01 +00:00
Shnupbups b029eaf79c
22w13a stuff (#3070)
* 22w13a stuff

* more stuff

dunno about this structure stuff tbh might delete later

* remove duplicates

* Apply suggestions from code review

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-04-06 13:34:24 +00:00
Player 39344922af 22w13a 2022-03-31 19:20:30 +02:00
apple502j da98aa3b21
22w12a deep dark (#3064)
* 22w12a sculk

* 22w12a warden

* Fix shnupbups conflict

* Update SculkShriekerWarningManager.mapping
2022-03-30 10:47:02 +00:00
apple502j 9e906386ba
22w12a misc stuff (#3065) 2022-03-30 09:19:16 +00:00
Shnupbups 77aef71b0a
22w12a stuff (#3059)
* 22w12a stuff

* fixes from @apple502j and a bit more

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

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-03-30 09:10:15 +00:00
Player f5611fdd0f Port from 1.19-exp1 2022-03-24 23:48:18 +01:00
modmuss50 18cd8cc489 22w12a 2022-03-24 19:10:04 +00:00
apple502j c2d1eac595
22w11a neighbor update (#3047) 2022-03-19 15:57:01 +00:00
Shnupbups 64377ac365
22w11a stuff (#3044)
* this is all i can bear to do for now, im tired

* i lied

* Update DispenserBehavior.mapping

* have a little more, as a treat

* fixes

* *more* stuff

* more animation stuff

* model parts

* initAndGetDefault

y'all have some weird defaults mojang
2022-03-19 15:55:02 +00:00
Player f61113a967 Fix anonymous class mappings 2022-03-16 22:24:28 +01:00
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01:00
apple502j 20e6725f2c
22w07a stuff (#3013)
* 22w07a stuff

* Update Registry.mapping

* Apply suggestions from code review

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

* registryKeys -> keys

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-18 22:44:32 +00:00
apple502j 3fa5f241ce
22w06a more tags/registries stuff (#3003)
* 22w06a more tags/registries stuff

* rename to getIndexedEntries
2022-02-12 17:04:11 +00:00
Shnupbups 81898922c6
22w06a stuff (#2996)
* man wtf is this

* Revert "man wtf is this"

This reverts commit 8e63ae95e9.

* oh gosh oh heck what is this

* why

* seriously

* Update RegistryEntryList.mapping
2022-02-10 18:47:38 +00:00
modmuss50 0ef70746f2 22w06a 2022-02-09 18:58:35 +00:00
enbrain e8a1536e6c
Fix some setters not matching fields and params (#2978)
* Fix some setters not matching fields and params

* Revert params with current prefix

* Rename targetPool to target

to match the setter in JigsawBlockEntity

* Revert more renames

* Revert setInvStackList -> setInventory

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 16:42:35 +00:00
Shnupbups 536210f3e7
some random stuff (#2969)
* some random stuff

* more stuff

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 16:42:22 +00:00
apple502j 10fda6dd17
22w03a stuff (#2971)
* 22w03a stuff

* Fix ExclusiveNbtCollector

* Remove OpenDoorsTask mapping for conflict

* Remove SpreadPlayersCommand mapping for conflict

* Apply suggestions from code review

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

* Renames, javadoc, etc

* Fix description of shouldCrashOnException

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 11:33:27 +00:00
modmuss50 a038ffcefc 22w05a 2022-02-02 17:09:28 +00:00
Noah van der Aa 46ff9cf902
Rename AbstractBlock#hasSolidTopSurface to isSolidSurface (#2981) 2022-01-25 15:59:18 +00:00
Noah van der Aa 3f290af9dd
Rename 'integer' parameter and add name for lambda parameter in CampfireBlockEntity (#2968) 2022-01-19 22:52:19 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
apple502j 214508ba12
Rename remaining Tag to Nbt (#2960) 2022-01-17 21:21:38 +00:00
enbrain 204202f752
Document what deprecated means in AbstractBlock (#2952)
* Document what deprecated means in AbstractBlock

* Link to the exact part we need

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-01-02 18:54:35 +00:00
Shnupbups ed71572d20
Fix door open and close sound world event id method names being swapped (#2945) 2021-12-24 14:44:29 +00:00
enbrain e7761b6d1d
Fix AbstractBlock.getMaxModelOffset (#2940) 2021-12-23 14:17:26 +00:00
enbrain 02a1e330e0
Fix the parameter of ItemDispenserBehavior.spawnItem (#2939) 2021-12-22 19:19:47 +00:00
apple502j 24a1ee97f8
Fix typos (#2928)
* Fix typo, step 1
Changes to mappings:
- `SetDamageLootFunction#<init>` `conditons` -> `conditions`

* Fix typos, step 2
Changes to mappings:
- `BedBlock#getAroundAndOnBedOffets` -> `getAroundAndOnBedOffsets`
- `EntityShapeContext#<init>` `walkOnFluidPrecicate` -> 
`walkOnFluidPredicate`
- `HungerConstants#EXHAUSION_UNIT` -> `EXHAUSTION_UNIT`
- `HungerConstants#EXHAUSION_PER_HITPOINT` -> `EXHAUSTION_PER_HITPOINT`

* Update mappings/net/minecraft/world/chunk/PaletteResizeListener.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-12-15 17:33:40 +00:00
Juuxel 29f3c7a07e
Minor Block javadoc improvements (#2909)
* Fix typos in Block javadoc

* Add mention of AbstractBlock

* Fix grammar

* ,

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-10 16:11:57 +00:00
apple502j ae4e994d1d
Rename BedBlock.isFree (#2876)
* Rename BedBlock.isFree

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

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

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-24 10:41:37 +00:00
Shnupbups 2cac3f4178
1.18 pre6 stuff (#2869)
* 1.18 pre6 stuff

* Update Biome.mapping

* Update mappings/net/minecraft/world/chunk/BelowZeroRetrogen.mapping

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

* Update mappings/net/minecraft/world/chunk/Chunk.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-23 17:24:16 +00:00
modmuss50 3eb7466178 1.18-pre6 2021-11-22 18:18:04 +00:00
Shnupbups 9f40bab231
Mapping Bonanza Part 5: Block and Item stuff (#2849)
* Block and Item stuff

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-22 13:42:59 +00:00
apple502j 5c1f90e127
More 1.18-pre2 stuff (#2838)
* More 1.18-pre2 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-11-17 14:33:42 +00:00
Shnupbups ed1378656a
Standardise use of Oxidation over Oxidization (#2837)
* Standardise use of Oxidation over Oxidization

Previously, a mix of the two were used.

Mojang seems to use the word 'Oxidation' over 'Oxidization' (see https://www.minecraft.net/en-us/article/minecraft-snapshot-20w45a ) so all instances of the latter have been changed to the former.

* missed a spot
2021-11-17 12:08:53 +00:00
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