Commit Graph

12 Commits

Author SHA1 Message Date
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