net.minecraft.world.ticks

public record SavedTick<T>

eeo
net.minecraft.world.ticks.SavedTick
net.minecraft.class_6759
net.minecraft.world.tick.Tick
net.minecraft.src.C_183045_
net.minecraft.world.ticks.TickListChunk

Field summary

Modifier and TypeField
private final T
b
type
comp_248
type
f_193311_
private final BlockPos
c
pos
comp_249
pos
f_193312_
private final int
d
delay
comp_250
delay
f_193313_
private final TickPriority
e
priority
comp_251
priority
f_193314_
private static final String
f
TAG_ID
field_35543
TYPE_NBT_KEY
f_193315_
private static final String
g
TAG_X
field_35544
X_NBT_KEY
f_193316_
private static final String
h
TAG_Y
field_35545
Y_NBT_KEY
f_193317_
private static final String
i
TAG_Z
field_35546
Z_NBT_KEY
f_193318_
private static final String
j
TAG_DELAY
field_35547
DELAY_NBT_KEY
f_193319_
private static final String
k
TAG_PRIORITY
field_35548
PRIORITY_NBT_KEY
f_193320_
public static final it.unimi.dsi.fastutil.Hash$Strategy<SavedTick<?>>
a
UNIQUE_TICK_HASH
field_35542
HASH_STRATEGY
f_193310_

Constructor summary

ModifierConstructor
public (T f_193312_, BlockPos f_193313_, int f_193314_, TickPriority arg3)

Method summary

Modifier and TypeMethod
public static <T> void
a(rk arg0, Function<String, Optional<T>> arg1, clp arg2, Consumer<eeo<T>> arg3)
loadTickList(ListTag arg0, Function<String, Optional<T>> arg1, ChunkPos arg2, Consumer<SavedTick<T>> arg3)
method_39406(class_2499 arg0, Function<String, Optional<T>> arg1, class_1923 arg2, Consumer<class_6759<T>> arg3)
tick(NbtList tickList, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos, Consumer<Tick<T>> tickConsumer)
m_193350_(C_4930_ p_193351_, Function<String, Optional<T>> p_193352_, C_1560_ p_193353_, Consumer<C_183045_<T>> p_193354_)
public static <T> Optional<SavedTick<T>>
a(re arg0, Function<String, Optional<T>> arg1)
loadTick(CompoundTag arg0, Function<String, Optional<T>> arg1)
method_40559(class_2487 arg0, Function<String, Optional<T>> arg1)
fromNbt(NbtCompound nbt, Function<String, Optional<T>> nameToType)
m_210669_(C_4917_ p_210670_, Function<String, Optional<T>> p_210671_)
private static CompoundTag
a(String arg0, gt arg1, int arg2, eet arg3)
saveTick(String arg0, BlockPos arg1, int arg2, TickPriority arg3)
method_39403(String arg0, class_2338 arg1, int arg2, class_1953 arg3)
toNbt(String type, BlockPos pos, int delay, TickPriority priority)
m_193338_(String p_193339_, C_4675_ p_193340_, int p_193341_, C_183052_ p_193342_)
public static <T> CompoundTag
a(eep<T> arg0, Function<T, String> arg1, long arg2)
saveTick(ScheduledTick<T> arg0, Function<T, String> arg1, long arg2)
method_39401(class_6760<T> arg0, Function<T, String> arg1, long arg2)
orderedTickToNbt(OrderedTick<T> orderedTick, Function<T, String> typeToNameFunction, long delay)
m_193331_(C_183047_<T> p_193332_, Function<T, String> p_193333_, long p_193334_)
public CompoundTag
a(Function<T, String> arg0)
save(Function<T, String> arg0)
method_39404(Function<T, String> arg0)
toNbt(Function<T, String> typeToNameFunction)
m_193343_(Function<T, String> arg0)
public ScheduledTick<T>
a(long arg0, long arg1)
unpack(long arg0, long arg1)
method_39400(long arg0, long arg1)
createOrderedTick(long time, long subTickOrder)
m_193328_(long p_193330_, long arg1)
public static <T> SavedTick<T>
a(T arg0, gt arg1)
probe(T arg0, BlockPos arg1)
method_39402(T arg0, class_2338 arg1)
create(T type, BlockPos pos)
m_193335_(T p_193336_, C_4675_ p_193337_)
public T
a()
type()
comp_248()
type()
f_193311_()
public BlockPos
b()
pos()
comp_249()
pos()
f_193312_()
public int
c()
delay()
comp_250()
delay()
f_193313_()
public TickPriority
d()
priority()
comp_251()
priority()
f_193314_()