Commit Graph

144 Commits

Author SHA1 Message Date
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
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
Draylar d49bf4a58f
JavaDocs for Item and Item.Settings (#1792)
* item mappings

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

Co-authored-by: Gegy <gegy1000@gmail.com>

* Grammar fix from Items's to Item's

Co-authored-by: Gegy <gegy1000@gmail.com>

* fix Item capitalization

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Fix style issues. Use inline return

* Fix javadoc format error

* Remove periods at the end of inline returns

* Update Item.mapping

Co-authored-by: Gegy <gegy1000@gmail.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>
Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
2021-06-09 00:14:38 +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
modmuss50 372c15cf37 1.17-pre1 2021-05-27 18:09:37 +01: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
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
Shnupbups f709a6f44f
things (#2124) 2021-03-11 19:11:49 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 55c22445e6
Item package stuff (#1984)
* item

* Delete ItemStackHolder.mapping
2021-01-25 20:17:31 +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
modmuss50 9ba8dbc9df 20w51a 2020-12-16 18:52:22 +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
Shnupbups b06cc505e0
48a things (#1894)
* 48a things

* stuff

* Apply suggestions from code review

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

* just to get checks running again

* Revert "just to get checks running again"

This reverts commit 509ab81d80.

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-12-03 19:50:38 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +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
YanisBft 40d713533d
Fix javadoc warnings (#1884)
* Fix javadoc warnings

* attempt 2

* attempt 3

* last attempt

* apply juuxel's comment
2020-11-20 17:31:04 +00:00
enbrain ea7929ac46
Suggest using Block#asItem instead of Item.fromBlock (#1743) 2020-11-19 18:37:53 +00:00
Shnupbups cb23ebee38
46a things (#1869)
* 46a things

* Update Registry.mapping

* Update Item.mapping
2020-11-12 08:52:04 +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
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
enbrain 24ab4d2ee9
Add some Javadoc for Item (#1769)
* Add some Javadoc for Item

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-10-01 13:52:46 +01:00
enbrain e4a501673e
Item.getStackForRender -> getDefaultStack (#1768) 2020-09-25 11:33:27 +01:00
i509VCB aec004a2c6
Some item javadoc (#1668)
* Some item javadoc

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: shartte <shartte@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-09-18 13:03:00 +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
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
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
haykam821 ded5c7e457
Standardize attribute modifier mappings (#1390)
* Standardize the suffix of attribute modifier ID fields

* Remove prefix from attribute modifier fields

* Make soul speed boost attribute modifier ID field consistent

* Make baby piglin speed boost fields consistent
2020-05-22 12:38:04 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
Deximus-Maximus 601be823bf
getMiningSpeed -> getMiningSpeedMultiplier (#1161)
Update name to be accurate and more descriptive
2020-03-10 20:42:24 +00:00
Shnupbups 18a0bd11f1
A few 1.16 mappings (#1091)
* A few 1.16 mappings

* Update and rename WeepingVInesPlantBlock.mapping to WeepingVinesPlantBlock.mapping

* more stuff

* Wall mappings

ioly partially done, but eh

* Update and rename WallType.mapping to WallShape.mapping

* Update Properties.mapping

* Update WallBlock.mapping

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

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-02-06 20:02:23 +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
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 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
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
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
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
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 a7eee8f064 Fix inner class names 2019-03-14 19:41:19 +00:00
modmuss50 eef3d973f2 Save in enigma, removes some propagated method names 2019-03-14 16:26:35 +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
Raph Hennessy 85bfe2b5b4 Mapped CameraHelper, Shaped/Shapeless Serializers and other small methods (#512) 2019-03-08 02:01:59 +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
Kitten 4a8c4286b8 Cleanup ItemGroup mappings (#480)
* Cleanup ItemGroup mappings

* isLastColumn -> isInLastColumn

* isInLastColumn -> isSpecial
2019-02-18 20:53:52 +00: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
Juuxel b94e870e54 Crossbows and some entity mappings (#427) 2019-01-28 12:18:51 +01:00
Adrian Siekierka 995df6291a update to 19w04a/Enigma 0.13.x 2019-01-24 20:10:22 +01:00
Adrian Siekierka 37e4c7616b update to 19w03b 2019-01-18 00:35:46 +01:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
Adrian Siekierka 8a83c44585
Item-related name tweaks (#295)
* item name tweaks

* missed one

* better names, remap ArmorMaterial as we lost it again?
2018-12-14 23:26:40 +01:00
Adrian Siekierka e9ccf701a7 port to 18w50a 2018-12-12 18:12:26 +01:00
Adrian Siekierka 9502bd793e a few renames 2018-12-09 17:00:06 +01:00
Adrian Siekierka d93e241d50 too hasty 2018-12-09 13:12:53 +01:00
Adrian Siekierka e7960860a8 flesh out Items 2018-12-09 13:12:02 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
Adrian Siekierka 815b9fbd01 early work on server interaction manager mapping, flesh out BlockItem subclasses 2018-12-02 10:52:03 +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
kashike 3a95f539e7 some things (#220) 2018-11-30 12:38:47 +01:00
Prospector 111d25a61c A LITTLE BIT OF EVERYTHING (#224) 2018-11-30 12:37:11 +01:00
Adrian Siekierka 50764e1853 update to 18w48a 2018-11-29 21:10:38 +01:00
Adrian Siekierka 13ed3f8e2c update to 18w47b 2018-11-27 19:50:51 +01:00
asie dd3236b3a6 tweak ItemStack names 2018-11-21 21:58:18 +01:00
Adrian Siekierka 591e770b72 update to 18w47a 2018-11-21 17:58:05 +01:00
Adrian Siekierka 1418bb1b37 update to 18w46a 2018-11-15 18:05:03 +01:00
asie 6d3075daeb map a few block-related things 2018-11-08 23:43:19 +01:00
Adrian Siekierka 47d8c24214 update to 18w45a 2018-11-07 17:37:58 +01:00
Adrian Siekierka 4e8d79aef4 move Attribute -> EntityAttribute, PotionEffectType -> MobEffect 2018-11-04 20:05:56 +01:00
Adrian Siekierka 351b6536ae minor packet, resource work 2018-11-04 16:45:24 +01:00
Adrian Siekierka 5fd73b1943 update Enigma to 0.12.1 2018-11-04 13:22:38 +01:00
asie ce1ae229d1 client-side interaction-related mapping 2018-11-03 19:06:46 +01:00
asie 28de8727a1 map more things 2018-11-03 10:24:59 +01:00