net.minecraft.world.ticks

public record SavedTick<T>

exi
net.minecraft.world.ticks.SavedTick
net.minecraft.class_6759
net.minecraft.unmapped.C_hojywanl
net.minecraft.world.tick.Tick
net.minecraft.world.tick.Tick
net.minecraft.src.C_183045_
net.minecraft.world.ticks.ProtoChunkTickList

Field summary

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

Constructor summary

ModifierConstructor
public (T type, BlockPos pos, int delay, TickPriority priority)

Method summary

Modifier and TypeMethod
public static <T> void
a(uy arg0, Function<String, Optional<T>> arg1, dbg arg2, Consumer<exi<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)
m_hxkrodca(C_hqhtfwlr arg0, Function<String, Optional<T>> arg1, C_ynrszrtu arg2, Consumer<C_hojywanl<T>> arg3)
tick(NbtList tickList, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos, Consumer<Tick<T>> tickConsumer)
tick(NbtList tickList, Function<String, Optional<T>> identifierToTypeFunction, ChunkPos chunkPos, 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(us arg0, Function<String, Optional<T>> arg1)
loadTick(CompoundTag arg0, Function<String, Optional<T>> arg1)
method_40559(class_2487 arg0, Function<String, Optional<T>> arg1)
m_xvwkrflj(C_hhlwcnih arg0, Function<String, Optional<T>> arg1)
fromNbt(NbtCompound nbt, Function<String, Optional<T>> nameToType)
fromNbt(NbtCompound tick, Function<String, Optional<T>> identifierToTypeFunction)
m_210669_(C_4917_ p_210670_, Function<String, Optional<T>> p_210671_)
private static CompoundTag
a(String arg0, iz arg1, int arg2, exn arg3)
saveTick(String arg0, BlockPos arg1, int arg2, TickPriority arg3)
method_39403(String arg0, class_2338 arg1, int arg2, class_1953 arg3)
m_hkelaciz(String arg0, C_hynzadkk arg1, int arg2, C_gkdmrpwk arg3)
toNbt(String type, BlockPos pos, int delay, TickPriority priority)
toNbt(String identifier, 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(exj<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)
m_namvblpl(C_bokjrzyn<T> arg0, Function<T, String> arg1, long arg2)
orderedTickToNbt(OrderedTick<T> orderedTick, Function<T, String> typeToNameFunction, long delay)
orderedTickToNbt(OrderedTick<T> orderedTick, Function<T, String> typeToIdentifierFunction, 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)
m_wmeghrgb(Function<T, String> arg0)
toNbt(Function<T, String> typeToNameFunction)
toNbt(Function<T, String> typeToIdentifierFunction)
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)
m_peydzvhr(long arg0, long arg1)
createOrderedTick(long time, long subTickOrder)
toOrderedTick(long triggerTick, long subTickorder)
m_193328_(long p_193330_, long arg1)
public static <T> SavedTick<T>
a(T arg0, iz arg1)
probe(T arg0, BlockPos arg1)
method_39402(T arg0, class_2338 arg1)
m_pfkvmbgw(T arg0, C_hynzadkk arg1)
create(T type, BlockPos pos)
of(T type, BlockPos pos)
m_193335_(T p_193336_, C_4675_ p_193337_)
public T
a()
type()
comp_248()
m_imvsfdjj()
type()
type()
f_193311_()
public BlockPos
b()
pos()
comp_249()
m_ucrjcrfu()
pos()
pos()
f_193312_()
public int
c()
delay()
comp_250()
m_gusjwjzh()
delay()
delay()
f_193313_()
public TickPriority
d()
priority()
comp_251()
m_metjftvq()
priority()
priority()
f_193314_()