Commit Graph

685 Commits

Author SHA1 Message Date
modmuss50 3d39c74f21 21w14a
All of the package-info classes are just reformatted. The tool used to generate them didn't output the same format as matcher/engima
2021-04-07 18:22:56 +01:00
Shnupbups c0c4b3a8b1
Misc 21w13a stuff (#2271)
* misc stuff

* Update mappings/net/minecraft/particle/DustColorTransitionParticleEffect.mapping

Co-authored-by: LambdAurora <aurora42lambda@gmail.com>

* Update OrderedText.mapping

* Apply suggestions from code review

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

* Update Entity.mapping

Co-authored-by: LambdAurora <aurora42lambda@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-06 18:00:23 +01:00
liach f1a8f3efa0
3 random classes (#2278)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-05 12:39:27 +01:00
Juuxel 416b19b716
Bee mappings (#2265)
* Bee mappings

* NBT_KEY -> KEY
2021-04-03 15:03:02 +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 333a6d75b5
21w13a entity ai stuff (#2255)
* entity

* Apply suggestions from code review

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

* nbt_key -> key

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

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

* AI stuff

* Update mappings/net/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 19:06:05 +01:00
Shnupbups 1014a0a840
21w13a entity stuff (#2231)
* entity

* Apply suggestions from code review

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

* nbt_key -> key

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 12:59:05 +01:00
Shnupbups 86891d90dc
21w13a interfaces (#2223)
* interfaces

* whoops

* MobWithInventory -> InventoryOwner

* fix package
2021-04-02 12:58:33 +01:00
apple502j 52b23df471
Map two debug commands (#2219) 2021-04-01 21:14:34 +01:00
Alexander 56d442309e
Goat mappings (#2220)
* Goat mappings

* Fix Goat renderer and model packages
2021-04-01 13:21:58 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
Florens Pauwels 78172ae480
Fix some wrong mappings (#2207)
* updatePose

* Fix wrong method name

* Another mapping fix
2021-03-30 22:36:56 +01:00
liach c0c97b852e
Book using (#2198)
* Book using

Fixes #2181

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

* Apply suggestions from code review

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-03-27 20:10:22 +00:00
YanisBft 429408355a
Document ItemEntity and improve a few names (#2184)
* Document ItemEntity and improve a few names

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

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

* Update ItemEntity.mapping

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

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

* Update gradle.properties

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-26 17:27:00 +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
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
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 3a70564531
Make BossBar names more consistent (#2149) 2021-03-16 13:35:46 +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
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
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
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 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
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
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
YanisBft ace28d437f
Skeleton conversion (#2064)
* Skeleton conversion

* Update mappings/net/minecraft/entity/projectile/ProjectileEntity.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-13 21:41:21 +00:00
hqics f5a31b54d9
pos -> power (#2059) 2021-02-13 21:19:28 +00:00
liach f649081f23
Mappings for nether portal-related functionality (#2052)
* Mappings for nether portal-related functionality

Apply suggested changes

* getOrNone → getOrEmpty
* destinationIsNether → destIsNether

getCoordinateScaleRatio -> getCoordinateScaleFactor and more mappings

* Apply suggestions from code review

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

Co-authored-by: Kyarei <uruwi@protonmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 17:01:51 +00:00
liach 3b23315115
Game events stuff. Map 2 unmapped top level classes (#2045)
* Game events stuff. Map 2 unmapped top level classes

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

* Update mappings/net/minecraft/world/event/listener/EntityGameEventHandler.mapping

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

* Update mappings/net/minecraft/world/event/PositionSource.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 17:01:00 +00:00
liach 47bdb3b9e4
Entity stuff, see #1905 (#1967)
* Squash the review stuff

Co-authored-by: Henry <obw@generalprogramming.org>
Co-authored-by: Thalia Nero <chrisvn00@gmail.com>

commit b9e91de684
Author: Henry <obw@generalprogramming.org>
Date:   Fri Jan 1 18:06:37 2021 +0000

    Apply some cleanup from code review

    Also removes some bits not present in 20w51a

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

commit e9f0cea6e7
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 19:40:28 2020 +0000

    Add javadocs for MessageListener

commit a6fe16a9cd
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 18:31:29 2020 +0000

    Apply some suggestions to clean up

    - Restored missing Entity methods
    - Fixed comment reference
    - Unmapped generic `flagSet`-named methods

commit cbacd58a0a
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 18:56:45 2020 +0000

    Apply some suggestions & map extra names

commit 411b92b91f
Merge: c5287fed0 c0a046c66
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 17:55:40 2020 +0000

    Merge 20w49a into world-entity

commit c5287fed06
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Wed Nov 11 23:18:02 2020 -0500

    listener -> handler

commit 490818513e
Merge: d74d922b0 3465a1132
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sun Nov 8 14:53:43 2020 -0500

    Merge branch '20w45a' into world-entity

commit d74d922b0b
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 15:28:32 2020 -0500

    Update mappings from review.

commit fbb44ecbb9
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:51:17 2020 -0500

    Some docs and mapping of methods called by the entity stuff.

commit 095711c00a
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:28:23 2020 -0500

    Some parameters and mappings.

commit caea9fed00
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:14:33 2020 -0500

    Filter -> TypeFilter

commit 9d82f4bcc4
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:19:18 2020 -0500

    Map ChunkStatusChangeListener.

commit 4699e0991e
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:11:11 2020 -0500

    Map more entity loading stuff.

commit 8a30358ef2
Merge: 6d0aa8cff ee05e2b40
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 18:10:03 2020 -0500

    Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity

commit 6d0aa8cff7
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 03:43:11 2020 -0500

    Map a lot of entity world interaction shenanigans. Feeling tired might remap later.

* Extra classes

* tweaks

* Revert some refactors

* meh, enigma bad

* move entitylike to world as it's more s/l related than actual entity

* Eliminate the "group"

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

* Bunch renames, should make sense now

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

* Fix javadoc types

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

* Human-friendly name for synthetic fields in case they appear

* rename

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-10 19:35:29 +00:00
liach 7e5965e1ef
item slot (#2032)
* item slot

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

* Call this command item slot to prevent unintentional misusages

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-08 19:47:07 +00:00
liach df3da30394
Bundle tutorial (#2011)
* Bundle tutorial

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

* Fixed bad names and add some docs

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

* Update mappings/net/minecraft/client/tutorial/TutorialManager.mapping

* Update mappings/net/minecraft/entity/player/PlayerEntity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-07 13:31:42 +00:00
liach 9526a4af9f
Refactored some cursed height limit view names (#2027)
* Refactored some cursed height limit view names

They were either confusing or plainly wrong

Fixed a few javadoc problems

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

* embellish javadoc

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

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

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

* height is a better name

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-07 13:30:35 +00:00
Shnupbups 92f21d3e83
21w05a stuff (#2017)
* 05a stuff

* stuff

* Update HangingRootsBlock.mapping
2021-02-04 18:34:24 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +00:00
haykam821 c60b023328
Clarify the methods relating to entities ticking in the void (#1983)
* Clarify the methods relating to entities ticking in the void

* Simplify documentation links to methods and classes that are already in scope

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-01-25 20:19:36 +00:00
Shnupbups ae4a1cc89b
Entity package stuff (#1979)
* entity

* forgot this

* this too

* Update mappings/net/minecraft/entity/projectile/FishingBobberEntity.mapping

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

* 2 more things

* remove reference to ItemStackHolder

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-01-25 18:28:38 +00:00
YanisBft 85fa278887
21w03a stuff (#1964)
* 21w03a stuff

* Update mappings/net/minecraft/client/render/entity/ItemFrameEntityRenderer.mapping

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-01-22 13:36:31 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
YanisBft 553ad17e3c
Random stuff (#1947) 2021-01-03 20:53:34 +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
Siphalor 8fba5222be
Some renames concerning the hotbar (#1943)
* Rename HeldItemChangeS2C to match UpdateSelectedSlotC2S

* Fix bad parameter name of swapSlotWithHotbar
2020-12-28 13:08:19 +00:00
YanisBft 992926dd04
Fix javadocs and update Enigma (#1937)
* Fix javadocs and update Enigma

* oops
2020-12-25 23:25:28 +00:00
haykam821 471e787c32
Fix some boolean getter methods being prefixed with 'get' (#1920)
* Fix some boolean getter methods being prefixed with 'get'

Fixes #1892

* Fix the setter method for thickening fog in the BossBar class being renamed instead of the getter method
2020-12-17 20:04:22 +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
YanisBft 33da594c95
20w49a cleanup (#1911)
* 20w49a cleanup

* Update Vibration.mapping
2020-12-14 21:35:39 +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
Taavi Väänänen 882d18f793
Add some villager mappings (#1907)
* Add some villager mappings

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-06 18:04:59 +00:00
­Sollace c0a046c665
Model part names (#1900)
* Update all the models fields that come from Mojang's json code

* Unswap tailAngle and spikeExtension fields

* Fill in missing names in MathHelper

* Apply suggestions from code review

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

* More code review fixes

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-03 13:51:45 +00:00
Taavi Väänänen a579fc53ee
Add some brain mappings (#1901)
* Add some brain mappings

* Be consistent with rest of that class
2020-12-03 13:50:56 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +00:00
SPGoding 6596cd0f81
Map something for experience orb (#1893)
* Map something for experience orb

* Remap method_30048
2020-11-29 22:05:30 +00:00
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +00:00
haykam821 c55751331e
Map classes and methods relating to powder snow and freezing (#1865)
* Map classes relating to powder snow

* Map methods used to manage freezing

* Move the PowderSnowBucketItem class to the correct package

* Rename the subtractWaterLevel method to decrementFluidLevel in the LeveledCauldronBlock class

* Remove the implicit mapping for the POWDER_SNOW_BUCKET field

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-11-18 12:02:57 +00:00
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +00:00
Florens Pauwels 118da214ba
Add LivingEntity shouldsSwimInFluids (#1860)
Co-authored-by: Florens Pauwels <mail@florens.be>
2020-11-07 23:16:57 +00:00
YanisBft 34b70efdb0
Some EntryListWidget and entity methods and javadocs (#1812)
* Some EntryListWidget and entity methods and javadocs

* Update mappings/net/minecraft/entity/mob/PiglinEntity.mapping

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

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-11-07 13:11:45 +00:00
Toshimichi0915 e54760827a
Fix Entity#MAX_ENTITY_ID to Entity#ENTITY_ID_COUNTER(#1825) (#1858) 2020-11-07 12:51:21 +00:00
LambdAurora bcbbc58af5
20w45a player mappings! (#1853) 2020-11-06 14:25:29 +00:00
Shnupbups 1e46390347
20w45a things (#1833)
* Things

* Update AbstractCauldronBlock.mapping

* a few more things

* Create EntityModelLayers.mapping

* Update MinecraftVersion.mapping

* Update Oxidizable.mapping
2020-11-06 14:24:34 +00:00
joaoh1 51b2b77362
Map spyglass logic (#1834)
Co-authored-by: joaoh1 <joaoh1@users.noreply.github.com>
2020-11-05 19:37:46 +00:00
LambdAurora b44b26d435
Add entity mappings (#1829)
* Add entity mappings

* Add javadoc to dismountVehicle.
2020-11-05 09:41:29 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
haykam821 cd6d0e6ccc
Replace remaining references to generic trader naming with merchant (#1778) 2020-10-10 12:48:27 +01:00
haykam821 3c373a9870
Fix some static final fields not having uppercase names (#1780)
* Fix some static final fields not having uppercase names

* Fix typo in capitalization of static final message field

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2020-10-08 08:51:44 +01:00
LoganDark 2d4eb4c3f2
isCollidable & collidesWith (#1774) 2020-10-03 11:37:13 +01:00
­Sollace d8d8ac8819
I single-handed mapped the most derpy code in all of minecraft [Squid Mappings] (#1772)
* Mapped squid entity. Thise code is so derpy though

* Update mappings/net/minecraft/entity/passive/SquidEntity.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-10-01 23:32:00 +01:00
haykam821 d973d3f83a
Replace generic trader naming with merchant (#1760) 2020-09-18 13:01:50 +01:00
haykam821 349110cfe1
Map the new fields and methods in 1.16.3-rc1 (#1754) 2020-09-11 18:28:51 +01:00
YanisBft 445391cfd2
Various entity mappings (#1699)
* Various entity mappings

* Update mappings/net/minecraft/entity/mob/EndermiteEntity.mapping

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

* Update LlamaEntity.mapping

* apply suggestions

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-09-02 21:27:57 +01:00
YanisBft 4c75a2df53
Random worldgen (#1728) 2020-08-30 11:07:55 +01:00
enbrain 093cb48246
Add mappings for Entity (#1731) 2020-08-30 11:06:56 +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
enbrain 3191b4b9a7
Add mappings for inventory-related (#1704)
* Add mappings for inventory-related

* itemStack -> stack

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

* clear -> remove

* Add Javadoc

* Update Javadoc

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

* Update Javadoc

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

* Update Javadoc

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

* Update Javadoc

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-08-23 22:02:35 +01:00
Kfir Awad 37ee48f77a
Map tracked position stuff in Entity (#1697)
* Map tracked position stuff in Entity

* Map delta position stuff in EntityS2CPacket

EntityS2CPacket seems to sync the entity's tracked position
2020-08-19 14:08:03 +01:00
Yanis48 ee1d477e18
1 outer class, 3 inner classes & some moves (#1679)
* 1 outer class, 3 inner classes & some moves

* moved AreaHelper to world.dimension
2020-08-16 12:43:46 +01:00
Eli Orona 1640768006
Update FishingBobberEntity.mapping (#1692) 2020-08-15 11:20:14 +01:00
modmuss50 a1347ccd43 1.16.2-pre2 2020-08-05 18:08:42 +01:00
TheBrokenRail ed47f829f2
CreeperEntity.setIgnited -> ignite (#1658) 2020-08-05 17:40:03 +01:00
i509VCB 91afa753ef
Assorted mappings and a bunch of param names (#1620)
* Assorted mappings

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

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-04 08:39:03 +01:00
liach 52768fb916
Horse armor slot fix (#1643)
* Horse armor slot fix

Addresses 2a404a0023 (commitcomment-41118532)

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

* Update mappings/net/minecraft/entity/passive/HorseBaseEntity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2020-08-03 08:25:46 +01:00
Nikita Skobelevs 5eaefeba3d
Corrected EyeOfEnderEntity mappings & comment (#1576)
* Add some ProjectileEntity field names (#1507)

* Add some ProjectileEntity field names

* Fix my syntax mistakes

* ServerWorld: add weather and time mappings (#1570) (#1572)

* ServerWorld: add weather and time mappings

* ServerWorldProperties: set time methods

* Corrected EyeOfEnderEntity mappings

* Changed wording per suggestion

Signed-off-by: Nikita Skobelevs <nikita.skobelevs@gmail.com>

Co-authored-by: jakbyte <jakbyte@protonmail.com>
Co-authored-by: Filip Weiss <me@fiws.net>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-08-02 09:36:19 +01:00
Tehc 2a404a0023
CanPickup/canPickUp -> Equipable/canEquip (#1640)
* LivingEntity.canPickUp -> canEquip

* EntityPredicates.CanPickup -> CanEquip

* EntityPredicates.CanEquip -> Equipable
2020-08-02 09:35:13 +01:00
modmuss50 04b555a4ff 1.16.2-pre1 2020-07-29 16:36:02 +01:00
i509VCB c2f5c6e69f
Meow (#1621) 2020-07-28 18:20:16 +01:00
i509VCB 4923086c26
Some entity attribute docs (#1609)
* Some attribute docs

* Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping

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

* has and clarify

* Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping

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

* Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping

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

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>
2020-07-27 19:45:14 +01:00
haykam821 a83a057fe4
Map unmapped fields that have getter methods (#1612)
* Map unmapped fields that have getter methods

* Fix the parts field in GhastEntityModel using the same name as its getter method

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

* Update outdated getter method names

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-27 19:44:57 +01:00
TheBrokenRail 0d07be1f64
Add LightningEntity Mapping (#1604) 2020-07-24 00:50:24 +01:00
modmuss50 78fcff22ef 20w30a 2020-07-22 17:29:24 +01:00
Nikita Skobelevs 94d094ae5e
EntityType mappings for missing methods and fields (#1578)
* Added mappings for missing EntityType fields and methods

Signed-off-by: Nikita Skobelevs <nikita.skobelevs@gmail.com>

* Fixed spelling

Signed-off-by: Nikita Skobelevs <nikita.skobelevs@gmail.com>

* Update EntityType mapping per suggestion

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

* Updated EntityType mapping as per PR suggestion

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

* Fixed spelling error in EntityType mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-20 16:10:42 +01:00
liach a9e6995935
Minecart mappings ported (#1555)
* Minecart related mappings

* Update for new dismounting content

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

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

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

Co-authored-by: immibis <immibis@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: shartte <shartte@users.noreply.github.com>
2020-07-10 18:30:34 +01:00
i509VCB 73f3f96ff9 Actually describe vague "checkChunk" methods. (#1548)
* Actually describe vague "checkChunk" methods.

These are quite vague, and the profiler call is all we really have to go off of.

From looking around the codebase, these methods validate the entity's chunkX/Y/Z positions are correct. If the entity's last and current chunk pos are not the same, move the entity to it's new chunk (which also changes the chunkX/Y/Z values to the correct ones).

Oh and some synthetic method params while I was at it.

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

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

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

* match method name

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-10 13:04:35 +01:00