Commit Graph

394 Commits

Author SHA1 Message Date
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