Commit Graph

27 Commits

Author SHA1 Message Date
LambdAurora fd85633178
Unpick lightmap constants. (#2595)
* Unpick lightmap constants.

* Update unpick-definitions/lightmap_coordinates.unpick

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:54:03 +01:00
ByMartrixX 5664605164
Name remaining world event (#2458)
* Name remaining world event

* Add unpick definition, remove trailing space in javadoc

* Revert "Add unpick definition, remove trailing space in javadoc"

This reverts commit 93edb9020c.

* Add unpick definition, remove trailing space in javadoc (this time without extra things)

* Update mappings/net/minecraft/world/WorldEvents.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-02 11:14:12 +01:00
liach 6ad6ee9694
Some collision stuff, fixes #2443 (#2444)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-31 17:18:53 +01:00
Shnupbups fd0d13ce44
21w20a stuff (#2417)
* 21w20a stuff

* Apply suggestions from code review

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

* AngledModelEntity

idk about the name but eh

* Update HoeItem.mapping

* Update FoodComponent.mapping

* stuff

* Update ItemCooldownManager.mapping

* Revert "Merge branch '21w20a-stuff' of https://github.com/Shnupbups/yarn into 21w20a-stuff"

This reverts commit 494e736d32, reversing
changes made to c481e02b48.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-24 14:46:09 +01:00
liach dba53e8e93
Checks entity flags to unpick (#2406)
closes #2186

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:46:21 +00:00
liach 784cc5b34b
Abstract button widget renames (#2407)
* Abstract button widget renames

Fixes #1752 and closes #1770

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

* About the message

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

* Update mappings/net/minecraft/client/gui/widget/ClickableWidget.mapping

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

* Reword javadoc for pressable widget

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-19 12:43:44 +00:00
YanisBft df864131d3
Unpick entity flags and pufferfish states (#2368) 2021-05-04 08:47:02 +00: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
Eli Orona 6d831350d9
Entity Status Constants (#2284)
* Initial Pass

* EntityStatusTypes -> EntityStatuses

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

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

* Update unpick-definitions/entity_status.unpick

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

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

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

* Update unpick-definitions/entity_status.unpick

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

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

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

* Update unpick-definitions/entity_status.unpick

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

Co-authored-by: Juuxel <6596629+Juuxel@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>
2021-04-08 10:40:57 +01:00
YanisBft 605d584f53
Fix typos and update enigma (#2286)
* Fix typos and update enigma

* forgot this typo

* Update world_events.unpick
2021-04-07 16:57:05 +01:00
Juuxel c34c419fa8
Screen handler updates (#2264) 2021-04-04 13:09:51 +01:00
liach 0ded7e7bd2
Some packet stuff (#2243)
* Some packet stuff

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/network/packet/s2c/play/TeamS2CPacket.mapping

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

* Adds unpick. Tested and works.

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-04 13:09:01 +01:00
liach 0bc94eeaeb
Some network stuff, and minor atomic stack/affine transformation revisit (#2246)
* Some network stuff, and minor atomic stack/affine transformation revisit

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

* typos

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

* Let unpick glitch. I'm hopeless

* End of experiment

the uncommented ones work while the commented ones don't

Turns out unpick is unpicking what's exposed to the public api than
what's in the method body. So yeah, not much valuable stuff to unpick
in network package as a result.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-03 15:02:25 +01: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
YanisBft da26f6b3ba
Entity model part constants (#2222)
* Entity model part constants

* "constants" -> "names"

* add target methods but it still doesn't work

* add even more target methods, but it still still doesn't work

* finally (thx liach)
2021-04-03 09:34:51 +01:00
Joseph Burton 2e26aca1d3
Shorten set_block_state_flags (#2263)
* Shorten set_block_state_flags

* Update ModifiableWorld javadocs
2021-04-02 23:52:20 +01:00
Juuxel 5171529cf9
Unpick biome IDs (#2258) 2021-04-02 19:01:56 +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
Shnupbups df11a81106
Key codes unpicked (#2193)
* Key codes unpicked

* seems to work
2021-03-30 22:37:49 +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
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 c44013c861 Cleanup unpick version.
No longer in 3 places :D
2021-03-26 19:04:52 +00:00
modmuss50 b471d4e43f Update unpick to 2.1.0 2021-03-26 17:57:15 +00: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