Commit Graph

2226 Commits

Author SHA1 Message Date
liach 54332c40e1
Fix unpick log spamming (#2189)
Closes #2187

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-25 12:45:12 +00:00
apple502j 735ac1b4c2
Map many block methods and params (#2180) 2021-03-25 12:44:47 +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
liach 4c9fd21882
Resource reload renames (#2131)
* Resource reload renames

Fixes #920

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

* Update some stuff for 11a

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-24 18:19:56 +00:00
mschae23 87ebde22cc
World generation mappings (#2150)
* World generation mappings

* Fixed parameters in IcebergFeature

* Used suggestion and mapped more things

* heightLimitView -> world

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-23 17:59:22 +00:00
SuperCoder79 330aeee0fb
Refactor some worldgen names (#2175)
* Refactor some worldgen names

* Update mappings/net/minecraft/structure/StructurePiece.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-23 13:05:29 +00:00
haykam821 861e908c37
Map changes to block changes in 21w11a (#2161)
* Map changes to block changes in 21w11a

* Move the Oxidizable class to the net.minecraft.block package
2021-03-22 21:48:21 +00:00
liach 89399d070e
A few more block state model gen stuff (#2154)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-22 21:48:14 +00:00
Shnupbups 258eb34e58
Unmapped an Anonymous Class (#2182)
* Unmapped an Anonymous Class

lol whoops

* Update WorldChunk.mapping
2021-03-22 17:03:22 +00:00
enbrain 80fa3fa325
Add misc javadoc (#2170)
* Add misc javadoc

* hearts -> half-hearts

* Use passive voice

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-21 13:14:31 +00:00
Emily Rose Alexandra b866ab6da7
Book mappings (#2171) 2021-03-21 13:13:45 +00:00
apple502j 7ea618ed76
Map a lot of util methods and stuff (#2172)
* A lot of util mappings

* Update mappings/net/minecraft/util/ChatUtil.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-03-21 13:13:33 +00:00
YanisBft 294b2eda23
Fixes around blocks (#2173) 2021-03-20 12:05:58 +00:00
apple502j a8f9c00fa0
Map item methods (#2167) 2021-03-20 11:16:15 +00:00
apple502j 1a503e5e50
Map enchantments (#2166) 2021-03-20 11:16:05 +00:00
Shnupbups 76d049b459
21w11a stuff (#2160)
* 21w11a stuff

* fixes

* spriteProvider

* funni lightning haha

* javadoc
2021-03-20 11:15:54 +00:00
liach 739e64a97f
Xp dropping in living entity (#2156)
Closes #2018

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-20 11:15:41 +00:00
haykam821 e08b832062
Map and document the boolean parameter of the Explosion.affectWorld method (#2165)
* Map the boolean parameter of the Explosion.affectWorld method

* Document the boolean parameter of the Explosion.affectWorld method
2021-03-18 19:18:32 +00:00
apple502j cc5928d98c
Map dispenser behavior (#2164) 2021-03-18 19:18:24 +00:00
LambdAurora bd5a3f41d6
Refactor the whole net.minecraft.nbt package. (#2090)
* Refactor the whole net.minecraft.nbt package.

* a NBT -> an NBT

* -bits -> -bit

* Improve javadoc and consistency.

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

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

* NbtObject -> NbtCompound...

* Remove last occurences of NbtObject

I have no idea how I missed those... They are quite obvious.

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

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

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

* Apply suggestions.

* Restore addElement and setElement.

* Fix some missed stuff.

* Apply suggestions from code review

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

* Reformat type value part of NBT elements javadoc.

* Apply suggestions from code review

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

* Clarify documentation.

* Apply @ChloeDawn's suggestion.

* rawType -> id

* Apply haykam's suggestions.

* Apply suggestions from code review

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

* getX -> xValue in AbstractNbtNumber.

* Apply more changes from code review.

* Apply suggestions from haykam's code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2021-03-18 19:17:51 +00:00
haykam821 63faa73579
Map the RootedDirtBlock class (#2162) 2021-03-18 12:45:26 +00:00
haykam821 bf4d6850bd
Map the LightningRodBlock.WATERLOGGED field (#2158) 2021-03-17 20:30:13 +00:00
Eli Orona 1a226534c8
Finish mappings for dragon and dragon fight (#2142)
* Finish mappings for dragon and dragon fight

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

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update SittingFlamingPhase.mapping

* Update HoldingPatternPhase.mapping

* Update TakeoffPhase.mapping

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

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

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update ChargingPlayerPhase.mapping

* Update HoldingPatternPhase.mapping

* Update LandingApproachPhase.mapping

* Update StrafePlayerPhase.mapping

* Update TakeoffPhase.mapping

* Update ChargingPlayerPhase.mapping

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/HoldingPatternPhase.mapping

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

Co-authored-by: liach <7806504+liach@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-03-17 18:46:42 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
Alexander f27a0bf773
Two methods used on client player respawn (#2148)
* Two methods used on client player respawn

* onRespawnOrDimensionChange -> init

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-16 20:33:20 +00:00
liach 2c9f118c21
DirtPathRenameFix -> JigsawBlockNameFix (#2155)
Closes #2024

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-16 20:33:03 +00:00
kb1000 98e634fe95
Map some parts of the OpenGL state managing mechanisms (#2144) 2021-03-16 19:53:20 +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
Shnupbups 2c00694346
Fixed an incorrect name (#2152)
* Fixed an incorrect name

Whoops, my bad

* change nextStage to degraded, also fix other spot
2021-03-16 19:41:28 +00:00
modmuss50 77196755cd Remove jcenter from buildscript Closes #2153 2021-03-16 17:51:18 +00:00
Alexander d610dff1b4
Some lambda parameters in packets (#2147)
* Some lambda parameters in packets

* Fix packet buffer lambda parameter name conflict with outer function parameter

* buf1 -> b
2021-03-16 13:35:56 +00:00
Alexander 3a70564531
Make BossBar names more consistent (#2149) 2021-03-16 13:35:46 +00:00
Alexander 70ca14e0d7
TeamS2CPacket names (#2145)
* TeamS2CPacket names

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

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

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

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2021-03-16 13:35:35 +00:00
Alexander c17374831e
PlayerListS2CPacket names (#2146) 2021-03-15 20:54:50 +00:00
Shnupbups 8805b2ba8e
some world stuff (#2143)
* some world stuff

* Update ChunkStatus.mapping

* Update ChunkStatus.mapping
2021-03-15 17:56:31 +00:00
mschae23 9fb9461398
Mapped world gen noise interpolator (#2138)
* Mapped world gen noise interpolator

* Noise3DInterpolator -> NoiseInterpolator

* Use SuperCoder79's suggestions

Co-authored-by: SuperCoder7979 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder7979 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-15 14:49:32 +00:00
apple502j ac8ad7eb8d
Village and POI stuff (#2137)
* POI stuff

* Village stuff

* Rename hasRecentlyWorkedAndSlept

* Update mappings/net/minecraft/world/poi/PointOfInterestType.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-14 16:20:37 +00:00
Juuxel f7e197313f
Improve ScreenHandlerContext mappings (#2140) 2021-03-14 12:28:47 +00:00
YanisBft 8276930dca
Document TradeOffer and improve various names (#2139)
* Document TradeOffer and improve various names

* Update mappings/net/minecraft/village/TradeOffer.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-13 21:18:04 +00:00
liach 2059b35245
Map resource factory (#2127)
It's used in creating class_5944 instances and GameRenderer.method_34521,
both of which only uses the DefaultResourcePack as the only resource
factory impl effectively.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-13 21:17:59 +00:00
haykam821 4b8923c7a5
Map randomized int block state providers (#2129)
* Map randomized int block state providers

* Fix the IntProperty class being unnecessarily qualified in the documentation for the RandomizedIntBlockStateProvider class

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-12 20:18:27 +00:00
liach 557bcf9478
Map an inner class in server play network handler (#2122)
* Map an inner class in server play network handler

Followup of #2108

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

* Update mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-12 20:18:18 +00:00
haykam821 f46af2fa9b
Map vertical surface types (#2128) 2021-03-12 20:18:13 +00:00
liach 4f9e71559d
Fix repoted javadoc problems (#2132)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-12 20:18:08 +00:00
apple502j f717d5059d
Map block entitiy methods (#2118)
* Map block entitiy methods

* Rename getOrCreateTeleportIsland to setupExitPortalLocation

* Rename isChunkEmptyAt to isChunkEmpty

* Map 21w10a block entity methods
2021-03-11 23:46:31 +00:00
mschae23 e8fa3b83e4
World generation in 21w10a (#2133)
* World generation in 21w10a

* More new world generation mappings
2021-03-11 23:33:10 +00:00
liach 9ae5d6af60
Add missing methods for util math from 10a update (#2126)
* Add missing methods for util math from 10a update

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

* Update mappings/net/minecraft/util/math/BlockBox.mapping

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

* Update mappings/net/minecraft/util/math/Vec3i.mapping

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-11 23:32:53 +00:00
Shnupbups f709a6f44f
things (#2124) 2021-03-11 19:11:49 +00:00
haykam821 96fc5ea090
Map the refactor for item frames and glow item frames (#2123)
* Map the refactor for item frames and glow item frames

* Make the names of sound event methods in the ItemFrameEntity class consistent with other sound event methods
2021-03-10 22:04:38 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 84b016a8a2
21w08a Packet stuff (#2104)
* packets and stuff

* k

* oh gosh oh heck i got carried away

* Update PlayerMoveC2SPacket.mapping

* NbtTagSizeAllocator -> NbtTagSizeTracker

* Delete TitleClearS2CPacket.mapping

* Delete ActionBarTextSetS2CPacket.mapping

* Delete SubtitleTextSetS2CPacket.mapping

* Delete TitleTimesS2CPacket.mapping

* Delete TitleTextSetS2CPacket.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayNetworkHandler.mapping

* Apply suggestions from code review

github online editor sucks lol

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

* Update mappings/net/minecraft/block/entity/SignBlockEntity.mapping

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/server/filter/TextStream.mapping

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

* liach stuff

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-10 18:17:14 +00:00
enbrain d1484c6c93
Fix typos in realms classes (#2121) 2021-03-10 13:47:00 +00:00
_iPhoenix_ 9663533ae9
Add a mapping for nether vine growing (#2120)
* Add a mapping for nether vine growing

* Add argument name to getGrowthLength (vine logic)
2021-03-09 19:52:37 +00:00
SuperCoder79 5b8943ee10
21w08b worldgen mappings (#2116)
* 21w08b worldgen mappings

* Apply suggestions from code review

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

* Apply suggestions from code review

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>

* Update mappings/net/minecraft/world/gen/feature/Feature.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-09 19:52:29 +00:00
enbrain a7499acef9
Fix javadoc error in SleepManager (#2114) 2021-03-04 21:52:44 +00:00
liach d4b4a7e0dc
Map cycling button widget and cycling options (#2060)
* Map cycling button widget and cycling options

Turns out there are still like 2 other inner classes, but I will get em

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

* Apply suggestions from code review

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>
2021-03-03 20:20:56 +00:00
liach fa10065c59
Text Filtering additions (#2085)
* Long live censorship

Gonna get a mod that allows me to turn off filters. Just overwrite method_33883

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

* Update some poorer names from #1993 as well

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

* Apply suggestions from code review

Seems I overrode this thing

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-03 20:20:36 +00:00
liach 422b43695d
Mapped some stuff in tags (#2055)
* Mapped some stuff in tags

out of 10 nested classes, 4 are now mapped, 6 more

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

08a stuff

See 4dd9ce2a30 (r582544937)

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

Update mappings/net/minecraft/network/packet/s2c/play/SynchronizeTagsS2CPacket.mapping

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

* use plain links

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-02 11:32:24 +00:00
modmuss50 153c4572f3
Now use the pull_request_target trigger, also update the branch and handle merge conflicts (#2113) 2021-03-01 20:25:01 +00:00
liach 0ffc0f985e
Title packets (#2103)
They did some good improvements to packets

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-01 10:48:36 +00:00
Alexander 1c8ec7e13c
Update some obvious packet names (#2108)
* Update some obvious packet names

Took 8 minutes

* getInterationType -> getType; style -> overlay

Took 8 minutes

* Revert PlayerInteractEntity, PlayerMove, BossBar, PlayerList, PacketByteBuf

Took 28 minutes
2021-02-28 20:44:19 +00:00
modmuss50 a217aaaaf7 Dont try and merge changes as it can fail the whole build. 2021-02-28 18:39:54 +00:00
modmuss50 8bc09fecc2 Fix github action to automaticaly update the base branch of a PR with a label 2021-02-28 18:36:44 +00:00
liach e0934a304c
boss bar restored (#2102)
action class names are from mojang enum

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-28 16:33:18 +00:00
modmuss50 81afc7a3f9 Add a workflow to handle updating the target branch when the update-base label is applied to a PR. 2021-02-28 16:27:59 +00:00
liach 5f03d99beb Fixes #1696 SpawnGroup.isAnimal (#2097)
also adds javadoc to SpawnGroup

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-28 15:01:36 +00:00
liach 39e638e219
Some packet byte buf stuff (#2105)
* Some packet byte buf stuff

javadocs

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

* Fix readmap links

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

* More docs

also fixed a bad param

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

* Use singular

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

* add search tag for var int/long

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

* Thanks enbrain for picking out typos

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>
2021-02-28 14:41:19 +00:00
SuperCoder79 2674326689
Carver mappings (#2106)
* Carver mappings

* Apply suggestions from code review

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

* Fix grimstone

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-28 14:41:04 +00:00
Shnupbups b78585de84
Server package stuff (#1993)
* server stuff

* Delete class_5629.mapping

whoops

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Delete ServerPacketSender.mapping

* Update ServerTickScheduler.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-28 14:40:37 +00:00
liach 70f7e4cfe0
Some util mappings (#2083)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:57:26 +00:00
liach 3e16e8ee13
A few entity methods (#2082)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:57:00 +00:00
liach ec3597979c
Map the new SleepManager (#2087)
* zzz

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

* Fixed some bad stuff and more docs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:56:42 +00:00
haykam821 e26f8a2dfb
Rename the MineshaftFeature.Type#wood field to log (#2100) 2021-02-26 16:33:56 +00:00
modmuss50 69c470b145 21w08b 2021-02-25 18:50:05 +00:00
kb1000 657e1e08b6
Map some mouse event parameter names (#2099) 2021-02-25 13:31:46 +00:00
Shnupbups 3494deb972
21w08a stuff (#2101) 2021-02-24 21:48:33 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +00:00
liach 06e8b4905b
Some path targeting stuff (#2030)
* Some path targeting stuff

I think they are very open to improvements, but I will share what I have for now

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

* Update mappings/net/minecraft/entity/ai/FuzzyPositions.mapping

This apparently kills mappingpoet. fun enough

* Update mappings/net/minecraft/entity/ai/AboveGroundTargeting.mapping

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/ai/NoPenaltySolidTargeting.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-23 20:33:28 +00:00
liach d9f1375826
Make named jar use jetbrain annotations (#2094)
* Make named jar use jetbrain annotations

and subsequent javadoc tweaks

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

* Thanks modmuss

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-23 15:40:14 +00:00
ByMartrixX b4973c0b60
Port some stuff from #2048 to snapshot (#2098)
* Port some stuff from #2048 to snapshot

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-23 12:06:24 +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
haykam821 0025fbf845
Rename the FeatureContext#pos field to origin (#2091) 2021-02-20 11:43:44 +00:00
liach 63651ee44f
Map ChatRestriction inner class (#2086)
* another nested class, another disappointment

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

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-20 11:43:09 +00:00
Shnupbups 809afb3dfa
21w07a stuff (#2088)
* 21w07a stuff

* redo

* oh gosh oh heck

* oh balls

* stuff

* remove duplicate mappings

* Update mappings/net/minecraft/block/LightningRodBlock.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-19 19:31:52 +00:00
SuperCoder79 625f8bd4ea
21w07a worldgen mappings (#2089)
* 21w07a worldgen mappings

* Update mappings/net/minecraft/world/gen/decorator/Decoratable.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-18 22:03:29 +00:00
liach 7c8ac787c8
Codecs.XorCodec (#2084)
* Codecs.XorCodec

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

* Update mappings/net/minecraft/util/dynamic/Codecs.mapping

Co-authored-by: i509VCB <i509vcb@gmail.com>

* Update mappings/net/minecraft/util/dynamic/Codecs.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-18 18:01:27 +00:00
YanisBft e8d9479647
Refactor and document some world border names (#2040)
* Refactor and document some world border names

* Update WorldBorder.mapping

* Update mappings/net/minecraft/world/storage/SectorMap.mapping

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

* Update mappings/net/minecraft/world/border/WorldBorder.mapping

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>
2021-02-18 12:59:46 +00:00
modmuss50 3ac21d36c9 Trigger rebuild with intermediary hotfix 2021-02-17 23:22:59 +00:00
modmuss50 03e20d7d9a 21w07a 2021-02-17 18:45:32 +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
liach 24d7940f58
Entity move effect and player position look packet's one field (#2062)
* Entity move effect and player position look packet's one field

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

* Fixes #2080

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:34 +00:00
liach be4b29287b
Move registry lookup codec to dynamic (#2068)
Solves the one package warning for registry lookup codec

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:29 +00:00
liach 2c562dd296
Move chunk data access related stuff to storage (#2070)
I added them when I mapped entity system. They fit storage well too

Resolves Entity chunk data access must be in same package as storage stuff

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:24 +00:00
liach 0605b9d9ae
Move dilation to be with modelcuboid data that accesses its package (#2073)
radiusXYZ fields

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:18 +00:00
Shadowfacts 7d742e402f
TextFieldWidget tweaks (#2079)
The field focused clashes with superclass field, and is not accurate. It
actually controls whether the background is drawn. The getter and setter
methods are also not correct, as the field does not just control the
border.

The setSelected method does not set whether the field is selected, but
focused. It only exists to expose the protected AbstractButtonWidget.setFocused
method. It's named setTextFieldFocused not setFocused because that would
clash with the superclass name.
2021-02-17 18:16:13 +00:00
enbrain 0c743eac04
Complete CheckboxWidget (#2081) 2021-02-17 18:16:07 +00:00
liach 896d6340d5
Move affine transformation and vector 4f to regular util math (#2074)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-15 22:40:39 +00:00
liach 629b96e84a
Make mapping check work again (#2066)
It never worked since the intermediary update. So 2 years of "errors"

Now made the task only print and swallows the illegal state it throws

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 22:57:02 +00:00
liach 9608672d4e
entity tracking listener (#2033)
* entity tracking audience

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

* Audience -> listener

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 21:48:18 +00:00
Yao Chung Hu 0120469e03
Map Sprite sub classes (#2058) 2021-02-13 21:43:16 +00:00