Class WorkAtComposter
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.WorkAtPoi
net.minecraft.world.entity.ai.behavior.WorkAtComposter
- All Implemented Interfaces:
BehaviorControl<Villager>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
compostItems
(ServerLevel p_24793_, Villager p_24794_, GlobalPos p_24795_, BlockState p_24796_) private void
private void
spawnComposterFillEffects
(ServerLevel p_24798_, BlockState p_24799_, BlockPos p_24800_, BlockState p_24801_) protected void
useWorkstation
(ServerLevel p_24790_, Villager p_24791_) Methods inherited from class net.minecraft.world.entity.ai.behavior.WorkAtPoi
canStillUse, checkExtraStartConditions, start
Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, stop, tick, tickOrStop, timedOut, tryStart
-
Field Details
-
COMPOSTABLE_ITEMS
-
-
Constructor Details
-
WorkAtComposter
public WorkAtComposter()
-
-
Method Details
-
useWorkstation
- Overrides:
useWorkstation
in classWorkAtPoi
-
compostItems
private void compostItems(ServerLevel p_24793_, Villager p_24794_, GlobalPos p_24795_, BlockState p_24796_) -
spawnComposterFillEffects
private void spawnComposterFillEffects(ServerLevel p_24798_, BlockState p_24799_, BlockPos p_24800_, BlockState p_24801_) -
makeBread
-