Commit Graph

581 Commits

Author SHA1 Message Date
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
Pyrofab 7b6268654f Remaining StatusEffect methods (#1043)
* StatusEffect#method_5563(2) -> adjustModifierAmount

* StatusEffect#adjustModifierAmount(2)[1 = ] -> amplifier

* StatusEffect#adjustModifierAmount(2)[2 = ] -> modifier

* StatusEffect#method_5573(0) -> isBeneficial

* StatusEffect#onApplied(3)[1 = ] -> entity

* StatusEffect#onApplied(3)[2 = ] -> attributes

* StatusEffect#onApplied(3)[3 = ] -> amplifier

* StatusEffect#onRemoved(3)[1 = ] -> entity

* StatusEffect#onRemoved(3)[2 = ] -> attributes

* StatusEffect#onRemoved(3)[3 = ] -> amplifier

* StatusEffect#<init>(2)[2 = ] -> color

* StatusEffect#<init>(2)[1 = ] -> type
2020-01-11 15:59:27 +00:00
modmuss50 88d6801de1
Fix 2 conflicts. (#1038)
ProtectionEnchantment.type conflicted with Enchantment.type
FoxEntity.wakeUp conflicted with LivingEntity.wakeUp
2020-01-07 16:56:19 +00:00
howtonotwin 805178edc7 Some potion-related names (#1032)
* Change some odd naming in Potion

* Some names in StatusEffectInstance
2020-01-07 00:55:16 +00:00
Tae Lim Kook 80cf8e5ada Names for some fields and methods in net.minecraft.data.server (#1021)
* Rename Gson fields in some classes to GSON

* Name some methods in RecipesProvider

Also a param fix in InventoryChangedCriterion's constructor.

* Rename field in LootTablesProvider

* Rename some methods in AbstractTagProvider

* Name some methods in AdventureTabAdvancementGenerator

* Rename some fields and methods for BlockLootTableGenerator

* Rename some fields and methods in EntityToolTableGenerator and EntityType

* Rename fields in FishingLootTableGenerator

These were loot condition constants checking for biomes.

* Rename fields and methods in HusbandryTabAdvancementGenerator

* method_10422 -> RecipesProvider.requireEnteringFluid

* Rename parameters to SnbtProvider.CompressedData

* Rename some fields and methods in NbtProvider

* method_10422 -> ItemListProvider#toJson

* NEED_ and REQUIRE_ -> NEEDS

* Remove 'loot table' and 'block' in BlockLootTableGenerator method names

Suggested by liach.

* Fix names in EntityLootTableGenerator to align with standards
2020-01-03 20:52:06 +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 f52dc8faa5 Mapped some entity logic stuff (#1013)
* Mapped some entity logic stuff

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

* Use updateCountdownTicks
2019-12-19 18:46:57 +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
modmuss50 b3d3023795 1.15-pre4 2019-12-03 13:35:46 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +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
Runemoro bf81b47a6b Rendering mappings (#985)
* Rendering mappings

* Undo ColorResolver -> ColorProvider, it's an unobfuscated class!

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Fixes by liach

* Fix
2019-11-26 23:53:20 +00:00
modmuss50 85d87033da 1.15-pre2 2019-11-25 19:17:49 +00:00
Runemoro 898fb4c9be Bee mappings (#981) 2019-11-24 01:18:13 +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
Juuxel d9a890e5dc Fix various issues (#966)
* Fix various issues

Fixed TextRenderer.draw parameter names. Closes #965.
RabbitEntity.method_20669 -> canSpawn. Closes #956.
Block/Fluid.stateFactory + getters -> stateManager. Closes #957.
MinecraftServer.advancementManager + getter -> advancementLoader.
ServerPlayerEntity.advancementManager + getter -> advancementTracker.
Closes #960.
PlayerManager.getAdvancementManager -> getAdvancementTracker.
PlayerManager.advancementManagerMap -> advancementTrackers.
Fixed typo in StatePredicate.test param name (sate -> state).

* PlayerManager.advancementManagerMap -> advancementTrackers

* liach's suggestion
2019-11-19 14:22:22 +00:00
modmuss50 a867725a7f 19w46a 2019-11-13 17:34:56 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
Runemoro 630bd1451b Refactor rendering (#930)
* Refactor rendering

* Revert #929 and map more things

* Fixes by liach

* Revert bufferBuilder -> buffer in fields too

* Fixes

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

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

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

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

* Suggestions by Player

* Fix some debug renderer names

* More mappings

* Fix

* Fixes by Player

* Improve BufferBuilderStorage names
2019-11-07 18:03:04 +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 f61755b603 Minor stuff for util package (#935)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:47:58 +00:00
modmuss50 bf6fdd7195 19w44a 2019-10-30 16:28:24 +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
biom4st3r 11d3a5cf6e StatusEffect mapping and Cuboid Method rename (#906)
* Mappings for statusEffects
Changed Cuboid.copyRotation -> Cuboid.copyRotationAndPoint because of the misleading name

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/effect/StatusEffect.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-10-30 15:50:18 +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
UpcraftLP ba767b5dfb you need Boat (#923) 2019-10-25 16:57:20 +01: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
Julian Dunskus cbd7317764 FishingBobberEntity Mappings (#820)
* FishingBobberEntity complete

`luckOfTheSeaLevel` and `lureLevel` were swapped

* following boolean field naming conventions

* naming improvements
2019-10-09 17:45:12 +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
SPGoding 8d19e8266c Map a filed in TridentEntity (#898) 2019-10-09 07:36:50 +01:00
Gareth Williams 26c6645776 mapped isSpawnableFarFromPlayer (#892)
* mapped isSpawnableFarFromPlayer

* mapped spawnableFarFromPlayer
2019-10-03 13:18:51 +01:00
DrMeepster b86853dc72 ZombieEntity Mappings (#857)
* named difficultyChecker

* Update ZombieEntity.mapping

* Baby data

* revised data name

* more naming

* renamed another variable

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

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

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

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

* changed name to fit conventions

* replaced child with baby for consistency

* changed itemStack to stack
2019-09-30 21:27:45 +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
Juuxel d9447e37cc Randoms and datafixers (#871)
* Some random mappings

* Revert block tick method renames
2019-09-29 18:46:25 +01:00
Juuxel 976473470a Spawn restriction mappings (#858)
* Spawn restriction mappings

* SpawnRestriction.canSpawnAt -> canSpawn for consistency

* Some tweaks

* Suggestions

* isValidSpawnHeight -> isValidSpawnDepth

* SpawnRestriction.Predicate => SpawnPredicate

* Parameter names
2019-09-29 18:40:10 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 bf500b5591 Fix 19w38b 2019-09-18 17:39:49 +01:00
modmuss50 5f624356fc 19w38b 2019-09-18 16:29:55 +01:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +01:00
Shnupbups c9f29349e4 Some stuff (#854) 2019-09-15 13:05:47 +01:00
modmuss50 363b9de876 Merged #849
Squashed commit of the following:

commit 10e2858763
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 15:49:09 2019 +0100

    Rename BlockPlayerActionS2CPacket

commit c3357584bc
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 13:55:32 2019 +0100

    Add some player interaction mappings
2019-09-12 14:38:10 +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 f4da454c81 19w37a 2019-09-11 16:28:06 +01:00
modmuss50 6bcf8b8ce9 19w36a 2019-09-05 10:54:58 +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
modmuss50 d75cbd833f 19w35a 2019-08-28 18:46:02 +01:00
NinjaPhenix 9350e9382e Renames some classes now shared by parrots and bees (#840)
* Renames some classes now shared by parrots and bees

* Renames Flutters to Flutterer due to recommendation in #yarn.
2019-08-26 22:34:19 +01:00
Shnupbups 3ae7d9f0a9 Fixed a typo (#836)
* Map LongArgumentSerializer (#813)

* Fixed a typo
2019-08-26 12:02:55 +01:00
Shnupbups 80e8183975 Begin 19w34a mappings (#828)
* Begin 19w34a mappings

* more stuff

* More stuff

* stuff

* stuff again

* Update EntityRenderer.mapping

* x

* Finish mapping and modify BeeEntity, name string damagesource, map bee model

* Fix typo in class_1282 method 21748

* Update BeeEntity.mapping

* Update BeeHiveBlockEntity.mapping

* more stuff
2019-08-25 15:18:10 +00: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
­Sollace 093d7f91c1 Item entity mappings (#796)
* method_6980 -> setCreativeDespawnTime

* method_20397 -> canMerge

* method_6974 -> applyBuoyancy

* method_6976 -> setCovetedItem

* method_6987 -> setDespawnImmediately
2019-08-03 23:47:19 +01:00
Shnupbups 4243e9813b Mapped lots of random things (#794)
* Stuff

* more stuff

* even more stuff

* removed an accidental thing

* stuff 4: electric boogaloo

* Update BlockState.mapping

* Stuff VI: The Search for Stuff V

* Update NativeImage.mapping

* removed things already mapped by Rune's PR

Namely `net/minecraft/realms/YesNoScreen' (`com/mojang/realmsclient/gui/screens/RealmsConfirmScreen` in Rune's PR), `net/minecraft/realms/RealmsError' (`com/mojang/realmsclient/client/RealmsError` in Rune's PR), and `net/minecraft/realms/InvalidClientScreen' (`com/mojang/realmsclient/gui/screens/RealmsClientOutdatedScreen` in Rune's PR).

* Stuff: The Final Stuffening

* Stuff: Revengeance

* Stuff Episode IX: Endgame
2019-07-31 15:20:12 +01:00
­Sollace 8f369ff52e Entity control mappings (#778)
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-07-16 20:22:47 +02:00
quaternary 5348cc0cfa Smol potion stuff (#775) 2019-07-14 09:17:06 +02:00
modmuss50 69808e7f6c 1.14.4-pre4 2019-07-10 14:32:43 +01:00
liach 08dc88d859 Mapped some non-realms stuff (#782) 2019-07-10 08:52:57 +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 30dc644d22 update Enigma, Stitch; drop unnecessary enum mappings 2019-06-29 09:49:26 +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
liach ee0c22d08b Mapped two unmapped classes and some villager stuff (#758)
* Mapped two unmapped classes and some villager stuff

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

* optimize name

Signed-off-by: liach <liach@users.noreply.github.com>
2019-06-23 18:55:59 +01:00
modmuss50 b6ed693b8d 1.14.3-pre4 2019-06-19 20:24:08 +01: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
Adrian Siekierka 3fae250684 take care of #730 2019-06-14 11:57:55 +02: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
NeunEinser 4419bb5811 Some new 1.14.3 mappings (#731) 2019-06-06 21:37:03 +02:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
Chloe Dawn bb90607728 Item refactoring (#712) 2019-06-03 18:42:18 +02:00
Yanis48 86b6ca3940 Class renamings, mainly entity-related (#720)
* renamings

* tnt minecart entity
2019-06-02 20:35:57 +01:00
Adrian Siekierka 1f9f42e6dd 1.14.2 Pre-Release 3 2019-05-22 16:06:46 +02:00
Adrian Siekierka 7d5de74139
Block.isOpaque, Phase tick mappings (#708) 2019-05-18 21:45:50 +02:00
Yanis48 3abd72da61 Various entity renderer & model mappings (#707) 2019-05-18 13:23:23 +02:00
modmuss50 b60e6e7e6c 1.14.2 Pre-Release 1 2019-05-16 17:28:41 +01: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
Adrian Siekierka 7290b5ae14 1.14.1 Pre-Release 2 2019-05-09 17:00:37 +02:00
NeunEinser 86634d3461 some new 1.14.1-pre1 stuff (#686) 2019-05-07 23:48:07 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
tyra 6178ac86fc Update LlamaEntity.mapping (#684)
Adds mappings for two more methods
2019-05-07 16:57:34 +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
NeunEinser 802650ea21 Removed enum constants were auto mapping works, added them where it does not. (#663) 2019-05-06 17:57:44 +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
Chloe Dawn 6873106509 VerticalEntityPosition -> EntityContext (#669) 2019-05-05 23:23:57 +01:00
Adrian Siekierka 465a1e3701
entity renderer naming consistency fixes (#653) 2019-04-29 08:54:17 +02:00
Runemoro f8505bdd1c Map the new 1.14 classes (#646) 2019-04-24 23:19:40 +02: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
NeunEinser b948925b87 A few new pre-4 mappings (#633)
* A few new pre-4 mappings

* typo

* Update and rename ItemOminousBannerTranslataionKeyRenameFix.mapping to ItemOminousBannerTranslationKeyRenameFix.mapping

* Improvements + some parameter names for CartographyTableContainer
2019-04-18 21:51:33 +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
Runemoro 4aa3c17b17 A few mappings (#631)
* A few mappings

* Suggestions by liach

* Improvements

* Add methods from liach's PR

* make -> get to match others

* get -> create for methods that create tasks
2019-04-17 17:23:22 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
NeunEinser 4ef4dc3e8d Command Mappings, mostly arguments and some missing methods/inner classes (#613) 2019-04-16 16:17:28 +02:00
Runemoro 4b82d7412a Misc mappings (#621) 2019-04-16 16:16:45 +02:00
Runemoro d59d0ed42f Client mappings (#620) 2019-04-16 16:13:47 +02:00
liach eca8dc8f6e Some updated raid mappings (#617) 2019-04-16 16:13:03 +02:00
SquidDev 616683e536 A couple more methods for CommandBlockExecutor (#612) 2019-04-14 10:55:58 +02:00
modmuss50 2fd19127ea 1.14 Pre-Release 2 2019-04-12 15:38:24 +01:00
modmuss50 dcf1bdca01 Merge branch 'pull/607' into 1.14_Pre-Release_1
# Conflicts:
#	mappings/net/minecraft/world/loot/function/SetNbtLootFunction.mapping
2019-04-12 15:20:28 +01:00
liach a4de6322db Map some poi and village stuff (#604)
* Map some poi and village stuff

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

* Update based on suggestion
traderrecipe -> tradeoffer

Signed-off-by: liach <liach@users.noreply.github.com>
2019-04-12 15:16:50 +01: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
Runemoro 7bedd4cd9f Map all commands and argument types 2019-04-11 01:58:54 -04: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
Uriel Salischiker ac757c350a Mappings for some files (#600) 2019-04-07 12:07:33 +02:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
modmuss50 6bc3deea2f Merge branch 'pull/590' into 19w14a
# Conflicts:
#	mappings/net/minecraft/entity/Entity.mapping
#	mappings/net/minecraft/entity/mob/SlimeEntity.mapping
#	mappings/net/minecraft/entity/passive/AbstractTraderEntity.mapping
#	mappings/net/minecraft/entity/passive/VillagerEntity.mapping
2019-04-05 16:59:48 +01:00
liach e2c9a5c337 A few mappings around villagers (#587)
* A few mappings around villagers

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

* Update VillagerEntity.mapping

did enigma broke
2019-04-05 16:56:48 +01:00
Yanis48 1d2960ebe7 A few random mappings (#583)
* my little mappings

* plural methods
2019-04-05 16:56:01 +01:00
Sargun Vohra 046e93f136 Mostly EntityType stuff, plus a bit of slime stuff (#588) 2019-04-05 13:58:14 +02: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
modmuss50 087ce6de98 Merge branch 'pull/579' into 19w13b
# Conflicts:
#	mappings/net/minecraft/entity/ai/goal/TemptGoal.mapping
#	mappings/net/minecraft/world/EntityView.mapping
2019-04-03 16:45:44 +01:00
Sargun Vohra dcf0691315 Make AI task lifecycle easier to understand (#581) 2019-04-03 16:43:23 +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
modmuss50 f6fbfeffd8 Merge branch 'pull/576' into 19w13b
# Conflicts:
#	mappings/net/minecraft/server/command/ParticleCommand.mapping
2019-03-31 15:23:26 +01:00
liach 6e44cd7dc6 Random mappings around projectiles etc (#575)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-31 15:11:51 +01:00
gegy1000 b8e424d707 Cat and Ocelot mapping 2019-03-31 16:06:27 +02:00
Runemoro 1458a5ce72 More mappings 2019-03-31 07:34:42 -04:00
Runemoro 2337da5579 More mappings 2019-03-31 07:15:05 -04:00
Sargun Vohra 791ef4f5e5 Some player stuff (#574)
* Some player stuff

* Update LivingEntity.mapping
2019-03-30 11:06:24 +02:00
modmuss50 0580b466fb 19w13b 2019-03-29 16:19:26 +00:00
Runemoro 4c16cbb961 Merge remote-tracking branch 'upstream/19w13a' into s 2019-03-29 03:39:49 -04:00
Runemoro a1438d1316 Fixes + more names 2019-03-29 03:36:11 -04:00
Runemoro dc3213335d 19w13a mappings 2019-03-29 03:04:08 -04:00
liach b418a046f0 Some stuff about trading and villages (#563)
* Some stuff about trading and villages

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

* A few more random mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-29 00:37:29 +00:00
liach f9e67cc711 I love raids! (#562)
* I love raids!

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

* Fix spawn more groups name

Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-28 19:07:49 +00:00
Pyrofab 1ba89c7d1f Finish mapping Brain (#561) 2019-03-28 09:33:27 +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
Blake Redenius 106c733e04 Map mostly static ArgumentType methods, and a PlayerInventory field. (#550)
* Mappings for the static getArgument ArgumentType methods.

* This field is set to a list of every item list that makes up the players inventory.
2019-03-22 17:56:19 +02:00
modmuss50 6d38740b83 19w12b 2019-03-21 18:06:36 +00:00
modmuss50 8339dfb381 Merge branch 'pull/546' into 19w12a
# Conflicts:
#	mappings/net/minecraft/entity/ai/brain/Brain.mapping
2019-03-21 17:29:44 +00:00
Adrian Freund 7480676ebe Added mappings for VillagerEntity inner class (#543) 2019-03-21 17:27:23 +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
liach a265c803cf Drop subclass for #543
Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-21 08:19:14 -07:00
liach a0c6dc7e67 Add some villager related mappings and fix some really poor names
Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-21 08:16:40 -07: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
Pyrofab 0cfcb7800c Finish mapping entity attributes (#538) 2019-03-19 20:07:55 +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
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
Runemoro 936397a574 Client class mappings (#534)
* Client class mappings

* A few more classes

* 3 more

* A few more classes

* a

* Suggestions

* ErrorScreen
2019-03-18 19:53:22 +00:00
modmuss50 b7d1ab3eab CrossbowUser.w should be getTarget. Work around for propagation issue 2019-03-17 16:40:47 +00:00
modmuss50 a7eee8f064 Fix inner class names 2019-03-14 19:41:19 +00: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
Blake Redenius 3678cb6171 Add 2 new methods mappings and rename a few others. (#516)
* Change ItemStack#invalid to ItemStack#empty. Only ever used when checking if the stack is empty

* Rename BucketMilkItem to MilkBucketItem

* Change FireworksItem to FireworkItem (registry name is also singular, not plural)

* Rename EntityType.ILLAGER_BEAST to RAVAGER to match the class / actual entity name.

* Map 2 of FenceBlock's connection-related methods.
2019-03-09 15:13:29 +01:00
Raph Hennessy 85bfe2b5b4 Mapped CameraHelper, Shaped/Shapeless Serializers and other small methods (#512) 2019-03-08 02:01:59 +01:00
asie 4b91cfbcf5 19w09a 2019-02-27 19:17:22 +01:00
gegy1000 9c2a779f00 (#507) Arbitrary Mapping 2019-02-27 19:09:49 +01:00
Adrian Siekierka 436cf33f9f
improve resource mappings (#508) 2019-02-27 19:06:10 +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
Meredith Espinosa cdb7916a69 map the new enum for status effects (#497) 2019-02-22 13:33:25 +01:00
asie 4c6e7b023d fix PandaEntity 2019-02-21 19:46:39 +01: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
asie b8455e0dc2 mapping tweaks, close #494 2019-02-21 19:15:03 +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 d1435774dc fix mappings 2019-02-20 22:01:25 +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
kashike f9219d3e30 fix wither class name (#478) 2019-02-17 12:28:17 +01:00
liach 9ce0143a77 Map all fields, methods, and inner classes of fox entity (#459) 2019-02-16 21:50:35 +01:00
Adrian Siekierka 4f390a9306
map 19w07a resource reloading (#462) 2019-02-14 20:54:51 +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
Pyrofab 5c388721a8 Map GuardianEntity (#446) 2019-02-06 18:11:49 +00:00
Gegy 15fb68b4f0 AI mapping (#441)
* AI mapping

* Remove redundant inherited method mapping

* Fix PrimedTntEntity mapping

* Fix PrimedTntEntity mapping

* Fix PrimedTntEntity mapping

* initGoals
2019-02-06 18:11:04 +00:00
Gareth Williams ea2837fd3a hasItemStack mapping (#444) 2019-02-06 17:01:17 +01:00
Erlend Åmdal 6a0d96fda2 Tiny fixes (#443) 2019-02-03 18:32:25 +01:00
Yanis48 3ad526eaee Various things from 19w05a (#437) 2019-01-31 12:59:07 +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