Commit Graph

375 Commits

Author SHA1 Message Date
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 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
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +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
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
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
Toshimichi0915 e54760827a
Fix Entity#MAX_ENTITY_ID to Entity#ENTITY_ID_COUNTER(#1825) (#1858) 2020-11-07 12:51:21 +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
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
LoganDark 2d4eb4c3f2
isCollidable & collidesWith (#1774) 2020-10-03 11:37:13 +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
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
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
modmuss50 a1347ccd43 1.16.2-pre2 2020-08-05 18:08:42 +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
modmuss50 04b555a4ff 1.16.2-pre1 2020-07-29 16:36:02 +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
i509VCB 52bb8ef4aa
Thinking with portals (part 1) (#1569)
* Thinking with portals (part 1)

* match the method name to return type
2020-07-09 11:00:39 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
liach bdbb68371c
Sneak 100 (#1553)
* Sneak 100

Fixes for #1551

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-08 10:40:52 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
Joseph Burton d3e8fd1935
Fix lots of spelling errors throughout yarn (#1506)
* Fix lots of spelling errors throughout yarn

* Delete empty comment
2020-06-24 17:34:48 +01:00
i509VCB 476b5d351e
ServerCommandOutput -> RconCommandOutput and a bunch of assorted parameter names (#1475) 2020-06-18 20:16:49 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
Shnupbups 49284a0f45
pre1 stuff (#1420)
* pre1 stuff

idk

* more stuff

* remove things already mapped

removes things already mapped by newly merged prs
2020-06-07 16:02:50 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
2xsaiko 77f8ede4b4
20w20a mappings (#1353)
* 20w20a mappings

* GameModeSelectScreen -> GameModeSelectionScreen

* Revert class_5281 to obfuscated in favor of #1350

* Some improvements

* worldBorderProperties -> worldBorder

* Merge non-conflicting names

* Rename some existing mappings where names got lost

* Small changes

* Remove leftover rebase tags

* Remove duplicate mappings

* 20w21a changes

* Cleanup & Map ChunkGeneratorType.Preset

* Adjust DimensionType mappings

* hellish -> hasCeiling
2020-05-20 22:57:06 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 ef74eec9c1 20w19a 2020-05-06 18:28:56 +01:00
Yanis48 1f2d9d7e4b
Bring back the parameters (#1307)
* Bring back the parameters

* better

* isBlock -> matches

* matches -> is / isOf
2020-05-02 13:31:02 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
­Sollace 67a8a36b13
Misc Strider mappings (#1273)
* Misc strider mappings

* Fix conflic (Mountable was already mapped as "Saddle-able")
2020-04-16 02:47:24 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01:00
Yanis48 19270ae02a
Random fixes (#1265)
* bug fixes

* Update BlockEntity.mapping

* abcd -> xyzw

* closes #856
2020-04-07 00:29:55 +01:00
Shnupbups 8cd54e4886
stuff (#1231)
* stuff

less cursed this time hopefully

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update ItemSteerable.mapping

* Update HungerManager.mapping

* revert Quaternion changes

* supplier -> table

* Update CrashReport.mapping

* Apply suggestions from code review

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update WorldBorderListener.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-30 09:10:03 +00:00
i509VCB 7b32b5f874
Javadoc for some client, datafixer and other miscellaneous areas. (#1219)
* Javadoc for some client, datafixer and misc.

* Update ServerPlayNetworkHandler.mapping

* Update MinecraftClient.mapping

* Update ClientPlayerEntity.mapping

* Update PlayerListEntry.mapping

* Update TypeReferences.mapping

* Update Entity.mapping

* Update LivingEntity.mapping

* Update NbtHelper.mapping

* Update CommandOutput.mapping

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

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/server/command/CommandOutput.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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>

* Update PlayerListEntry.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayPacketListener.mapping

* Update ClientPlayPacketListener.mapping

* Fix possible build error

* try 2

* Update LivingEntity.mapping

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

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

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

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

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/nbt/NbtHelper.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-03-25 23:14:55 +00:00
Yanis48 a36211bd7c
Quick entity fixes (#1200) 2020-03-19 14:07:30 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
Joseph Burton 4b2f6a5aa8
Pathfinding improvements (#1180)
* Pathfinding improvements

* n.m.block.BlockPlacementEnvironment -> n.m.entity.ai.pathing.NavigationType
2020-03-17 20:21:08 +00:00
modmuss50 9497721136 20w11a 2020-03-11 17:25:56 +00:00
liach 7bd162989d
Pick up rendering stuff and dragon stuff (#1163)
* Pick up #1026 and adjustments

ArmorFeatureRenderer, BipedEntityModel and some player stuff

Parrot entity rendering fixes

At the moment, I don't know the difference between method_17110 and method_17111.

method_17110 -> animateModel

Still a provisional name.

Finish the other feature renderers (except CapeFeatureRenderer)

Name methods involving armor stands

Work on Ender Dragon-related things

overlay{Message, Tinted} -> {message, tinted}

Add docs for ClientPlayerEntity#wateriness (now wetness)

ClientPlayerEntity#getVisibilityReductionFromWater -> getScaledWetness

Actually add javadocs

newHealth -> health

DragonFireballEntityRenderer#FIREBALL -> LAYER

* Update mappings/net/minecraft/client/render/RenderLayer.mapping

Co-authored-by: Kyarei <uruwi@protonmail.com>
2020-03-11 15:09:33 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
modmuss50 8e7f7a8d35 20w09a 2020-02-26 17:56:39 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
modmuss50 9b88b3c3e8 20w06a 2020-02-05 17:27:03 +00:00
Pyrofab 32e934eac7
LivingEntity rendering fix (#1080)
* Entity#canSeePlayer(1) -> isInvisibleTo

* LivingEntityRenderer#method_4056(2) -> shouldRender

* LivingEntityRenderer#method_4056(2) -> isVisible

* EntityRenderer#render(3)[2 = ] -> yaw

* EntityRenderer#render(3)[3 = ] -> tickDelta

* EntityRenderer#render(3)[5 = ] -> vertexConsumers

* EntityRenderer#render(3)[6 = ] -> light

* Pick better names

* Remove overlaps

* Fix merge conflicts

* Actually remove overlap
2020-01-31 10:14:57 +00:00
LambdAurora 60e68c5b4f Improve confusing names in entities classes. (#1058)
* Improve confusing names in entities classes.

* Small changes following the PR's review.

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

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-01-19 18:02:15 +00:00
Yanis48 1fd1bad3dc (Block) entity position fixes (#964, #998, #1046, #1061) (#1051)
* fixed things

* deserialize2 -> deserialize

* (Block) entity position fixes

* setPosition -> setPos

* fixed #1061
2020-01-17 19:48:35 +00:00
Yanis48 232787ac4e Fixes for #895 & #1014 (#1015)
* Fixes for #895 & #1014

* fixes -> fix, schemas -> schema

* Merge remote-tracking branch 'upstream/1.15.1' into 1.15.1-pre1

* Revert "Merge remote-tracking branch 'upstream/1.15.1' into 1.15.1-pre1"

This reverts commit edc34b1487.

* renamed Entity fields and methods
2019-12-26 12:26:34 +00:00
liach 260c102750 1.15 pre 5 new mappings and other cumulative new mappings (#996)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-12-05 23:28:21 +00:00
Runemoro 966033b532 More rendering mappings (#986)
* More rendering mappings

* Even more rendering mappings

* Update mappings/net/minecraft/client/render/OverlayTexture.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/render/OverlayTexture.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Fix HashStrategy removed in last PR

* Fixes by liach
2019-12-02 13:47:40 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
liach ec47b4448e 45b new stuff and a few fixed entity methods from 45a (#959)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-19 14:28:00 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
liach 02908445ab Mapped all top-level classes (#934)
* Mapped all top-level classes

No more obfuscated top-level class

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

* Mapping inner classes (Still some left)

These to go:
net/minecraft/datafixers/fixes/LeavesFix$class_1192
net/minecraft/structure/NetherFortressGenerator$class_3404
net/minecraft/structure/OceanMonumentGenerator$class_3367
net/minecraft/structure/OceanMonumentGenerator$class_3368
net/minecraft/structure/OceanMonumentGenerator$class_3369
net/minecraft/structure/OceanMonumentGenerator$class_3370
net/minecraft/structure/OceanMonumentGenerator$class_3371
net/minecraft/structure/OceanMonumentGenerator$class_3372
net/minecraft/structure/OceanMonumentGenerator$class_3373
net/minecraft/structure/OceanMonumentGenerator$class_3375
net/minecraft/structure/OceanMonumentGenerator$class_3388
net/minecraft/structure/StrongholdGenerator$class_3427
net/minecraft/structure/StrongholdGenerator$class_3466
net/minecraft/structure/Structure$class_3500
net/minecraft/structure/WoodlandMansionGenerator$class_3478

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

* Update StructurePoolBasedGenerator.mapping

* Fixes as suggested by @Runemoro

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:51:27 +00:00
liach 6fa1e34c83 19w42a rendering and layers etc (#917)
* 19w42a rendering and layers etc

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

* Stage changes

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

* stuff stuff stuff

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

* fixed color

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

* Banner Pattern "Patterns"

Patterns name see https://minecraft.gamepedia.com/Banner#Block_entity

* Some more changes

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

* Add 2 mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-30 16:15:03 +00:00
Modmuss50 ef9864b2b8 A few easy mappings for 41a (#904) 2019-10-10 06:36:35 +02:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
Juuxel c95856c60f Entity properties (#882)
* Entity stuff

* Better param name

* ServerPlayerEntity.xScore -> lastXScore

* World border improvements and some player/living entity methods

* Remove redundant pos suffix

* Airy renames
2019-10-09 17:44:02 +01:00
João fbb208ed8d Mappings for projectileEntity (#880)
* Map LongArgumentSerializer (#813)

* Mappings for projectileEntity

* Changed/fix fireTime to fireTicks

* Some fixes

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

Co-Authored-By: Juuxel <kasperi.kauppi@gmail.com>

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

Co-Authored-By: Juuxel <kasperi.kauppi@gmail.com>

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

Co-Authored-By: Juuxel <kasperi.kauppi@gmail.com>
2019-09-30 13:58:58 +01:00
modmuss50 b198b9c6ca Merge #822
# Conflicts:
#	mappings/net/minecraft/entity/LivingEntity.mapping
#	mappings/net/minecraft/entity/mob/MobEntity.mapping
#	mappings/net/minecraft/util/SystemUtil.mapping
2019-09-12 14:28:23 +01:00
modmuss50 d75cbd833f 19w35a 2019-08-28 18:46:02 +01:00
­Sollace 7166083ec4 LivingEntity mappings (#802)
* field_6276 -> lastDamageSource
field_6226 -> lastDamageTime

* getHealthMaximum -> getMaximumHealth

* method_6124 -> getPrimeAdversary

* addPotionEffect -> addStatusEffect

* method_6009 -> onStatusEffectUpgraded
method_6020 -> onStatusEffectApplied

* clearPotionEffects -> clearStatusEffects

* method_6024 -> getLeaningPitch
field_6243 -> leaningPitch
field_6264 -> lastLeaningPitch

* Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position)

* method_18802 -> getMovementSpeed
field_6281 -> flyingSpeed

* method_18801 -> applyClimbingSpeed

* method_6093 -> knockDownwards

* cannotMove -> isImmobile

* method_18396 -> getArmorVisibility

* isEquippedStackValid -> hasStackEquipped

* setEquippedStack -> equipStack

* attributeContainer -> attributes

* method_6039 -> isBlocking
method_6061 -> canPierceDefense

* method_6040 -> consumeItem

* method_6076 -> tickActiveItemStack

* method_6072 -> updateLeaningPitch

* method_6077 -> canEnterTrapdoor

* method_16212 -> getBlockStateUnderFeet (suggestions welcome)

* method_6095 -> absorbDamage

* field_6271 -> knockbackVelocity (or painFactor)

* field_6239 -> roll

* field_6228 -> jumpingCooldown

* field_6254 -> maxHurtTime

* method_6129 -> onStatusEffectRemoved

* field_6285 -> effectsChanged

* spawnPotionParticles -> tickStatusEffects

* method_6031 -> turnHead (as hinted by Mojang)
field_6283 -> bodyYaw
field_6220 -> prevBodyYaw

* field_6255 -> lookDirection (result of turnHead)

* method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart)

* field_6267 -> diagonalSpeed

* field_6261 -> pushCooldown
method_6035 -> push (As hinted by Mojang)
tickPushing -> tickCramming (applies the cramming rule)

* field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion)

* field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before)

* field_6275 -> prevLookDirection

* field_6269 -> defaultMaximumHealth (public, final, value is 20)

* (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding)
field_6233 -> stepBobbingAmount
field_6217 -> prevStepBobbingAmount

* (unused - set to a random float when constructing)
field_6244 -> randomLargeSeed
field_6262 -> randomSmallSeed

* Stitch did this. I don't know why.

* StatusEffect.method_5555 -> onApplied

* canPierceDefense -> tryUseShield

* absorbDamage -> tryUseTotem

* getBlockStateUnderFeet -> getBlockState

* diagonalSpeed -> turningSpeed

* Mapped several parameters

* removeStatusEffect -> tryRemoveStatusEffect
removePotionEffect -> removeStatusEffect

* isPotionEffective -> canHaveStatusEffect

* More parameters

* tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
2019-08-22 21:25:19 +01:00
modmuss50 5695254f64 19w34a 2019-08-22 14:39:40 +01:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00
Adrian Siekierka 4be1c27c10 merge missing 1.14.3-pre2 mappings; update Enigma to fix save NPE 2019-06-29 00:43:29 +02:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
modmuss50 b27778997a 1.14.3-pre3 2019-06-19 18:48:53 +01:00
­Sollace 57f9d99fc1 EntitySize -> EntityDimensions (#745)
* EntitySize -> EntityDimensions

* resizeable -> changing

* constant -> fixed (fite me)

* x/z -> width/height

* EntityType.setSize -> setDimensions

* Entity.getSize -> getDimensions

* EnderDragonPart.partSize -> partDimensions

* PlayerEntity.STANDING_SIZE -> STANDING_DIMENSIONS

* LivingEntity.SLEEPING_SIZE -> SLEEPING_DIMENSIONS

* PlayerEntity.SIZES -> POSE_DIMENSIONS (POSTURES?)

* EntityType.size -> dimensions

* Entity.size -> dimensions

* EntityType.getDefaultSize -> getDimensions

* Entity.refreshSize -> calculateDimensions

* getActiveEyeHeight(pose,size) -> getActiveEyeHeight(pose,dimensions)
2019-06-18 13:05:31 +01:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Chloe Dawn 510f8cbc08 Text refactoring + related mappings (#737)
* Text refactoring + related mappings

* Add a more explicit name for the truncated string getter

* Move Formatting to util package and fully map members

* Advancement#toHoverableText

* Correct mappings in ScoreboardObjective

* Various changes in NbtText and subclasses

* JSONREADER -> JSON_READER

* Shorten TranslatableText argument getter to getArg

* Cleanup mappings in Difficulty class

* Fix Style$Serializer#deserialize json parameter name

* Cleanup some field names in TranslatableText

* More changes to NbtText

* Fix incorrect method name in Texts

* toGreenText -> join

* Use more semantically correct name joinOrdered

* Fix method name in Entity

* Actually fix the method names.. derp
2019-06-07 12:18:04 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
Adrian Siekierka 1f9f42e6dd 1.14.2 Pre-Release 3 2019-05-22 16:06:46 +02:00
howtonotwin ea55a3db01 Name some stuff in and around BoatEntity (#702) 2019-05-16 17:25:06 +01:00
modmuss50 60e13d70f8 Revert 2 bad renames, and downgrade enigma 2019-05-14 12:05:39 +01:00
Chloe Dawn 7a61325ce6 getEntityWorld -> getWorld (#696) 2019-05-13 15:35:00 +01:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
NeunEinser e375b99270 Entity mappings (#657)
* Entity mapping modifications

* Entity mapping renames

* improvements

* xp -> experience, Snowgolem -> SnowGolem, spitout -> spitOut, lastLeveledUp -> lastPlayedLevelUpSoundTime, missed an instance of targetting

* Rename SnowgolemEntity.mapping to SnowGolemEntity.mapping

Stupid file system doesn't make a difference between cases.

* touchingLava -> inLava, touchLava() - setInLava()

* putOnTopmostSolidBlock -> afterSpawn

* owner -> actor, other improvements

* Actors are evil. Or something.

* Missed some actors, reverted stuff that's now part of #663

* isInfestableBlock -> isInfestable

* getRegularBlock(BlockState) ->fromRegularBlock

Another method with inverse logic in that class.

* use method name from main branch for surface collision
2019-05-07 12:19:00 +01:00
quaternary b0db177b4f Lots of fields, methods, params relating to blocks and their internals (#651)
* Lots of fields, methods, params relating to blocks and their internals

* Woops

* More STUFF! 😱

* Woops 2 electric boogaloo

* Minor text fix with pistons

* Reviews

* Map Block#n and friends

* Reviews

* 💩

* snowman -> snow golem

* Consistification with wither skull

* s/nt//

* rightChest/leftChest... might be backwards?
2019-05-05 23:31:29 +01:00
Runemoro f8505bdd1c Map the new 1.14 classes (#646) 2019-04-24 23:19:40 +02:00
Pyrofab a4d9672e02 Made a few needed changes based on open issues (#645)
* Rename LivingEntity#attack, fixes #482

* Rename ItemCooldownManager#isCooldown, fixes #488

* Rename StringItem, fixes #525

* Rename *riddenEntity to *vehicle, closes #589

* Rename PlayerMoveServerMessage, closes #623

* Disambiguate Rotation, fixes #630

* Distinguish rotation classes more

* Revert to BlockRotation
2019-04-23 14:47:15 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
Runemoro 4b82d7412a Misc mappings (#621) 2019-04-16 16:16:45 +02:00
SquidDev 6216cbc25c Map a collection of random methods (#608) 2019-04-12 15:16:19 +01:00
Runemoro ffdab84e79 Client mappings (#609)
* Client mappings

* Update BlockLeakParticle.mapping

* Update NativeImage.mapping
2019-04-12 15:15:55 +01:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
Runemoro 6bb2ca352f Entity mappings (#595)
* Entity mappings

* More mappings

* A few more names

* More entity mappings

* Update CompositeTask.mapping
2019-04-10 15:34:04 +01:00
liach 94b94160ea Some mappings for 19w14b (#592)
* Some mappings

Map render distance center packet and fix revenge target selection goal

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

* More mappings along entities, etc.

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

* Save mappings again

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

* Fixes a few mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-04-10 12:36:55 +01:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
Runemoro fca78f74f4 More mappings 2019-04-04 18:04:19 -04:00
Runemoro 8fb75cc949 Entity mappings 2019-04-04 16:04:27 -04:00
modmuss50 845be1d2ec 19w14a 2019-04-03 17:16:41 +01:00
Jonathan Frederick d4d42f2976 TargetPredicate + Misc mappings (#577)
* TargetPredicate: Add some argument mappings

* MobSpawnerLogic: Add method mappings

* EntityPredicates: Add getBottommostEntity mapping

If anyone has a better name please let me know

* LivingEntity: Add mapping for teleport method

* AnimalMateGoal: add some mappings

* AvoidGoal: add setMobEntityTarget mapping

* FleeEntityGoal: add many mappings

* FollowTargetGoal: Add many mappings

* IronGolemLookGoal: Add mappings

* TrackTargetGoal: Add argument mapping

* WolfBegGoal: Add mappings

This also changes an incorrect mapping

* EndermanEntity: Add many mappings

* MobEntity: Add looking and angle mappings

* EntityView: Add a bunch of mappings

* MobSpawnerLogic: Add playerInRange method

* CreeperEntity: add some mappings

* Explosion: map DestructionType

* Add various entity mappings

* DolphinEntity: Clarify field

* HorseBaseEntity: add pathToAdult method

* PandaEntity: add some mappings

* TurtleEntity: Add some mappings

* RaiderEntity: Add some mappings

* Describe ALL of the predicates!

I've tried to give each predicate a descriptive name, instead of just naming all
of them, "targetPredicate"

* Fixup names of some mappings

* AvoidGoal: Use better predicate name

* FleeEntityGoal: Use better predicate name, more mappings
2019-04-03 16:43:01 +01:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
Runemoro c67d269dfd Entity mappings (#554)
* Entity mappings

* Update ZombiePigmanEntity.mapping

* Improvements

* Update ProjectileUtil.mapping

* More names
2019-03-27 17:54:42 +00:00
Runemoro 1d060729ff 19w12a mappings (#541)
* 19w12a mappings

* More mappings

* Overlay

* Debug renderers

* Tasks

* Map remaining tasks

* Goals

* 3 more classes

* fix

* Fix package
2019-03-21 17:27:13 +00:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Yanis48 9ae17580ac Various mappings, mainly entity (#524)
* Various mappings, mainly entity

* wrong tabulation

* added smooth lighting render class

* resolved conflicts

* oupsi

* '-'
2019-03-19 15:38:15 +00:00
Runemoro fa91aa70fa AI mappings (#533)
* AI mappings

* Map remaining tasks

* Goal mappings

* More goals

* Suggestions

* getOutputMemoryModules
2019-03-19 17:37:06 +02:00
modmuss50 eef3d973f2 Save in enigma, removes some propagated method names 2019-03-14 16:26:35 +00:00
modmuss50 e3d24ae102 19w11b 2019-03-14 15:39:51 +00:00
Adrian Siekierka 333e59da73 19w11a 2019-03-14 13:57:09 +01:00
Raph Hennessy 85bfe2b5b4 Mapped CameraHelper, Shaped/Shapeless Serializers and other small methods (#512) 2019-03-08 02:01:59 +01:00
Ryan Liptak a2e9d2cb1a Updated movement mappings for 19w08b (#498)
FFF changed to Vec3d, this updates those functions to match the mappings that were added in https://github.com/FabricMC/yarn/pull/492 + a few other new mappings

movementSpeed -> speed
vec3dHorizontalLengthSq -> Entity.squaredHorizontalLength
2019-02-25 14:33:09 +01:00
Pyrofab 4be7484935 Update EntityPose related mappings (#501)
* Update EntityPose related mappings

* refreshDimensions -> refreshSize
2019-02-23 14:09:20 +00:00
Adrian Siekierka 5b57dd7623 map Entity.*velocity 2019-02-21 19:20:43 +01:00
Adrian Siekierka c25fcbb177 19w08b 2019-02-21 19:19:18 +01:00
liach 2855b53931 A few assorted entity related mappings (#491) 2019-02-21 19:13:36 +01:00
Ryan Liptak c869757d91 Movement and input related mappings (#492)
- Reasoning for updateVelocity/travel naming: https://github.com/FabricMC/yarn/pull/485#issuecomment-465793034
- PlayerLookC2SPacket -> PlayerInputC2SPacket
  + There's no look information in this packet, only info related to the movement keys the player is pressing
  + PlayerLookC2SPacket.yaw -> PlayerInputC2SPacket.sideways
  + PlayerLookC2SPacket.pitch -> PlayerInputC2SPacket.forward
- Mapped Input.movementSideways/Input.movementForward fields and adding 'pressing' prefix to the boolean Input.forward/back/right/left fields
2019-02-21 19:02:24 +01:00
Adrian Siekierka 66156a5471 update to 19w08a 2019-02-20 21:49:23 +01:00
quat 47af0fc37e Some things, mainly relating to InGameHud 2019-02-20 02:38:08 -05:00
Adrian Siekierka 7c106f6eec clean up Knit bugs, unmap some enums, map a few names along the way - close #461 (#472) 2019-02-17 19:12:23 +00:00
Meredith Espinosa d3a3dc08c0 add various PlayerEntity-related mappings (#473)
* add various PlayerEntity-related mappings

* add mappings for jumps
2019-02-17 19:11:39 +00:00
Yanis Guaye 644904f268 LightningEntity mappings (#475)
* LightningEntity mappings

* Fully mapped LightningEntity

* better field and parameter names

* extraFireBlocksCount -> spreadAttempts
2019-02-17 16:50:31 +00:00
liach 9ce0143a77 Map all fields, methods, and inner classes of fox entity (#459) 2019-02-16 21:50:35 +01:00
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
Runemoro cb61641543 World mappings 2019-02-10 02:49:48 -05:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00
asie 5a4697d967 fix EntityType.category, Entity.createSpawnPacket 2019-01-30 23:55:59 +01:00
Adrian Siekierka 1bfe80a06a update to 19w05a 2019-01-30 18:48:39 +01:00
Siphalor fcf9dbf746 (#435) Various entity and collision related mappings 2019-01-30 18:35:02 +01:00
Juuxel b94e870e54 Crossbows and some entity mappings (#427) 2019-01-28 12:18:51 +01:00
Adrian Siekierka 995df6291a update to 19w04a/Enigma 0.13.x 2019-01-24 20:10:22 +01:00
Runemoro 20ffe31834 Block entities and blocks (#417) 2019-01-24 17:08:22 +01:00
Hazeev Aidar aa8fdd1e89 Some player related mappings (#406) 2019-01-18 00:32:39 +01:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Virtuoel dd1bb669ea Fix scaffolding distance. Minor spelling fix (#403) 2019-01-16 17:57:16 +01:00
Runemoro 37756970dc A few rendering mappings (#401)
* A few rendering mappings

* Fix something

* Fix something
2019-01-16 15:48:01 +00:00
Kitten df7cbc8c55 playSoundAtEntity -> playSound (#391) 2019-01-12 01:33:31 +01:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
Sebastian Knackstedt c17d6ea7cb Method-namings for Entity-classes (#356) 2018-12-30 09:37:40 -05:00
Tyler Hancock 34c0ed8cd5 18w50a exploration 2 (#365) 2018-12-29 12:40:02 +01:00
Adrian Siekierka bbaf0533c7 Merge branch '18w50a' of github.com:FabricMC/pomf into 18w50a 2018-12-22 19:26:55 +01:00
Erlend Åmdal 79fee4ac00 Entity/Feature rendering (#339) 2018-12-22 19:20:49 +01:00
sekwah41 35e4e4b39e Updated a bunch of entity and world collision names (#338) 2018-12-22 19:15:59 +01:00
quat b17dbf0abf Map ALL the packets! 2018-12-14 19:20:08 +01:00
SquidDev 9ac856c303 Re-add mappings for Nameable (#279) 2018-12-13 09:17:42 +00:00
Adrian Siekierka c8152014af rebuild method names 2018-12-12 18:22:18 +01:00
Adrian Siekierka e9ccf701a7 port to 18w50a 2018-12-12 18:12:26 +01:00
Shadowfacts afaf4b010b Assorted dragon fight work (#258)
* Assorted dragon fight work

* PhaseBase -> AbstractPhase, PhaseBaseOther -> AbstractSittingPhase

* crystalWasDamaged -> crystalDestroyed

* More dragon fight work
2018-12-12 11:36:16 +01:00
Adrian Siekierka 0a3f579fc7
partial mapping of EntityTracker (#262) 2018-12-11 14:21:44 +01:00
Adrian Siekierka 14bc1dfaed
map out EntityType (#259)
* map out EntityType

* missed a few
2018-12-11 09:15:34 +01:00
Jamie Mansfield b093e2f65b populateCrashReport (#255) 2018-12-10 19:53:18 +01:00
asie a10a6291ed unmap wrong name in MinecraftClient, standardize appendCrashReportDetails 2018-12-10 07:52:44 +01:00
asie 97567d9cd6 rework EnchantmentHelper names, map a few network-related things 2018-12-07 21:00:43 +01:00
asie b4febed443 tweaks to previous + DamageSource 2018-12-06 11:27:17 +01:00
Prospector c2c85a6606 Literally low-hanging fruit (#244) 2018-12-06 08:13:30 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
asie 3219314eb4 ServerPlayerEntity-related naming work 2018-12-05 12:16:14 +01:00
asie 63470107ac mapping name unification & fixes 2018-12-03 20:57:18 +01:00
Adrian Siekierka f4d37dc92c another hotfix 2018-12-02 11:53:35 +01:00
SquidDev 0a42dd3c3b Assorted mappings for commands (#229)
* Mappings for command argument types

* A couple of responses to feedback
2018-12-01 12:55:14 +01:00
Adrian Siekierka 44f4d2645a mapped a few texture-related things 2018-11-30 15:27:03 +01:00
SquidDev 2367df1d42 Add back several mappings dropped in the latest snapshot (#226)
* Add mappings back for GUI methods

* Add back argument mappings for blocks

And some other changes. I rather forgot.

* Item and entity arguments

* A whole bunch of argument mappings

* Items (again) and fluids

* Entity stuff 'n things

* Fixup most of the client stuff

* Some remaining items
2018-11-30 14:14:53 +01:00
Adrian Siekierka 6a53fc9df7 update to 18w48b 2018-11-30 12:43:16 +01:00
kashike 3a95f539e7 some things (#220) 2018-11-30 12:38:47 +01:00
Prospector 111d25a61c A LITTLE BIT OF EVERYTHING (#224) 2018-11-30 12:37:11 +01:00
SquidDev 9104e89be3 Rename several methods to be suffixed (#222)
* Rename several methods to be suffixed

* Remove "Server" from various ServerCommandSource methods
2018-11-30 12:01:17 +01:00
Adrian Siekierka 50764e1853 update to 18w48a 2018-11-29 21:10:38 +01:00
kashike 1d1dac2926 switch around some predicate stuff (#216) 2018-11-29 21:07:40 +01:00
kashike 56b40168df Goal! (#217) 2018-11-28 21:24:24 +01:00
asie 9a6a13a6e8 close #210, close #211, work on other things 2018-11-28 08:42:16 +01:00
Adrian Siekierka 13ed3f8e2c update to 18w47b 2018-11-27 19:50:51 +01:00
asie 05dc08bffb close #199, close #201, close #202 2018-11-26 14:33:11 +01:00
Adrian Siekierka 591e770b72 update to 18w47a 2018-11-21 17:58:05 +01:00
Adrian Siekierka 1418bb1b37 update to 18w46a 2018-11-15 18:05:03 +01:00
asie a1b90d58a7 fix Entity.getName() conflict 2018-11-07 20:46:53 +01:00
Adrian Siekierka 47d8c24214 update to 18w45a 2018-11-07 17:37:58 +01:00
NikkyAI 07155b2aa6 ServerCommandSource and some random (#188)
* ServerCommandSource and some random

* rename exception types

* some more CommandExceptions

* one more
2018-11-07 17:33:25 +01:00
asie 050abcefca rename some network classes, map scoreboard/custom payload 2018-11-07 09:59:35 +01:00
asie 6cf2bc0eea Update 2018-11-06 20:26:53 +01:00
asie f9cb07a2b4 minor mappings 2018-11-06 17:02:00 +01:00
Adrian Siekierka 351b6536ae minor packet, resource work 2018-11-04 16:45:24 +01:00
Adrian Siekierka 5fd73b1943 update Enigma to 0.12.1 2018-11-04 13:22:38 +01:00
asie ce1ae229d1 client-side interaction-related mapping 2018-11-03 19:06:46 +01:00
Adrian Siekierka 27247c41f0 fix getNameComponent 2018-11-01 20:19:03 +01:00
asie 8226c45d75 resource mapping work, refactor interface names - close #184 2018-11-01 17:53:10 +01:00
Adrian Siekierka d7fc5168c5 18w44a 2018-10-31 17:57:50 +01:00
asie b56b270f45 minor changes 2018-10-31 14:03:33 +01:00
Adrian Siekierka d3eb0a76be entity/registry/bootstrap mapping work 2018-10-28 13:34:15 +01:00
asie 1b13674f8a map DyeColor, JsonLikeTagParser, update 2018-10-27 09:11:38 +02:00
Adrian Siekierka 10af649fc1 update 2018-10-26 20:59:00 +02:00
Adrian Siekierka 45e6a3755d update to 18w43c 2018-10-26 13:08:59 +02:00