AI mapping (#441)

* AI mapping

* Remove redundant inherited method mapping

* Fix PrimedTntEntity mapping

* Fix PrimedTntEntity mapping

* Fix PrimedTntEntity mapping

* initGoals
This commit is contained in:
Gegy 2019-02-06 20:11:04 +02:00 committed by Modmuss50
parent ea2837fd3a
commit 15fb68b4f0
28 changed files with 217 additions and 7 deletions

2
mappings/ajw.mapping Normal file
View File

@ -0,0 +1,2 @@
CLASS ajw
FIELD a owner Lahu;

4
mappings/akr.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS akr
FIELD a owner Laia;
METHOD <init> (Laia;)V
ARG 1 owner

4
mappings/akv.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS akv
FIELD a owner Laqz;
METHOD <init> (Laqz;)V
ARG 1 owner

View File

@ -1,3 +1,21 @@
CLASS aiq net/minecraft/entity/ai/control/MoveControl
CLASS aiq$a State
FIELD a entity Laho;
FIELD b targetX D
FIELD c targetY D
FIELD d targetZ D
FIELD e speed D
FIELD h state Laiq$a;
METHOD <init> (Laho;)V
ARG 1 entity
METHOD a tick ()V
METHOD a moveTo (DDDD)V
ARG 1 x
ARG 3 y
ARG 5 z
ARG 7 speed
METHOD b isMoving ()Z
METHOD c getSpeed ()D
METHOD d getTargetX ()D
METHOD e getTargetY ()D
METHOD f getTargetZ ()D

View File

@ -0,0 +1,4 @@
CLASS akp net/minecraft/entity/ai/goal/AvoidSunlightGoal
FIELD a owner Lahu;
METHOD <init> (Lahu;)V
ARG 1 owner

View File

@ -0,0 +1,6 @@
CLASS aje net/minecraft/entity/ai/goal/ChaseBoatGoal
FIELD b owner Lahu;
FIELD c passenger Lahn;
FIELD d state Laiu;
METHOD <init> (Lahu;)V
ARG 1 owner

View File

@ -0,0 +1,5 @@
CLASS aks net/minecraft/entity/ai/goal/CreeperIgniteGoal
FIELD a owner Lapp;
FIELD b target Lahn;
METHOD <init> (Lapp;)V
ARG 1 owner

View File

@ -0,0 +1,12 @@
CLASS ake net/minecraft/entity/ai/goal/EscapeDangerGoal
FIELD a owner Lahu;
FIELD b speed D
FIELD c targetX D
FIELD d targetY D
FIELD e targetZ D
METHOD <init> (Lahu;D)V
ARG 1 owner
ARG 2 speed
METHOD a locateClosestWater (Lbcb;Lahe;II)Let;
ARG 3 rangeX
ARG 4 rangeY

View File

@ -0,0 +1,11 @@
CLASS ajc net/minecraft/entity/ai/goal/EscapeSunlightGoal
FIELD a owner Lahu;
FIELD b targetX D
FIELD c targetY D
FIELD d targetZ D
FIELD e speed D
FIELD f world Lbcq;
METHOD <init> (Lahu;D)V
ARG 1 owner
ARG 2 speed
METHOD g locateShadedPos ()Lcmw;

View File

@ -0,0 +1,9 @@
CLASS akq net/minecraft/entity/ai/goal/HorseBondWithPlayerGoal
FIELD a owner Lank;
FIELD b speed D
FIELD c targetX D
FIELD d targetY D
FIELD e targetZ D
METHOD <init> (Lank;D)V
ARG 1 owner
ARG 2 speed

View File

@ -0,0 +1,7 @@
CLASS akh net/minecraft/entity/ai/goal/LookAroundGoal
FIELD a owner Laho;
FIELD b deltaX D
FIELD c deltaZ D
FIELD d lookTime I
METHOD <init> (Laho;)V
ARG 1 owner

View File

@ -0,0 +1,16 @@
CLASS ajs net/minecraft/entity/ai/goal/LookAtEntityGoal
FIELD a owner Laho;
FIELD b target Lahe;
FIELD c range F
FIELD d targetType Ljava/lang/Class;
FIELD e lookTime I
FIELD f chance F
METHOD <init> (Laho;Ljava/lang/Class;F)V
ARG 1 owner
ARG 2 targetType
ARG 3 range
METHOD <init> (Laho;Ljava/lang/Class;FF)V
ARG 1 owner
ARG 2 targetType
ARG 3 range
ARG 4 chance

View File

@ -0,0 +1,6 @@
CLASS ajp net/minecraft/entity/ai/goal/ParrotClimbOntoPlayerGoal
FIELD a parrot Lanc;
FIELD b parrotOwner Laro;
FIELD c mounted Z
METHOD <init> (Lanc;)V
ARG 1 parrot

View File

@ -0,0 +1,5 @@
CLASS ajq net/minecraft/entity/ai/goal/PounceAtTargetGoal
FIELD a owner Laho;
FIELD b target Lahn;
METHOD <init> (Laho;F)V
ARG 1 owner

View File

@ -0,0 +1,17 @@
CLASS aki net/minecraft/entity/ai/goal/WanderAroundGoal
FIELD a owner Lahu;
FIELD b targetX D
FIELD c targetY D
FIELD d targetZ D
FIELD e speed D
FIELD f chance I
METHOD <init> (Lahu;D)V
ARG 1 owner
ARG 2 speed
METHOD <init> (Lahu;DI)V
ARG 1 owner
ARG 2 speed
ARG 4 chance
METHOD b setChance (I)V
ARG 1 chance
METHOD g getWanderTarget ()Lcmw;

View File

@ -1,6 +1,9 @@
CLASS alp net/minecraft/entity/ai/pathing/EntityMobNavigation
FIELD p avoidSunlight Z
METHOD <init> (Laho;Lbcq;)V
ARG 1 entity
METHOD a setCanPathThroughDoors (Z)V
METHOD b setCanEnterOpenDoors (Z)V
METHOD c setAvoidSunlight (Z)V
ARG 1 avoidSunlight
METHOD g canEnterOpenDoors ()Z

View File

@ -1,12 +1,22 @@
CLASS alq net/minecraft/entity/ai/pathing/EntityNavigation
FIELD a entity Laho;
FIELD b world Lbcq;
FIELD c currentPath Lcii;
FIELD d speed D
FIELD e tickCount I
FIELD m idle Z
FIELD m shouldRecalculate Z
FIELD n lastRecalculateTime J
FIELD o nodeMaker Lcih;
FIELD p followRange Laic;
FIELD q targetPos Let;
FIELD r pathNodeNavigator Lcik;
METHOD a createPathNodeNavigator ()Lcik;
METHOD a setSpeed (D)V
ARG 1 speed
METHOD a findPathTo (DDD)Lcii;
ARG 1 x
ARG 3 y
ARG 5 z
METHOD a startMovingTo (DDDD)Z
ARG 7 speed
METHOD a findPathTo (Lahe;)Lcii;
@ -14,10 +24,27 @@ CLASS alq net/minecraft/entity/ai/pathing/EntityNavigation
ARG 2 speed
METHOD a startMovingAlong (Lcii;D)Z
ARG 2 speed
METHOD a canPathDirectlyThrough (Lcmw;Lcmw;III)Z
ARG 1 origin
ARG 2 target
ARG 3 sizeX
ARG 4 sizeY
ARG 5 sizeZ
METHOD a isValidPosition (Let;)Z
ARG 1 pos
METHOD b isAtValidPosition ()Z
METHOD b findPathTo (Let;)Lcii;
ARG 1 pos
METHOD d tick ()V
METHOD d setCanSwim (Z)V
ARG 1 canSwim
METHOD i getTargetPos ()Let;
METHOD j getFollowRange ()F
METHOD k isIdle ()Z
METHOD k shouldRecalculatePath ()Z
METHOD l recalculatePath ()V
METHOD m getCurrentPath ()Lcii;
METHOD p isIdle ()Z
METHOD q stop ()V
METHOD r isInLiquid ()Z
METHOD s getNodeMaker ()Lcih;
METHOD t canSwim ()Z

View File

@ -1,19 +1,26 @@
CLASS cii net/minecraft/entity/ai/pathing/Path
FIELD a nodes [Lcig;
FIELD e currentNodeIndex I
FIELD f pathLength I
FIELD f length I
METHOD <init> ([Lcig;)V
ARG 1 nodes
METHOD a next ()V
METHOD a getNode (I)Lcig;
ARG 1 index
METHOD a setNode (ILcig;)V
ARG 1 nodeIndex
ARG 1 index
ARG 2 node
METHOD a getNodePosition (Lahe;)Lcmw;
METHOD a getNodePosition (Lahe;I)Lcmw;
ARG 1 entity
ARG 2 index
METHOD a equalsPath (Lcii;)Z
METHOD b isFinished ()Z
METHOD b setPathLength (I)V
METHOD b setLength (I)V
ARG 1 length
METHOD c getEnd ()Lcig;
METHOD c setCurrentPosition (I)V
METHOD d getPathLength ()I
METHOD c setCurrentNodeIndex (I)V
ARG 1 index
METHOD d getLength ()I
METHOD e getCurrentNodeIndex ()I
METHOD f getCurrentPosition ()Lcmw;

View File

@ -9,10 +9,12 @@ CLASS cig net/minecraft/entity/ai/pathing/PathNode
METHOD <init> (III)V
ARG 1 x
ARG 2 y
ARG 3 z
METHOD a isInHeap ()Z
METHOD a copyWithNewPosition (III)Lcig;
ARG 1 x
ARG 2 y
ARG 3 z
METHOD a distance (Lcig;)F
METHOD b calculateHashCode (III)I
ARG 0 x

View File

@ -68,6 +68,7 @@ CLASS aho net/minecraft/entity/mob/MobEntity
ARG 0 stack
METHOD f setTarget (Lahn;)V
METHOD n setCanPickUpLoot (Z)V
METHOD o initGoals ()V
METHOD o setAiDisabled (Z)V
METHOD p createBodyControl ()Laik;
METHOD p setLeftHanded (Z)V

View File

@ -1,2 +1,4 @@
CLASS aqz net/minecraft/entity/passive/AbstractVillagerEntity
FIELD bC recipes Lbbv;
FIELD bD customer Laro;
METHOD dE hasCustomer ()Z

View File

@ -1,5 +1,6 @@
CLASS ank net/minecraft/entity/passive/HorseBaseEntity
FIELD bC ATTR_JUMP_STRENGTH Laib;
FIELD bH decorationItem Lagf;
FIELD bI temper I
FIELD bN HORSE_FLAGS Lps;
FIELD bO OWNER_UUID Lps;

View File

@ -1,3 +1,5 @@
CLASS amt net/minecraft/entity/passive/OcelotEntity
CLASS amt$a OcelotFleeGoal
FIELD bC TAMING_INGREDIENT Lazp;
METHOD dF isTrusting ()Z
METHOD q setTrusting (Z)V

View File

@ -1,5 +1,35 @@
CLASS amu net/minecraft/entity/passive/PandaEntity
CLASS amu$a Gene
FIELD h VALUES [Lamu$a;
FIELD i id I
FIELD j name Ljava/lang/String;
FIELD k recessive Z
METHOD <init> (Ljava/lang/String;IILjava/lang/String;Z)V
ARG 3 id
ARG 4 name
ARG 5 recessive
METHOD a getId ()I
METHOD a byId (I)Lamu$a;
METHOD a byName (Ljava/lang/String;)Lamu$a;
METHOD a createRandom (Ljava/util/Random;)Lamu$a;
METHOD b getName ()Ljava/lang/String;
METHOD b getProductGene (Lamu$a;Lamu$a;)Lamu$a;
ARG 0 mainGene
ARG 1 hiddenGene
METHOD c isRecessive ()Z
CLASS amu$b PandaFleeGoal
CLASS amu$c PandaMateGoal
CLASS amu$f PandaMoveControl
FIELD i panda Lamu;
FIELD bH MAIN_GENE Lps;
FIELD bI HIDDEN_GENE Lps;
METHOD a setMainGene (Lamu$a;)V
METHOD b setHiddenGene (Lamu$a;)V
METHOD dN getMainGene ()Lamu$a;
METHOD dO getHiddenGene ()Lamu$a;
METHOD dQ getProductGene ()Lamu$a;
METHOD dR isLazy ()Z
METHOD dS isWorried ()Z
METHOD dT isPlayful ()Z
METHOD dV isWeak ()Z
METHOD dW isAggressive ()Z

View File

@ -1,3 +1,5 @@
CLASS anc net/minecraft/entity/passive/ParrotBaseEntity
METHOD <init> (Lahi;Lbcq;)V
ARG 1 type
METHOD g mountOnto (Laro;)Z
ARG 1 player

View File

@ -5,9 +5,13 @@ CLASS amz net/minecraft/entity/passive/RabbitEntity
METHOD c isActive ()Z
CLASS amz$e RabbitMoveControl
FIELD i rabbit Lamz;
CLASS amz$f
FIELD f owner Lamz;
FIELD bC RABBIT_TYPE Lps;
FIELD bD KILLER_BUNNY Lqd;
METHOD a isBreedingItem (Laxd;)Z
METHOD b createChild (Lahc;)Lamz;
METHOD d setSpeed (D)V
ARG 1 speed
METHOD dF getRabbitType ()I
METHOD q setRabbitType (I)V

View File

@ -2,6 +2,7 @@ CLASS anb net/minecraft/entity/passive/SheepEntity
FIELD bC COLOR Lps;
FIELD bD DROPS Ljava/util/Map;
FIELD bE COLORS Ljava/util/Map;
FIELD bH eatGrassGoal Lajb;
METHOD a getChildColor (Lamk;Lamk;)Lawf;
METHOD a getRgbColor (Lawf;)[F
ARG 0 dyeColor

View File

@ -1,5 +1,6 @@
CLASS alz net/minecraft/village/VillageDoor
FIELD a position Let;
FIELD b insidePosition Let;
FIELD c facing Ley;
FIELD d lastTimeSeenByVillager I
FIELD f entityInsideTicks I
@ -22,6 +23,7 @@ CLASS alz net/minecraft/village/VillageDoor
ARG 2 y
METHOD c getEntityInsideTicks ()I
METHOD d getPosition ()Let;
METHOD e getInsidePosition ()Let;
METHOD f insideDirectionX ()I
METHOD g insideDirectionY ()I
METHOD h getLastTimeSeenByVillager ()I