Map two new farmer tasks (#1229)

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

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2020-03-25 18:14:46 -05:00 committed by GitHub
parent 486d832be5
commit d93a2d54d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 0 deletions

View File

@ -20,6 +20,15 @@ CLASS net/minecraft/class_3962 net/minecraft/block/ComposterBlock
ARG 0 world
ARG 1 pos
ARG 2 fill
METHOD method_26373 compost (Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
ARG 0 state
ARG 1 world
ARG 2 stack
ARG 3 pos
METHOD method_26374 emptyFullComposter (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
ARG 0 state
ARG 1 world
ARG 2 pos
CLASS class_3925 DummyInventory
CLASS class_3963 ComposterInventory
FIELD field_17569 state Lnet/minecraft/class_2680;

View File

@ -0,0 +1,13 @@
CLASS net/minecraft/class_4982 net/minecraft/entity/ai/brain/task/BoneMealTask
FIELD field_23222 startTime J
FIELD field_23223 lastEndEntityAge J
FIELD field_23224 duration I
FIELD field_23225 pos Ljava/util/Optional;
METHOD method_26324 addLookWalkTargets (Lnet/minecraft/class_1646;)V
ARG 1 villager
METHOD method_26326 canBoneMeal (Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;)Z
ARG 1 pos
ARG 2 world
METHOD method_26329 findBoneMealPos (Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Ljava/util/Optional;
ARG 1 world
ARG 2 entity

View File

@ -0,0 +1,9 @@
CLASS net/minecraft/class_4983 net/minecraft/entity/ai/brain/task/FarmerWorkTask
FIELD field_23226 COMPOSTABLES Ljava/util/List;
METHOD method_26333 craftAndDropBread (Lnet/minecraft/class_1646;)V
ARG 1 entity
METHOD method_26334 compostSeeds (Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;Lnet/minecraft/class_4208;Lnet/minecraft/class_2680;)V
ARG 1 world
ARG 2 entity
ARG 3 pos
ARG 4 composterState

View File

@ -1,2 +1,5 @@
CLASS net/minecraft/class_4133 net/minecraft/entity/ai/brain/task/VillagerWorkTask
FIELD field_19426 lastCheckedTime J
METHOD method_26335 performAdditionalWork (Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)V
ARG 1 world
ARG 2 entity