Commit Graph

234 Commits

Author SHA1 Message Date
Shnupbups ebb104d39e
More 23w45a stuff, including unpicks (#3728)
+ a couple of random tiny things
2023-11-12 12:36:29 +09:00
Shnupbups b2526c6209
23w40a stuff (#3682)
* 23w40a stuff

Mostly block codec stuff

* more stuff

* that should probably be plural

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

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

---------

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>
2023-10-05 22:47:04 +09:00
modmuss50 8c30666139 23w40a 2023-10-04 21:37:40 +01:00
modmuss50 09085b2dbb 1.20-pre1 2023-05-10 14:10:04 +01:00
Player 3f6476c92a 23w17a 2023-04-26 11:56:04 -04:00
Shnupbups 77afab8eaa
23w14a stuff (#3539)
the loot table changes scare me so i havent touched them much at all
2023-04-06 23:15:27 +09:00
Player 64d79d8f07 23w14a 2023-04-05 10:59:01 -04:00
Juuz 4ea8ba7381
Minor fixes (#3504)
* Minor fixes

- Fix casing in the name of GlImportProcessor, fixes #3488
- Use full word "playerInventory" instead of "inv" in
  ScreenHandlerFactory for clarity. The conventions instruct to avoid
  unnecessary abbreviations and this name could be mistaken for the
  inventory of the block that the screen handler is for.
- BlockRenderManager.renderBlockAsEntity: vertexConsumer ->
  vertexConsumers since it's a VertexConsumerProvider

* Rename stack parameter in block breaking methods to tool

Closes #2988. "Tool" more clearly shows what stack the param is supposed
to be.

* Block/AbstractBlockState.isTranslucent -> isTransparent

It's true for any block with a non-full shape as well as
vines, (colourless) glass and plants - none of these are translucent.
2023-02-20 18:43:56 +11: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
modmuss50 ba1a44d4cb 22w44a 2022-11-02 14:58:41 +00:00
apple502j 69be007d9d
22w42a everything else (#3355) 2022-10-24 23:23:16 +09: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
modmuss50 a803ce3b77 1.19-pre5 2022-06-01 14:17:51 +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
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01: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 26c319461b 22w03a 2022-01-19 17:26:32 +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
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
enbrain d2e21c7a27
Map block stuff (#2815) 2021-11-09 22:09:37 +00: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
enbrain ea5508aff0
Add some block documentation (#2667) 2021-09-08 12:21:01 +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 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
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
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02: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
Shnupbups 931d05b2dd
21w13a block stuff (#2230)
* block

* constant name changes
2021-04-02 12:59:25 +01: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
Shnupbups 76d049b459
21w11a stuff (#2160)
* 21w11a stuff

* fixes

* spriteProvider

* funni lightning haha

* javadoc
2021-03-20 11:15:54 +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
YanisBft c0082cb0f2
Some block params and stuff (#2020) 2021-02-07 13:29:41 +00:00
Shnupbups 92f21d3e83
21w05a stuff (#2017)
* 05a stuff

* stuff

* Update HangingRootsBlock.mapping
2021-02-04 18:34:24 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +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
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
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +00:00
Shnupbups 1e46390347
20w45a things (#1833)
* Things

* Update AbstractCauldronBlock.mapping

* a few more things

* Create EntityModelLayers.mapping

* Update MinecraftVersion.mapping

* Update Oxidizable.mapping
2020-11-06 14:24:34 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
i509VCB 99d6a174fe
Some block javadoc (#1669)
* Some block javadoc

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-08 17:32:42 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
Yanis48 4b5dadbafa
Quick fixes (#1534)
* Quick fixes

* Update EntryListWidget.mapping
2020-07-05 13:45:54 +01:00
Juuxel f17244efd8
Block.replaced/replaceBlock -> replace (#1528)
* Block.replaced -> replaceBlock for consistency

It just delegates to replaceBlock with one constant parameter,
making it an overload. In addition, the method with the same signature
in 1.15 was called replaceBlock, so this matches that.

* Block.replaceBlock -> replace, add docs
2020-07-03 13:21:03 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
i509VCB 8a6a1db2ce
Map chunk and chunk statuses (Reattached) (#1511)
* Map chunk and chunk statuses

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

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

* So we don't have #1493 here

* chunks is fine

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

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

* Update ChunkStatus.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-26 12:34:45 +01:00
modmuss50 3974dc0927 1.16-pre6 2020-06-15 19:17:37 +01:00
i509VCB 428928b420
A bunch of param names (#1436) 2020-06-07 16:01:40 +01:00
Yanis48 1f2d9d7e4b
Bring back the parameters (#1307)
* Bring back the parameters

* better

* isBlock -> matches

* matches -> is / isOf
2020-05-02 13:31:02 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
Yanis48 19270ae02a
Random fixes (#1265)
* bug fixes

* Update BlockEntity.mapping

* abcd -> xyzw

* closes #856
2020-04-07 00:29:55 +01:00
liach c785526e75
block bad names and glstatemanager bad stuff, rotation3 -> affine transformation (#1244)
* block bad names and glstatemanager bad stuff, rotation3 -> affine transformation

close #1224, close #1233, close #1234, close #1241

* Update mappings/com/mojang/blaze3d/platform/GlStateManager.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-01 17:32:46 +01:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
Joseph Burton 4b2f6a5aa8
Pathfinding improvements (#1180)
* Pathfinding improvements

* n.m.block.BlockPlacementEnvironment -> n.m.entity.ai.pathing.NavigationType
2020-03-17 20:21:08 +00:00
Prospector 462812a68e
Container -> ScreenHandler (#1106)
* Container -> ScreenHandler

* Fix first set of issues (excluding comments)

* Fix comment issues
2020-03-08 22:18:57 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
LambdAurora f20fc8f630
Rename every view argument to world and random additions. (#1114)
* WIP on view argument nuking.

* More mappings.

* Nuke remaining view arguments.

* FeatureRendererContext#getTexture() ARG 1 wolf -> entity
2020-02-17 13:48:43 +00:00
Yanis48 692f7fadd9
Random fixes (#1109)
* fiiiiiiiiiiixes

* revert for c2s packet

* "loot table" -> "table"

* juuxeled
2020-02-17 13:46:39 +00:00
Juuxel 8187935ba8
Change EntityContext params from ePos to context (#1104) 2020-02-09 14:29:52 +00:00
Juuxel 870a3395ab Container and ContainerScreen improvements (#1035)
* Property mappings and javadoc

* BlockContext docs

* Add javadocs, param names, stacks -> trackedStacks

* Port more changes from Container -> Menu

- (Nameable)ContainerProvider -> (Nameable)ContainerFactory
  Prevents conflicts with the ContainerProvider used in screens.

- ContainerScreen9/54 -> Generic(3x3)ContainerScreen
  To match the menu class names.

- ClientDummyContainerProvider -> SimpleNamedContainerFactory
  Closes #889.

- AbstractContainerScreen -> ContainerScreen
  Removed pointless abstract prefix.

* Fix some block methods, PlayerContainer tweaks

* Networking-related container mappings
2020-01-21 18:21:12 +00:00
Yanis48 1fd1bad3dc (Block) entity position fixes (#964, #998, #1046, #1061) (#1051)
* fixed things

* deserialize2 -> deserialize

* (Block) entity position fixes

* setPosition -> setPos

* fixed #1061
2020-01-17 19:48:35 +00:00
liach 260c102750 1.15 pre 5 new mappings and other cumulative new mappings (#996)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-12-05 23:28:21 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
Juuxel d9a890e5dc Fix various issues (#966)
* Fix various issues

Fixed TextRenderer.draw parameter names. Closes #965.
RabbitEntity.method_20669 -> canSpawn. Closes #956.
Block/Fluid.stateFactory + getters -> stateManager. Closes #957.
MinecraftServer.advancementManager + getter -> advancementLoader.
ServerPlayerEntity.advancementManager + getter -> advancementTracker.
Closes #960.
PlayerManager.getAdvancementManager -> getAdvancementTracker.
PlayerManager.advancementManagerMap -> advancementTrackers.
Fixed typo in StatePredicate.test param name (sate -> state).

* PlayerManager.advancementManagerMap -> advancementTrackers

* liach's suggestion
2019-11-19 14:22:22 +00:00
modmuss50 b8403e7661 19w42a 2019-10-16 18:09:47 +01:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
liach e68c809d40 19w36a: The art of nether update (#862)
* 19w37a biomes mappings

also mapped that new world thing to VoxelView (all methods mapped)

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

* Fixes two broken packages

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

* access -> getStored

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

* Few biome fields nearby

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

* voronoi

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

* cull -> culling

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

* voxelview -> worldview, biomeaccessor -> biomeaccess, biomeaccessstrategy -> biomeaccesstype

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

* Other improvements

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

* fix biome access name in chunkregion

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

* addSalt, map another biome array field, also move access things to world/biome from world/biome/source package

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

* Revert the is full cube name

(It was like whether to check neighbor for shape check)
2019-10-09 17:44:19 +01:00
Juuxel 174d38ad30 Drop 'on' prefixes from block tick methods, Block.activate -> onUse (#886)
* Drop 'on' prefixes from block tick methods, activate() => use()

* use -> onUse
2019-10-03 13:19:48 +01:00
Laura F. D 0357243c9f isOpaque backing field/block settings (#885) 2019-09-30 21:26:00 +01:00
Juuxel d9447e37cc Randoms and datafixers (#871)
* Some random mappings

* Revert block tick method renames
2019-09-29 18:46:25 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +01:00
Shnupbups c9f29349e4 Some stuff (#854) 2019-09-15 13:05:47 +01:00
modmuss50 4130e35c88 Merge #848
# Conflicts:
#	mappings/net/minecraft/world/CollisionView.mapping
#	mappings/net/minecraft/world/chunk/light/LightingProvider.mapping
2019-09-12 14:34:29 +01:00
modmuss50 b198b9c6ca Merge #822
# Conflicts:
#	mappings/net/minecraft/entity/LivingEntity.mapping
#	mappings/net/minecraft/entity/mob/MobEntity.mapping
#	mappings/net/minecraft/util/SystemUtil.mapping
2019-09-12 14:28:23 +01:00
modmuss50 d75cbd833f 19w35a 2019-08-28 18:46:02 +01:00
Shnupbups 4243e9813b Mapped lots of random things (#794)
* Stuff

* more stuff

* even more stuff

* removed an accidental thing

* stuff 4: electric boogaloo

* Update BlockState.mapping

* Stuff VI: The Search for Stuff V

* Update NativeImage.mapping

* removed things already mapped by Rune's PR

Namely `net/minecraft/realms/YesNoScreen' (`com/mojang/realmsclient/gui/screens/RealmsConfirmScreen` in Rune's PR), `net/minecraft/realms/RealmsError' (`com/mojang/realmsclient/client/RealmsError` in Rune's PR), and `net/minecraft/realms/InvalidClientScreen' (`com/mojang/realmsclient/gui/screens/RealmsClientOutdatedScreen` in Rune's PR).

* Stuff: The Final Stuffening

* Stuff: Revengeance

* Stuff Episode IX: Endgame
2019-07-31 15:20:12 +01:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
modmuss50 b6ed693b8d 1.14.3-pre4 2019-06-19 20:24:08 +01:00
modmuss50 b27778997a 1.14.3-pre3 2019-06-19 18:48:53 +01:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Chloe Dawn 510f8cbc08 Text refactoring + related mappings (#737)
* Text refactoring + related mappings

* Add a more explicit name for the truncated string getter

* Move Formatting to util package and fully map members

* Advancement#toHoverableText

* Correct mappings in ScoreboardObjective

* Various changes in NbtText and subclasses

* JSONREADER -> JSON_READER

* Shorten TranslatableText argument getter to getArg

* Cleanup mappings in Difficulty class

* Fix Style$Serializer#deserialize json parameter name

* Cleanup some field names in TranslatableText

* More changes to NbtText

* Fix incorrect method name in Texts

* toGreenText -> join

* Use more semantically correct name joinOrdered

* Fix method name in Entity

* Actually fix the method names.. derp
2019-06-07 12:18:04 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
Adrian Siekierka 7d5de74139
Block.isOpaque, Phase tick mappings (#708) 2019-05-18 21:45:50 +02:00
NeunEinser 86634d3461 some new 1.14.1-pre1 stuff (#686) 2019-05-07 23:48:07 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
Runemoro 892d4afb41 FIx issues (#680)
* FIx misnamed things

* Game options and mysterious setblockstate boolean

* a

* Remove duplicate class, remove enum constant from Unit
2019-05-07 15:21:22 +01:00
NeunEinser 802650ea21 Removed enum constants were auto mapping works, added them where it does not. (#663) 2019-05-06 17:57:44 +01:00
quaternary b0db177b4f Lots of fields, methods, params relating to blocks and their internals (#651)
* Lots of fields, methods, params relating to blocks and their internals

* Woops

* More STUFF! 😱

* Woops 2 electric boogaloo

* Minor text fix with pistons

* Reviews

* Map Block#n and friends

* Reviews

* 💩

* snowman -> snow golem

* Consistification with wither skull

* s/nt//

* rightChest/leftChest... might be backwards?
2019-05-05 23:31:29 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
Runemoro 4ce0451a0a Block mappings (#638)
* Block mappings

* upddate -> update

* maxFrostedIceNeighborCount -> maxNeighbors

* tickViewerCount
2019-04-18 21:50:55 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00