Commit Graph

20 Commits

Author SHA1 Message Date
apple502j e1e8ab69aa
Document registry (#3304)
* Document registry

* More registry javadoc

* Map more registry

* More registry javadoc

* Apply suggestions from code review

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

* Update mappings/net/minecraft/util/registry/RegistryEntry.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-10-18 19:31:24 +01:00
Juuz 9cd011ed7f
Document cauldrons (#3317)
* Document cauldron behaviors (net.minecraft.block.cauldron)

* Cauldron block docs and some constants

* Make lava cauldron doc consistent with powder snow
2022-10-18 08:51:35 +01:00
apple502j 51d6fad08d
Document net.minecraft.util (#3297)
* Document net.minecraft.util

* Fix javadoc

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Fix Util#next and Util#previous docs

* revert previous change to previous

* Apply suggestions from code review

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

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-09-21 18:30:05 +01:00
Juuz ea42955b76
Document screen narration (#3293)
* Document screen narration

Also fixes a few names in Screen narration methods and
ScreenNarrator which didn't make sense.

* Fix param name

* Update mappings/net/minecraft/client/gui/screen/narration/NarrationMessageBuilder.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-09-15 19:18:12 +01:00
apple502j 811d8000d1
Document net.minecraft.nbt package (#3134)
* Document NBT (wip)

* more NBT docs

* Fix NbtList javadoc

* Add package docs to NBT

* Fix javadocs

* Use paragraph tag

* Mention the instances are (im)mutable in javadoc

* Apply suggestions from code review

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

* Update mappings/net/minecraft/nbt/NbtElement.mapping

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

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

* Add the sentence suggested by liach

* Update package-info.java

* Apply suggestions from code review

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

* Fix typo in NbtCompound

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-11 19:28:23 +01:00
modmuss50 7a9cbb55b2
Update dependencies (#3093) 2022-04-15 23:17:53 +01:00
apple502j 14e3a297d2
22w11a javadoc fixes (#3055)
* 22w11a javadoc fixes

* Update mappings/net/minecraft/tag/TagPacketSerializer.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-03-23 10:38:27 +00:00
liach 33efbaf906
22w06a resources (#2998)
* 22w06a resources

fyi javadoc gen broke, wait for me to fix it...

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

* Apply suggestions from code review

* Update mappings/net/minecraft/resource/NamespaceResourceManager.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-02-12 17:03:23 +00:00
liach 3320a21d3c
Barebone javadoc for brain, explains why (#2475)
closes #2210, feel free to ask for more

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-09 00:14:21 +01:00
YanisBft 970cb76c9c
Entity flags and other constant fields (#2331)
* Entity flags and other constant fields

* updated unpick
2021-04-18 13:02:39 +00:00
Juuxel 04623185ff
Add NbtElement ID constants (#2235)
* Add NbtElement ID constants

* Javadoc fixes

* Javadoc fixes II

* ID -> TYPE_ID

* TYPE_ID -> TYPE

* 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-04-03 13:30:54 +01:00
Shnupbups 9c37f31a53
21w13a unpicks updated + misc stuff (#2254)
* misc stuff

* nbt_key -> key

* structurestart

* constants

* unpicks updated to use vanilla constants
2021-04-02 14:27:54 +01:00
liach de339b3ad3
Add package javadoc support (#2205)
* Add package javadoc support

Closes #2035

This is surprisingly easy given modmuss's work on constants. So here we go

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

* Apply suggestions from code review

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-03-30 22:39:16 +01:00
Shnupbups 4e1f244274
Mining Levels unpicked (#2190)
* Mining Levels unpicked

Apparently unpick can't place its constants in enum constructor parameters which is the only place vanilla would use these, so I don't know but here

* Update MiningLevels.java

* there we go

* javadoc brrr

* header

* @see
2021-03-30 22:35:45 +01:00
Shnupbups 08746560f5
Animal Variants unpicked (#2191)
* Animal variants unpicked

Cats, Llamas, Parrots and Rabbits.

Horses left alone because vanilla already has an enum for those

* returns

* types -> variants for llamas and parrots

* whoops lol

* constructors

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-03-30 22:35:02 +01:00
Joseph Burton 73a389a5e0
Nbt type ids unpicked (#2201)
* Nbt type ids

* liach's suggestions

* Update mappings/net/minecraft/nbt/NbtElement.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-03-30 22:22:42 +01:00
Shnupbups 934ac5fc6a
World Events and Global Events Unpicked (#2188)
* World Events and Global Events Unpicked

* Update world_events.unpick

* stuff

consolidated WorldEvents and GlobalEvents into one
renamed CROPS_FERTILIZED to PLANT_FERTILIZED
added packet stuff to target methods
added punctuation to javadoc

* whoops

* Update WorldEvents.java

* door stuff

* Improved Javadoc

Added doc for Constant class itself, added linebreaks, and info on everywhere each event is called

* Update WorldEvents.java

* changed some <br>s to <p>s

* javadoc tweak

moved <p> and <br> tags to start of new lines as opposed to end of previous lines
tweaked wording of MUSIC_DISC_PLAYED
qualified mentions of java.util.List and java.util.Random
made some wording more consistent
2021-03-29 18:19: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
Joseph Burton 19df3cdfbf
More set block state flags (#2185)
* More set block state flags

* Uncomment DEFAULT flag

* Bump unpick version to 2.1.1
2021-03-28 12:14:12 +01:00
modmuss50 b9837ab99b
Constant Unpicking (#1952)
This is the first take of this, its done in such a way where we can awlays iterate improvements into it.
2021-03-24 20:04:48 +00:00