Commit Graph

147 Commits

Author SHA1 Message Date
Shnupbups 4ac86f56c0
23w13a_or_b stuff (#3537)
* 23w13a_or_b stuff

* stuff
2023-04-10 22:13:14 +01:00
modmuss50 5f172bcaf9 23w13a_or_b 2023-04-01 11:20:48 +01:00
modmuss50 1c9c83960f 23w06a 2023-02-08 16:10:32 +00:00
Shnupbups e515eeded7
1.19.3-rc1 stuff (#3439) 2022-12-02 08:39:10 +09:00
modmuss50 0367e40f4b 1.19.3-rc1 2022-12-01 15:19:49 +00:00
Shnupbups c41c63f80a
22w44a stuff (#3377)
block, entity, fluid, and item packages
2022-11-03 13:00:14 +00: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
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 522923b3ff
Document Item (#3230)
* Document Item

* Document ItemStack

* Apply suggestions from code review

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

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

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

* Add some javadocs, see enbrain's review

* Document more ItemStack stuff

* Finish documenting Item

* 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>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-25 20:20:10 +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 4702895447
22w11a misc stuff (#3053)
* 22w11a networking

* 22w11a world

* 22w11a misc stuff

* Update javadoc for PacketByteBuf
2022-03-23 10:37:54 +00:00
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01: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
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +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
enbrain d87a058774
Fix ItemStack#cooldown (#2787) 2021-10-27 15:16:19 +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
Player 3c62b19290 21w37a 2021-09-16 21:06:33 +02:00
Devan-Kerman 56ae93966e
Add javadoc to getItemBarStep (#2610)
* Update ItemStack.mapping

* clarify length

* change to return javadoc

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

* change to return javadoc

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-08-02 11:09:59 +01:00
LambdAurora 3299249a97
ItemStack refactor and documentation. (#2511)
* ItemStack refactor and documentation.

* shouldSyncNbtToClient -> isNbtSynced

* Fix method name.

* Improve consistency.

* More documentation.

* NBT operations documentation.

* Fix bad link, add Sub part to operations to Sub NBT.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:26:50 +01:00
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
Emily Rose Alexandra 624433f650
Slot.isEnabled and CommandItemSlot -> StackReference (#2452)
* Fix infuriatingly mismapped Slot method

* CommandItemSlot -> StackReference

* Update command name
2021-05-30 22:10:13 +01:00
enbrain f59ff97386
Map lambda parameters of record codec instance (#2438) 2021-05-28 08:08:35 +00:00
Player 0d9ca60b62 21w16a 2021-04-22 00:49:29 +02:00
haykam821 fbad72f5e9
Remove unnecessary paragraph end tags from documentation (#2295)
* Remove unnecessary paragraph end tags from documentation

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

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

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-11 13:08:07 +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 2113e36b4c
21w13a item stuff (#2232)
* item

* nbt_key -> key
2021-04-02 13:02:16 +01:00
apple502j a8f9c00fa0
Map item methods (#2167) 2021-03-20 11:16:15 +00:00
Emily Rose Alexandra 34b4fd5648
ScreenHandler adjacent (#2135)
* Start work on screen handlers

* Finish up

* One final change

* Change to canBeNested
2021-03-16 19:42:00 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
haykam821 aa417fd92f
Fix the name of and add documentation to the ItemStack#isSectionVisible method (#2096)
* Fix the ItemStack#isSectionHidden method name being incorrect

Fixes #2095

* Document the ItemStack#isSectionVisible method
2021-02-22 21:32:58 +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 b9d56158e5
20w51a things (#1918)
* stuff

haha yes

* buckets

* sleeping gamerule thing

* haha yes

* haha yes

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

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

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

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

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

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

* stuff

* things

* whoop

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

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

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

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

* Update mappings/net/minecraft/world/gen/chunk/GenerationShapeConfig.mapping

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

* Update mappings/net/minecraft/world/dimension/DimensionType.mapping

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

* Update mappings/net/minecraft/world/dimension/AreaHelper.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-12-31 14:22:27 +00:00
YanisBft 992926dd04
Fix javadocs and update Enigma (#1937)
* Fix javadocs and update Enigma

* oops
2020-12-25 23:25:28 +00:00
­Sollace d4bd96020f
Effectiveness 2 (#1272)
* isUsingEffectiveTool -> canHarvest, isEffectiveOn -> isSuitableFor

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Drop invalid mappings

* "this method doesn't exist" he said

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-17 20:00:29 +00:00
Juuxel 5fe0222760
ItemStack.areStacksEqual -> canCombine (#1913) 2020-12-14 21:36:03 +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
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +00:00
Emily Rose Alexandra 388cfed632
TooltipComponent related mappings (#1874)
* TooltipComponent related mappings

* Add missing Item and ItemStack mappings

* Correct width height mismatch

* Change to OrderedTextTooltipComponent

* Rename OrderedTextTooltip.mapping to OrderedTextTooltipComponent.mapping

* Moved tooltip components to nm.client.gui.tooltip
2020-11-22 12:49:40 +00:00
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +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
Emily Rose Alexandra ee05e2b403
Bundle related methods (#1843)
* Bundle related methods

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

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

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

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

* Match ItemStack with Item methods

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-11-06 22:51:37 +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 078ef269e1
All inner classes + misc other things. (#1586)
* All inner classes + misc other things.

* Update mappings/net/minecraft/state/property/Property.mapping

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

* move CharPredicate

* move CharPredicate

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-20 16:11:00 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
haykam821 08702f1120
Change hasEnchantmentGlint to hasGlint (#1495)
Fixes #1492
2020-06-24 10:09:55 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
Kroppeb 4c6a867e69
Named the Codecs where possible (#1388)
Only in files where there is a single static Codec.
Also named 2 (I think) loggers to "LOGGER". should have kept the seperate maybe bu /shrug
2020-05-21 12:35:32 +01:00
liach c1df20bd04
item property getter (#1305)
* item property getter

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

* rename this to model predicate provider as it provides values for model predicates

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 12:20:29 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
Joseph Burton 6c500b99ac
Fix ItemStack mappings (#1188)
* Fix ItemStack mappings

* I guess it doesn't ignore count either
2020-03-16 17:24:44 +00:00
Deximus-Maximus 601be823bf
getMiningSpeed -> getMiningSpeedMultiplier (#1161)
Update name to be accurate and more descriptive
2020-03-10 20:42:24 +00:00
Shnupbups 80e8183975 Begin 19w34a mappings (#828)
* Begin 19w34a mappings

* more stuff

* More stuff

* stuff

* stuff again

* Update EntityRenderer.mapping

* x

* Finish mapping and modify BeeEntity, name string damagesource, map bee model

* Fix typo in class_1282 method 21748

* Update BeeEntity.mapping

* Update BeeHiveBlockEntity.mapping

* more stuff
2019-08-25 15:18:10 +00: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 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 4bb427e528 getCustomName -> getName (#736) 2019-06-06 14:46:13 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
Chloe Dawn bb90607728 Item refactoring (#712) 2019-06-03 18:42:18 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
Runemoro ca0680d8ca Item mappings (#641)
* Item mappings

* shouldCheckIfStateAllowsPlacement

* canBeLit
2019-04-23 14:47:50 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
Runemoro 7bedd4cd9f Map all commands and argument types 2019-04-11 01:58:54 -04:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
Runemoro 8fb75cc949 Entity mappings 2019-04-04 16:04:27 -04:00
modmuss50 845be1d2ec 19w14a 2019-04-03 17:16:41 +01:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Terrails 24ede5ae9b 19w11b FoodItem replacements (#523)
* Mappings for the FoodItem replacement

* Update FoodItemSetting.mapping

* Update FoodItemSetting.mapping

* Update FoodItemSetting.mapping

* Make setter methods similar to other Setting builders
2019-03-18 19:54:11 +00:00
modmuss50 e3d24ae102 19w11b 2019-03-14 15:39:51 +00:00
Adrian Siekierka 333e59da73 19w11a 2019-03-14 13:57:09 +01:00
Blake Redenius 3678cb6171 Add 2 new methods mappings and rename a few others. (#516)
* Change ItemStack#invalid to ItemStack#empty. Only ever used when checking if the stack is empty

* Rename BucketMilkItem to MilkBucketItem

* Change FireworksItem to FireworkItem (registry name is also singular, not plural)

* Rename EntityType.ILLAGER_BEAST to RAVAGER to match the class / actual entity name.

* Map 2 of FenceBlock's connection-related methods.
2019-03-09 15:13:29 +01:00
Adrian Siekierka c25fcbb177 19w08b 2019-02-21 19:19:18 +01:00
Adrian Siekierka 66156a5471 update to 19w08a 2019-02-20 21:49:23 +01:00
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00
Adrian Siekierka 1bfe80a06a update to 19w05a 2019-01-30 18:48:39 +01:00
Adrian Siekierka 15dca47835
toast/item/loot/misc names (#429) 2019-01-30 18:24:47 +01:00
Adrian Siekierka 995df6291a update to 19w04a/Enigma 0.13.x 2019-01-24 20:10:22 +01:00
Runemoro 20ffe31834 Block entities and blocks (#417) 2019-01-24 17:08:22 +01:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Yanis Guaye 30322f218e BlockState-related mappings (#388) 2019-01-12 01:31:00 +01:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
Adrian Siekierka c8152014af rebuild method names 2018-12-12 18:22:18 +01:00
Adrian Siekierka e9ccf701a7 port to 18w50a 2018-12-12 18:12:26 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
asie 63470107ac mapping name unification & fixes 2018-12-03 20:57:18 +01:00
SquidDev 2367df1d42 Add back several mappings dropped in the latest snapshot (#226)
* Add mappings back for GUI methods

* Add back argument mappings for blocks

And some other changes. I rather forgot.

* Item and entity arguments

* A whole bunch of argument mappings

* Items (again) and fluids

* Entity stuff 'n things

* Fixup most of the client stuff

* Some remaining items
2018-11-30 14:14:53 +01:00
Adrian Siekierka 6a53fc9df7 update to 18w48b 2018-11-30 12:43:16 +01:00