Commit Graph

639 Commits

Author SHA1 Message Date
apple502j dfda2435aa
Fix several mapping bugs (#3074)
Resolves #3043
Resolves #3057
Resolves #3066
2022-04-14 22:19:33 +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