Add some stuff for AIs (#67)

* Add some stuff for AIs

* deleted bad files

* missed them

* fix according to asiekierka
This commit is contained in:
liach 2016-09-12 02:28:32 -07:00 committed by Adrian Siekierka
parent 1ad8c59e14
commit e349ebc2fd
73 changed files with 445 additions and 0 deletions

View File

@ -0,0 +1,11 @@
CLASS none/ty net/minecraft/entity/ai/AiGoal
FIELD a categoryBits I
METHOD a canStart ()Z
METHOD a setCategoryBits (I)V
ARG 0 newBits
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
METHOD g canStop ()Z
METHOD h getCategoryBits ()I

View File

@ -0,0 +1,41 @@
CLASS none/tz net/minecraft/entity/ai/AiGoalSet
CLASS none/tz$a WeighedAiGoal
FIELD a goal Lnone/ty;
FIELD b priority I
FIELD c executing Z
METHOD <init> (Lnone/tz;ILnone/ty;)V
ARG 0 priority
ARG 1 goal
METHOD equals (Ljava/lang/Object;)Z
ARG 0 other
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
FIELD b all Ljava/util/Set;
FIELD c executing Ljava/util/Set;
FIELD d profiler Lnone/os;
FIELD e timer I
FIELD f timeInterval I
FIELD g usedBits I
METHOD <init> (Lnone/os;)V
ARG 0 profiler
METHOD a tick ()V
METHOD a add (ILnone/ty;)V
ARG 0 weight
ARG 1 task
METHOD a changeBits (IZ)V
ARG 0 taskBits
ARG 1 remove
METHOD a remove (Lnone/ty;)V
ARG 0 task
METHOD a shouldContinueExecution (Lnone/tz$a;)Z
ARG 0 goal
METHOD a areCompatible (Lnone/tz$a;Lnone/tz$a;)Z
ARG 0 a1
ARG 1 a2
METHOD b canAddTask (I)Z
ARG 0 taskBits
METHOD b canStart (Lnone/tz$a;)Z
ARG 0 task
METHOD c addBits (I)V
ARG 0 taskBits
METHOD d removeBits (I)V
ARG 0 taskBits

View File

@ -0,0 +1,3 @@
CLASS none/zq net/minecraft/entity/ai/IDistantAttacker
METHOD a attackDistant (Lnone/sn;F)V
ARG 0 target

View File

@ -0,0 +1,13 @@
CLASS none/tt net/minecraft/entity/ai/impl/AiGoalEatGrass
FIELD a timer I
FIELD b CHECKER Lcom/google/common/base/Predicate;
FIELD c owner Lnone/so;
FIELD d world Lnone/aiu;
METHOD <init> (Lnone/so;)V
ARG 0 owner
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
METHOD f getTimer ()I

View File

@ -0,0 +1,8 @@
CLASS none/tx net/minecraft/entity/ai/impl/AiGoalFollowParent
FIELD a owner Lnone/wl;
FIELD b parent Lnone/wl;
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

View File

@ -0,0 +1,14 @@
CLASS none/tr net/minecraft/entity/ai/impl/animal/AiGoalAnimalMate
FIELD a world Lnone/aiu;
FIELD b timer I
FIELD c chance D
FIELD d owner Lnone/wl;
FIELD e mate Lnone/wl;
METHOD <init> (Lnone/wl;D)V
ARG 0 owner
ARG 1 chance
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD d onRemove ()V
METHOD e tick ()V
METHOD f findMate ()Lnone/wl;

View File

@ -0,0 +1,4 @@
CLASS none/xh net/minecraft/entity/ai/impl/mob/AiGoalSkeletonHorse
FIELD a owner Lnone/xg;
METHOD a canStart ()Z
METHOD e tick ()V

View File

@ -0,0 +1,7 @@
CLASS none/tw net/minecraft/entity/ai/impl/passive/AiGoalFollowOwner
FIELD d owner Lnone/sy;
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

View File

@ -0,0 +1,14 @@
CLASS none/tp net/minecraft/entity/ai/impl/passive/AiGoalWolfBeg
FIELD a owner Lnone/wz;
FIELD b begFrom Lnone/aak;
FIELD c world Lnone/aiu;
FIELD d chance F
FIELD e timer I
METHOD <init> (Lnone/wz;F)V
ARG 0 owner
ARG 1 chance
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

View File

@ -1,4 +1,6 @@
CLASS none/yj net/minecraft/entity/boss/impl/EntityWither
CLASS none/yj$a
METHOD a canStart ()Z
FIELD a TRACKED_ENTITY_ID_1 Lnone/kj;
FIELD b TRACKED_ENTITY_ID_2 Lnone/kj;
FIELD bx TRACKED_ENTITY_IDS [Lnone/kj;
@ -15,6 +17,8 @@ CLASS none/yj net/minecraft/entity/boss/impl/EntityWither
METHOD a damage (Lnone/rp;F)Z
ARG 0 source
ARG 1 damage
METHOD a attackDistant (Lnone/sn;F)V
ARG 0 target
METHOD b serializeEntityTag (Lnone/dt;)V
METHOD bV getSoundHurt ()Lnone/nk;
METHOD bW getSoundDeath ()Lnone/nk;

View File

@ -1,5 +1,8 @@
CLASS none/zb net/minecraft/entity/mob/EntitySkeletonBase
FIELD a AIMING Lnone/kj;
CLASS none/zb$1
METHOD c start ()V
METHOD d onRemove ()V
METHOD a deserializeEntityTag (Lnone/dt;)V
METHOD a setEquippedStack (Lnone/sj;Lnone/aeq;)V
ARG 0 slot
@ -8,3 +11,5 @@ CLASS none/zb net/minecraft/entity/mob/EntitySkeletonBase
ARG 0 value
METHOD df isAiming ()Z
METHOD i initDataTracker ()V
METHOD a attackDistant (Lnone/sn;F)V
ARG 0 target

View File

@ -1,4 +1,9 @@
CLASS none/zc net/minecraft/entity/mob/impl/EntityBlaze
CLASS none/zc$a
METHOD a canStart ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
FIELD c BLAZE_FLAGS Lnone/kj;
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a registerTagUpgraders (Lnone/pf;)V

View File

@ -1,4 +1,21 @@
CLASS none/zg net/minecraft/entity/mob/impl/EntityEnderman
CLASS none/zg$a AiGoalPlaceBlock
FIELD a owner Lnone/zg;
METHOD <init> (Lnone/zg;)V
ARG 0 owner
METHOD a canStart ()Z
METHOD e tick ()V
CLASS none/zg$b
METHOD <init> (Lnone/zg;)V
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
CLASS none/zg$c AiGoalPickBlock
FIELD a owner Lnone/zg;
METHOD a canStart ()Z
METHOD e tick ()V
FIELD bA ageWhenTargetSet I
FIELD bx CARRIED_BLOCK Lnone/kj;
FIELD by ANGRY Lnone/kj;

View File

@ -1,4 +1,16 @@
CLASS none/zj net/minecraft/entity/mob/impl/EntityGhast
CLASS none/zj$a
METHOD a canStart ()Z
METHOD e tick ()V
CLASS none/zj$c
METHOD a canStart ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
CLASS none/zj$d
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
FIELD a SHOOTING Lnone/kj;
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a deserializeEntityTag (Lnone/dt;)V

View File

@ -1,4 +1,10 @@
CLASS none/zl net/minecraft/entity/mob/impl/EntityGuardian
CLASS none/zl$a
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a onTrackedDataSet (Lnone/kj;)V
ARG 0 data

View File

@ -1,4 +1,6 @@
CLASS none/zp net/minecraft/entity/mob/impl/EntityPigZombie
CLASS none/zp$a
METHOD a canStart ()Z
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a interactMob (Lnone/aak;Lnone/qz;)Z
ARG 0 player

View File

@ -1,4 +1,19 @@
CLASS none/zs net/minecraft/entity/mob/impl/EntityShulker
CLASS none/zs$a
METHOD a canStart ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
CLASS none/zs$c
METHOD a canStart ()Z
CLASS none/zs$d
METHOD a canStart ()Z
CLASS none/zs$e
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
FIELD a ATTACHED_FACE Lnone/kj;
FIELD b ATTACHED_BLOCK Lnone/kj;
FIELD c PEEK_AMOUNT Lnone/kj;

View File

@ -1,4 +1,11 @@
CLASS none/zt net/minecraft/entity/mob/impl/EntitySilverfish
CLASS none/zt$a
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
CLASS none/zt$b
METHOD a canStart ()Z
METHOD e tick ()V
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a registerTagUpgraders (Lnone/pf;)V
METHOD a damage (Lnone/rp;F)Z

View File

@ -1,4 +1,18 @@
CLASS none/zv net/minecraft/entity/mob/impl/EntitySlime
CLASS none/zv$a
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD e tick ()V
CLASS none/zv$b
METHOD a canStart ()Z
METHOD e tick ()V
CLASS none/zv$c
METHOD a canStart ()Z
METHOD e tick ()V
CLASS none/zv$e
METHOD a canStart ()Z
METHOD e tick ()V
FIELD bv SLIME_SIZE Lnone/kj;
METHOD T invalidate ()V
METHOD a setSize (I)V

View File

@ -1,4 +1,8 @@
CLASS none/zw net/minecraft/entity/mob/impl/EntitySpider
CLASS none/zw$a
METHOD b shouldContinue ()Z
CLASS none/zw$c
METHOD a canStart ()Z
FIELD a SPIDER_FLAGS Lnone/kj;
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a setCanClimb (Z)V

View File

@ -8,3 +8,5 @@ CLASS none/zy net/minecraft/entity/mob/impl/EntityWitch
METHOD bW getSoundDeath ()Lnone/nk;
METHOD i initDataTracker ()V
METHOD o isDrinking ()Z
METHOD a attackDistant (Lnone/sn;F)V
ARG 0 target

View File

@ -1,4 +1,12 @@
CLASS none/ws net/minecraft/entity/passive/impl/EntityPolarBear
CLASS none/ws$a
METHOD a canStart ()Z
CLASS none/ws$c
METHOD c start ()V
CLASS none/ws$d
METHOD d onRemove ()V
CLASS none/ws$e
METHOD a canStart ()Z
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a deserializeEntityTag (Lnone/dt;)V
METHOD a createChild (Lnone/sb;)Lnone/sb;

View File

@ -1,4 +1,14 @@
CLASS none/wt net/minecraft/entity/passive/impl/EntityRabbit
CLASS none/wt$b
METHOD a canStart ()Z
CLASS none/wt$f
METHOD e tick ()V
CLASS none/wt$g
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V
FIELD bx RABBIT_TYPE Lnone/kj;
METHOD G getSoundAmbient ()Lnone/nk;
METHOD a deserializeEntityTag (Lnone/dt;)V

View File

@ -8,6 +8,8 @@ CLASS none/wv net/minecraft/entity/passive/impl/EntitySnowman
METHOD a registerTagUpgraders (Lnone/pf;)V
METHOD a setHasPumpkin (Z)V
ARG 0 value
METHOD a attackDistant (Lnone/sn;F)V
ARG 0 target
METHOD b serializeEntityTag (Lnone/dt;)V
METHOD bV getSoundHurt ()Lnone/nk;
METHOD bW getSoundDeath ()Lnone/nk;

View File

@ -3,3 +3,6 @@ CLASS none/ww net/minecraft/entity/passive/impl/EntitySquid
METHOD a registerTagUpgraders (Lnone/pf;)V
METHOD bV getSoundHurt ()Lnone/nk;
METHOD bW getSoundDeath ()Lnone/nk;
CLASS none/ww$a
METHOD a canStart ()Z
METHOD e tick ()V

View File

@ -1,3 +1,4 @@
CLASS none/qz net/minecraft/util/Hand
FIELD a MAIN Lnone/qz;
FIELD b OFF Lnone/qz;
METHOD values values ()[Lnone/qz;

View File

@ -152,6 +152,7 @@ CLASS none/aiu net/minecraft/world/World
METHOD b isEmittingRedstonePower (Lnone/cn;Lnone/cu;)Z
ARG 0 pos
ARG 1 facingFrom
METHOD b sendBlockUpdate (Lnone/cn;Z)Z
METHOD b onEntitySpawn (Lnone/se;)V
ARG 0 entity
METHOD c (Lnone/cn;)Lnone/asj;

3
mappings/none/sy.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/sy
METHOD a deserializeEntityTag (Lnone/dt;)V
METHOD b serializeEntityTag (Lnone/dt;)V

6
mappings/none/to.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/to
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/tq.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/tq
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

5
mappings/none/ts.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/ts
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD e tick ()V

4
mappings/none/tu.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/tu
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V

3
mappings/none/tv.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/tv
METHOD a canStart ()Z
METHOD e tick ()V

6
mappings/none/ua.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/ua
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

4
mappings/none/uc.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/uc
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V

6
mappings/none/ud.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/ud
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

2
mappings/none/ue.mapping Normal file
View File

@ -0,0 +1,2 @@
CLASS none/ue
METHOD a canStart ()Z

6
mappings/none/uf.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/uf
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/ug.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/ug
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

5
mappings/none/uh.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/uh
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V

5
mappings/none/ui.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/ui
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V

6
mappings/none/uj.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/uj
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

4
mappings/none/uk.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/uk
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V

5
mappings/none/ul.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/ul
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V

5
mappings/none/um.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/um
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/un.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/un
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/uo.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/uo
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

5
mappings/none/up.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/up
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

4
mappings/none/uq.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/uq
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V

6
mappings/none/ur.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/ur
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

5
mappings/none/ut.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/ut
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD e tick ()V

4
mappings/none/uu.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/uu
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V

5
mappings/none/uv.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/uv
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/uw.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/uw
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/ux.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/ux
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

4
mappings/none/uy.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/uy
METHOD a canStart ()Z
METHOD c start ()V
METHOD d onRemove ()V

5
mappings/none/uz.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/uz
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD e tick ()V

4
mappings/none/va.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/va
METHOD a canStart ()Z
METHOD c start ()V
METHOD d onRemove ()V

5
mappings/none/vb.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/vb
METHOD a canStart ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/vc.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/vc
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

6
mappings/none/vd.mapping Normal file
View File

@ -0,0 +1,6 @@
CLASS none/vd
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

4
mappings/none/ve.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/ve
METHOD a canStart ()Z
METHOD c start ()V
METHOD d onRemove ()V

3
mappings/none/vf.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/vf
METHOD c start ()V
METHOD e tick ()V

4
mappings/none/vh.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/vh
METHOD c start ()V
METHOD d onRemove ()V
METHOD e tick ()V

3
mappings/none/vj.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/vj
METHOD a canStart ()Z
METHOD c start ()V

3
mappings/none/vk.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/vk
METHOD a canStart ()Z
METHOD c start ()V

5
mappings/none/vl.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/vl
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V

5
mappings/none/vm.mapping Normal file
View File

@ -0,0 +1,5 @@
CLASS none/vm
METHOD a canStart ()Z
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V

3
mappings/none/vn.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/vn
METHOD a canStart ()Z
METHOD c start ()V

2
mappings/none/vo.mapping Normal file
View File

@ -0,0 +1,2 @@
CLASS none/vo
METHOD a canStart ()Z

3
mappings/none/vp.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/vp
METHOD a canStart ()Z
METHOD c start ()V

3
mappings/none/vq.mapping Normal file
View File

@ -0,0 +1,3 @@
CLASS none/vq
METHOD a canStart ()Z
METHOD c start ()V

4
mappings/none/vr.mapping Normal file
View File

@ -0,0 +1,4 @@
CLASS none/vr
METHOD b shouldContinue ()Z
METHOD c start ()V
METHOD d onRemove ()V