Commit Graph

90 Commits

Author SHA1 Message Date
apple502j d0db89512a
24w03a stuff (#3766) 2024-01-18 15:07:47 +00:00
Shnupbups 45161af845
24w03a stuff (that isn't packets or networking) (#3763)
* 24w03a stuff

No packet or networking stuff here! Just the not-packet-or-networking stuff.

* damnit github

* a bit more
2024-01-18 11:27:51 +09:00
modmuss50 e003d7446f 24w03a 2024-01-17 16:52:02 +00:00
Shnupbups 1bbec7296b
23w51 stuff (#3754)
not entirely finished, but it's getting late...
2023-12-19 18:41:40 +09:00
modmuss50 8c992c5e9a 23w51a 2023-12-18 15:11:52 +00:00
Shnupbups bc0aacbaff
23w45a stuff (#3719)
* 23w45a stuff

very unfinished, lots still left to do
feel free to add to this

* map class_8984
2023-11-10 00:13:56 +09:00
apple502j 0d04d119d8
23w41a stuff (#3698)
* Improve some names mapped in #3694

- `VirtualMachine` sounds like an expensive object to construct. This isn't really a VM, so rename it to something
more neutral.
- `Control` conflicts with the class in entity.ai package. Add a prefix.
- Related changes.

* Rename inaccurate method names in VehicleEntity

* Map ProjectileUtil constant

* More command stuff

* Realms stuff

* Map everything else

* Apply suggestions from code review

* Update mappings/net/minecraft/entity/vehicle/VehicleEntity.mapping
2023-10-18 23:03:58 +09:00
apple502j ff86a2466c
23w40a blocks (#3688)
* 23w40a blocks

* Update mappings/net/minecraft/block/ButtonBlock.mapping
2023-10-08 19:30:17 +11: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
Shnupbups c79ff3fbdc
23w32a stuff (#3626)
* 23w32a stuff

* 23w32a stuff

* re-fix build whoops

* whoops

That's what you get for trying to do this stuff on a phone
2023-08-10 12:09:04 +09:00
modmuss50 8cf6931518
Rename `AbstractBlock.Settings.of()` to `AbstractBlock.Settings.create()` (#3573) 2023-05-11 17:27:44 +10:00
modmuss50 09085b2dbb 1.20-pre1 2023-05-10 14:10:04 +01:00
Shnupbups 2d7a44cb83
23w17a stuff (#3552)
* 23w17a stuff

I have no clue when it comes to font or lighting stuff, so the bulk of this snapshot isn't covered here...

* Update mappings/net/minecraft/client/texture/NativeImage.mapping

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

---------

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2023-04-27 00:58:55 +02:00
Player 3f6476c92a 23w17a 2023-04-26 11:56:04 -04:00
apple502j 433a1c4a6b
More 23w16a stuff (#3551)
* More 23w16a stuff

* Drop invalid mappings

* Update javadoc
2023-04-22 16:39:21 +10:00
Shnupbups 17900fc490
22w16a stuff (#3550) 2023-04-22 00:15:29 +09:00
modmuss50 3d7de5d857 23w16a 2023-04-20 15:15:32 +01: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
Shnupbups c9b27361a0
23w13a stuff (#3530)
* 23w13a stuff

Much of the changes to lighting are still unmapped as I'm feeling too small brain to figure them out right now.

* dropped hanging sign block stuff

Apple says theirs is better :)

* drop projectileutil
2023-03-30 02:01:36 +09:00
modmuss50 0829f368ec 23w13a 2023-03-29 15:34:11 +01:00
apple502j a8df882cf3
23w12a stuff (#3526)
* 23w12a stuff

* Fix javadoc

* Fix typo
2023-03-25 16:50:21 +09:00
Shnupbups 7d293c0ef2
23w12a stuff (#3525)
* 23w12a stuff

Probably enough for now, I'll take a more thorough look later

* More stuff
2023-03-23 12:25:44 +09:00
modmuss50 ab74ad09af 23w12a 2023-03-22 16:31:25 +00: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
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
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
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
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 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
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
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
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 9e906386ba
22w12a misc stuff (#3065) 2022-03-30 09:19:16 +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
apple502j 3fa5f241ce
22w06a more tags/registries stuff (#3003)
* 22w06a more tags/registries stuff

* rename to getIndexedEntries
2022-02-12 17:04:11 +00:00
modmuss50 0ef70746f2 22w06a 2022-02-09 18:58:35 +00:00
Noah van der Aa 46ff9cf902
Rename AbstractBlock#hasSolidTopSurface to isSolidSurface (#2981) 2022-01-25 15:59:18 +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
enbrain e7761b6d1d
Fix AbstractBlock.getMaxModelOffset (#2940) 2021-12-23 14:17:26 +00:00
Sarun Intaralawan b71c0597b6
AbstractBlock: add mapping for missing method (#2764) 2021-10-16 14:01:03 +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
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 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
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
YanisBft 294b2eda23
Fixes around blocks (#2173) 2021-03-20 12:05:58 +00:00
Juuxel eb10952c67
Fix getStateForNeighborUpdate parameters and document it (#2029)
Also renames AbstractBlock.FACINGS to DIRECTIONS as the array is not
used for block facings ('facing' property of a block).
2021-02-07 13:30:09 +00:00
YanisBft c0082cb0f2
Some block params and stuff (#2020) 2021-02-07 13:29:41 +00:00
Shnupbups 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 3465a11323
Map classes relating to candles (#1844)
* Map classes relating to candles

* Use the same names for property fields in AbstractCandleBlock subclasses

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

* Simplify the name of the AbstractBlock.testIfInTag method

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

* Rename the AbstractBlock.Settings.materialColor method to match the new class name

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-08 14:36:09 +00:00
AlexIIL dd60a9b973
BlockEntity tick and creation (#1836)
* Minor BlockEntity ticking names.

* And some more.

* More.

* More.

* Map a lot more BlockEntity.tick methods.

* World mappings.

* Javadoc for BlockWithEntity.checkTYpe.

* Name params.

* Map BlockEntityType.class_5559 as BlockEntityCreator

* Rename BeehiveBlockEntity.tick to tickServer as it's not used on the client.

* WorldChunk.emptyBlockEntityTicker -> EMPTY_BLOCK_ENTITY_TICKER

* tickServer -> serverTick and tickClient -> clientTick

* WorldChunk.method_31718 -> wrapTicker (rather than createTicker, as this is more accurate).

* Map WorldChunk.method_31715 as canTickBlockEntities.

* DirectBlockEntityTicker -> BlockEntitytTickInvoker

* "ChunkBlockEntityTicker" -> "BlockEntityTickInvoker".

* Bring back "direct" instead of "impl".

* "null*" -> "empty*"

* BlockEntityCreator -> BlockEntityFactory.

* CampfireBlockEntity: tickUnlit/tickLit -> unlitServerTick/litServerTick

* creator/supplier -> factory in BlockEntityType.
2020-11-06 12:49:58 +00:00
Deximus-Maximus 39b54d09e2
MaterialColor -> MapColor (#1397)
* MaterialColor -> MapColor

* MaterialColor -> MapColor

* revert accidental rename

* clarify hashmap vs item map

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

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

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

Co-authored-by: Chloe Dawn <chloe@sapphic.dev>

* change method names

* Fix capitalization errors

* implement feedback

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Chloe Dawn <chloe@sapphic.dev>
2020-11-05 23:53:41 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
YanisBft e6c1a58485
Some fixes (#1757)
* Some fixes

* lightLevel -> luminance

* added javadocs for luminance

* not sure
2020-09-18 13:02:12 +01:00
AppleTheGolden 6db313ddaa
rayTrace -> raycast (#1700)
* rayTrace -> rayCast

* rayTrace -> raytrace

* RayCastContext -> RaycastContext

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-08-23 22:04:34 +01: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
liach 79b3bf1c4b
Less controversial new stuff (#1567)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-09 12:36:04 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
modmuss50 3974dc0927 1.16-pre6 2020-06-15 19:17:37 +01:00
Shnupbups 49284a0f45
pre1 stuff (#1420)
* pre1 stuff

idk

* more stuff

* remove things already mapped

removes things already mapped by newly merged prs
2020-06-07 16:02:50 +01:00
Juuxel 3eb088abba
Various misc changes (#1372)
* Fix #1369

* CriteriaMerger -> CriterionMerger

* ItemRenderer.renderGuiItem + related names

Closes #1361.

* WololoGoal.purpleSheepPredicate -> convertibleSheepPredicate

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

Closes #1344.

* Improve GUI item rendering names

* MinecraftClient.(block/item)ColorMap -> (block/item)Colors

* Change wording a little

* Model overrides
2020-06-07 15:26:33 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
Deximus-Maximus 6d8141822d
Couple of AbstractBlockState Mappings (#1410)
* AbstractBlock method_29291 -> doesRequireTool
field_25184 -> requiresTool

* method_29292 -> requiresTool
field_25185 -> requiresTool

* doesRequrieTool -> toolRequired

* field's requiresTool -> toolRequired

* toolRequired -> isToolRequired

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

* requiresTool -> toolRequired

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-01 22:36:01 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Mikhail Oleynikov 9ae9f240a7
onBlockRemoved -> onStateReplaced (#1363)
* onBlockRemoved -> onStateReplaced

* onStateReplaced Javadoc

* parent -> super style change

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-05-19 01:44:24 +01:00
Joseph Burton d31805d0b7
Block Action -> Synced Block Event. Level Event -> Synced World Event (#1323)
* block action -> synced block event, level event -> synced world event

* Missed a couple, made parameters consistent
2020-05-02 21:29:07 +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
Juuxel 5d0a3114ba
AbstractBlock.Settings.dropTableId -> lootTableId (#1276) 2020-04-09 18:38:37 +01:00
Prospector 53df6519d5
getDropTableID -> getLootTableId (#1274)
* getDropTableID -> getDropTableId

* Update AbstractBlock.mapping

* dropTableId -> lootTableId
2020-04-09 13:22:03 +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 a068df5d3d 20w13a 2020-03-25 17:49:03 +00:00
Meredith Espinosa ea26d32385
Map methods in AbstractBlock and subclasses (#1203)
* update abstract block mappings

* rename slowDownMultiplier to unify with settings name

* add in all the parameters

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* change a few names

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-19 14:07:11 +00:00
modmuss50 839d6878b9
Fix swapped names (#1205) 2020-03-18 23:10:54 +00:00
modmuss50 d3f199b863 Initial pass on Abstract Block - Open to changes 2020-03-18 19:43:14 +00:00
Renamed from mappings/net/minecraft/class_4970.mapping (Browse further)