Commit Graph

143 Commits

Author SHA1 Message Date
Shnupbups fd0d13ce44
21w20a stuff (#2417)
* 21w20a stuff

* Apply suggestions from code review

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

* AngledModelEntity

idk about the name but eh

* Update HoeItem.mapping

* Update FoodComponent.mapping

* stuff

* Update ItemCooldownManager.mapping

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-24 14:46:09 +01:00
apple502j 007d1f97a7
21w20a entity (#2413)
* 21w20a entity

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-21 14:28:57 +00:00
Player 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
liach dba53e8e93
Checks entity flags to unpick (#2406)
closes #2186

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:46:21 +00:00
liach 8fba2a7da0
Ram (#2403)
fixes a few bad names from shunpbups

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:47 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
modmuss50 b8cf5bdaef 21w18a 2021-05-05 18:45:23 +01:00
apple502j f344dece1a
21w17a stuff (#2355)
* 21w17a stuff

* Fix lint failure

* Rename onEntitiesDestroy

* Rename setYaw
2021-04-30 17:02:56 +00:00
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02:00
YanisBft 88d0870fd4
Renamed dragon entity parts (#2316)
* Renamed dragon entity parts

* FLAG suffix instead of MASK
2021-04-15 12:41:38 +01:00
­Sollace 8eb917d43a
AI Mappings (#2298)
* 21w13/14a classes

* Fill holes in existing classes

* Update mappings/net/minecraft/entity/ai/brain/task/WalkTask.mapping

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

* Apply suggestions from code review

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

* leaping -> noInertia (to better reflect what it does)

* EXPIRY -> POI_EXPIRY + javadoc

* Update mappings/net/minecraft/entity/LivingEntity.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>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-10 22:41:40 +01:00
apple502j 5938ece303
Map entity methods, params, etc (#2266)
* Map entity

* Map hostile mobs

* Map passive mobs

* Map some entities

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
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>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-04-07 21:44:18 +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
Alexander 56d442309e
Goat mappings (#2220)
* Goat mappings

* Fix Goat renderer and model packages
2021-04-01 13:21:58 +01: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
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
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
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
Tehc 2a404a0023
CanPickup/canPickUp -> Equipable/canEquip (#1640)
* LivingEntity.canPickUp -> canEquip

* EntityPredicates.CanPickup -> CanEquip

* EntityPredicates.CanEquip -> Equipable
2020-08-02 09:35:13 +01:00
Alexander 6d9a8c1aca
Map riptide properly (#1503) 2020-06-24 17:35:02 +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
Joseph Burton c34a0949a3
A few soul speed mappings (#1439) 2020-06-08 13:20:53 +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
Deximus-Maximus 2fbbb01395
Misc. Issue Resolution (#1401)
* PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392)

* GameJoinS2CPacket seed -> sha256Seed (#1360)

* checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332)

* StatusEffectType -> StatusEffectCategory (#1036)
StatusEffect -> StatusEffectType
StatusEfectInstance -> StatusEffect
(and related names)

* SettingsScreen -> OptionsScreen (#787)
AccessibilityScreen -> AccessibilityOptionsScreen
Moved OptionsScreen to options package with all the other options screens

* Finishes making maximum/minimum -> max/min (#672)
(the ones in TreeDecoratorConfig as they have no postfix)

DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667)

* fix missing file

* Revert "StatusEffectType -> StatusEffectCategory (#1036)"

This reverts commit 07f887a3d2.

* fix capitalization

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

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

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

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

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

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 19:31:17 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
liach b274a2e932
20w21a brain (#1387)
* 20w21a brain

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

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

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

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-22 12:40:53 +01:00
haykam821 1f53bd3df4
Improve and add mappings related to soul speed (#1391)
* Change the applyFrostWalker method to applyMovementEffects

* Map soul speed-related methods

* Fix duplicate intermediary mapping for method_25937
2020-05-22 12:39:23 +01:00
haykam821 ded5c7e457
Standardize attribute modifier mappings (#1390)
* Standardize the suffix of attribute modifier ID fields

* Remove prefix from attribute modifier fields

* Make soul speed boost attribute modifier ID field consistent

* Make baby piglin speed boost fields consistent
2020-05-22 12:38:04 +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 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
Yanis48 8a00a58f58
Attribute command & related stuff (#1295)
* Attribute command & related stuff

* missed parameters

* updated name
2020-04-26 22:16:16 +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
Yanis48 4a8babd645
Some entity stuff (#1277)
* entity things

* message methods
2020-04-14 15:01:24 +01:00
liach 8a6cdb8699
Rename attribute factory methods to be unique (#1263)
I hate unqualified static method/field calls and static inference!

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 12:19:15 +01:00
liach cabb00e658
20w14a Attributes (#1256)
* 20w14a Attributes

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

* Map the attributes method for zoglin

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-04 21:18:55 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
modmuss50 421fd43218 20w13b 2020-03-26 14:08:27 +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
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
­Sollace 372e9fa3b2
Cape and Elytra mappings for PlayerEntity (#1138)
* Cape and Elytra mappings for PlayerEntity

* Apply suggestions from code review

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

* spreadItems -> throwRandomly

* vx/y/z -> dx/y/z

* Remove invalid mappings

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-03-07 17:37:40 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
modmuss50 d2afdda25f 20w07a 2020-02-14 14:54:37 +00:00
modmuss50 9b88b3c3e8 20w06a 2020-02-05 17:27:03 +00:00
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +00:00
Pyrofab db8d805aa5 LivingEntity#removeStatusEffect clarification (#1050)
* LivingEntity#removeStatusEffect(1) -> removeStatusEffectInternal

* +279 doc in LivingEntity#removeStatusEffectInternal(1)

* LivingEntity#tryRemoveStatusEffect(1) -> removeStatusEffect

* +441 doc in LivingEntity#removeStatusEffect(1)

* LivingEntity#removeStatusEffect(1)[1 = effect] -> type

* LivingEntity#removeStatusEffectInternal(1)[1 = effect] -> type

* +26 doc in LivingEntity#removeStatusEffectInternal(1)
2020-01-11 16:12:49 +00:00
Pyrofab 0a3900ac22 A couple living entity mappings (#1039)
* LivingEntity#method_23883(0) -> dropXp

* LivingEntity#method_23733(1)[1 = ] -> adversary

* LivingEntity#method_23733(1) -> onKilledBy

* +227 doc in LivingEntity#onKilledBy(1)

* LivingEntity#method_23329(2) -> computeFallDamage

* LivingEntity#computeFallDamage(2)[1 = ] -> fallDistance

* LivingEntity#computeFallDamage(2)[2 = ] -> damageMultiplier

* LivingEntity#method_23328(0) -> playBlockFallSound

* LivingEntity#method_21754(0) -> isHoldingLadder

* +175 doc in LivingEntity#isHoldingLadder(0)

* LivingEntity#method_22382(0) -> shouldSpawnConsumptionEffects

* LivingEntity#method_6018(1) -> setPushCooldown

* Fix return tag

* Name PlayerEntity#clipAtLedge

* Move onKilledBy param doc

* isHoldingLadder -> isHoldingOntoLadder

* Fix param comment indent
2020-01-11 16:06:55 +00:00
liach f61755b603 Minor stuff for util package (#935)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:47:58 +00:00
Laura F. D d5b9f96390 Some entity mappings (#888)
* Some entity mappings

* Mixed set/getShowsDeathScreen up

* AbstractMinecartEntity mappings

* Bee mapping

* No boolean getters

* Reorder words

* rebase and fix
2019-10-30 15:42:22 +00: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
Juuxel d9447e37cc Randoms and datafixers (#871)
* Some random mappings

* Revert block tick method renames
2019-09-29 18:46:25 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +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
Runemoro 35891f155e Map some new 19w34a classes (#831)
* Map some new 19w23a classes

* Fixes

* Fix typo

* Drop methods that are gone
2019-09-01 16:21:31 +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
quaternary 5348cc0cfa Smol potion stuff (#775) 2019-07-14 09:17:06 +02: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
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
Runemoro 892d4afb41 FIx issues (#680)
* FIx misnamed things

* Game options and mysterious setblockstate boolean

* a

* Remove duplicate class, remove enum constant from Unit
2019-05-07 15:21:22 +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
Runemoro ca0680d8ca Item mappings (#641)
* Item mappings

* shouldCheckIfStateAllowsPlacement

* canBeLit
2019-04-23 14:47:50 +01: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
Runemoro 4ce0451a0a Block mappings (#638)
* Block mappings

* upddate -> update

* maxFrostedIceNeighborCount -> maxNeighbors

* tickViewerCount
2019-04-18 21:50:55 +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 d59d0ed42f Client mappings (#620) 2019-04-16 16:13:47 +02:00
modmuss50 2fd19127ea 1.14 Pre-Release 2 2019-04-12 15:38:24 +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
modmuss50 90190d1843 Merge branch 'pull/580' into 19w13b
# Conflicts:
#	mappings/net/minecraft/world/EntityView.mapping
2019-04-03 16:46:13 +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
Runemoro 4ebfe3c891 Rendering mappings 2019-03-31 20:45:27 -04:00
Sargun Vohra 791ef4f5e5 Some player stuff (#574)
* Some player stuff

* Update LivingEntity.mapping
2019-03-30 11:06:24 +02: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
Sargun Vohra 672b1f4d70 Map some xp/loot drop stuff (#556)
* Map some xp/loot drop stuff

* Update KilledByPlayerLootCondition.mapping
2019-03-26 12:22:55 +02:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Gegy f1e3439325 Updated Villager Mapping (#527)
* Merge with upstream

* Add back dropped mapping

* Further villager mapping
2019-03-20 17:45:35 +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
Terrails 24ede5ae9b 19w11b FoodItem replacements (#523)
* Mappings for the FoodItem replacement

* Update FoodItemSetting.mapping

* Update FoodItemSetting.mapping

* Update FoodItemSetting.mapping

* Make setter methods similar to other Setting builders
2019-03-18 19:54:11 +00:00