Uses of Enum Class
net.minecraft.world.tick.TickPriority
-
Uses of TickPriority in net.minecraft.world
Modifier and TypeMethodDescriptionprivate <T> OrderedTick<T>
WorldAccess.createOrderedTick
(BlockPos pos, T type, int delay, TickPriority priority) default void
WorldAccess.scheduleBlockTick
(BlockPos pos, Block block, int delay, TickPriority priority) default void
WorldAccess.scheduleFluidTick
(BlockPos pos, Fluid fluid, int delay, TickPriority priority) -
Uses of TickPriority in net.minecraft.world.tick
Modifier and TypeFieldDescriptionprivate final TickPriority
OrderedTick.priority
The field for thepriority
record component.private final TickPriority
Tick.priority
The field for thepriority
record component.Modifier and TypeMethodDescriptionstatic TickPriority
TickPriority.byIndex
(int index) OrderedTick.priority()
Returns the value of thepriority
record component.Tick.priority()
Returns the value of thepriority
record component.static TickPriority
Returns the enum constant of this class with the specified name.static TickPriority[]
TickPriority.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate static NbtCompound
Tick.toNbt
(String type, BlockPos pos, int delay, TickPriority priority) ModifierConstructorDescriptionOrderedTick
(T t, BlockPos blockPos, long long2, TickPriority tickPriority, long long3) Tick
(T t, BlockPos blockPos, int int2, TickPriority tickPriority)