Edit

Share via


Entity Documentation - minecraft:behavior.work_composter

Allows the NPC to use the composter POI to convert excess seeds into bone meal.

Work Composter Behavior Properties

Name Default Value Type Description Example Values
active_time 0 Integer number The amount of ticks the NPC will stay in their the work location
block_interaction_max 1 Integer number The maximum number of times the mob will interact with the composter.
can_empty_composter true Boolean true/false Determines whether the mob can empty a full composter.
can_fill_composter true Boolean true/false Determines whether the mob can add items to a composter given that it is not full.
can_work_in_rain false Boolean true/false If true, this entity can work when their jobsite POI is being rained on.
goal_cooldown 0 Integer number The amount of ticks the goal will be on cooldown before it can be used again
items_per_use_max 20 Integer number The maximum number of items which can be added to the composter per block interaction.
min_item_count 10 Integer number Limits the amount of each compostable item the mob can use. Any amount held over this number will be composted if possible
on_arrival not set Minecraft Event Trigger Event to run when the mob reaches their jobsite.
priority not set Integer number As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.
speed_multiplier 0.5 Decimal number Movement speed multiplier of the mob when using this AI Goal
use_block_max 200 Integer number The maximum interval in which the mob will interact with the composter.
use_block_min 100 Integer number The minimum interval in which the mob will interact with the composter.
work_in_rain_tolerance -1 Integer number If "can_work_in_rain" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal

Samples