Package net.minecraft.world.tick
Record Class Tick<T>
java.lang.Object
java.lang.Record
net.minecraft.world.tick.Tick<T>
- Record Components:
type
-pos
-delay
-priority
-
- Mappings:
Namespace Name named net/minecraft/world/tick/Tick
intermediary net/minecraft/class_6759
official fkj
named type
intermediary comp_248
official b
named pos
intermediary comp_249
official c
named delay
intermediary comp_250
official d
named priority
intermediary comp_251
official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
The field for thedelay
record component.static final Hash.Strategy
<Tick<?>> private final BlockPos
The field for thepos
record component.private final TickPriority
The field for thepriority
record component.private final T
The field for thetype
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tick
<T> static <T> com.mojang.serialization.Codec
<Tick<T>> createCodec
(com.mojang.serialization.Codec<T> typeCodec) createOrderedTick
(long time, long subTickOrder) int
delay()
Returns the value of thedelay
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.pos()
Returns the value of thepos
record component.priority()
Returns the value of thepriority
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Field Details
-
type
The field for thetype
record component. -
pos
The field for thepos
record component. -
delay
private final int delayThe field for thedelay
record component. -
priority
The field for thepriority
record component. -
HASH_STRATEGY
- Mappings:
Namespace Name Mixin selector named HASH_STRATEGY
Lnet/minecraft/world/tick/Tick;HASH_STRATEGY:Lit/unimi/dsi/fastutil/Hash$Strategy;
intermediary field_35542
Lnet/minecraft/class_6759;field_35542:Lit/unimi/dsi/fastutil/Hash$Strategy;
official a
Lfkj;a:Lit/unimi/dsi/fastutil/Hash$Strategy;
-
-
Constructor Details
-
Tick
-
-
Method Details
-
createCodec
public static <T> com.mojang.serialization.Codec<Tick<T>> createCodec(com.mojang.serialization.Codec<T> typeCodec) - Mappings:
Namespace Name Mixin selector named createCodec
Lnet/minecraft/world/tick/Tick;createCodec(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
intermediary method_67719
Lnet/minecraft/class_6759;method_67719(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
official a
Lfkj;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
filter
- Mappings:
Namespace Name Mixin selector named filter
Lnet/minecraft/world/tick/Tick;filter(Ljava/util/List;Lnet/minecraft/util/math/ChunkPos;)Ljava/util/List;
intermediary method_67722
Lnet/minecraft/class_6759;method_67722(Ljava/util/List;Lnet/minecraft/class_1923;)Ljava/util/List;
official a
Lfkj;a(Ljava/util/List;Ldlz;)Ljava/util/List;
-
createOrderedTick
- Mappings:
Namespace Name Mixin selector named createOrderedTick
Lnet/minecraft/world/tick/Tick;createOrderedTick(JJ)Lnet/minecraft/world/tick/OrderedTick;
intermediary method_39400
Lnet/minecraft/class_6759;method_39400(JJ)Lnet/minecraft/class_6760;
official a
Lfkj;a(JJ)Lfkk;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/world/tick/Tick;create(Ljava/lang/Object;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/tick/Tick;
intermediary method_39402
Lnet/minecraft/class_6759;method_39402(Ljava/lang/Object;Lnet/minecraft/class_2338;)Lnet/minecraft/class_6759;
official a
Lfkj;a(Ljava/lang/Object;Ljb;)Lfkj;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
pos
Returns the value of thepos
record component.- Returns:
- the value of the
pos
record component
-
delay
public int delay()Returns the value of thedelay
record component.- Returns:
- the value of the
delay
record component
-
priority
Returns the value of thepriority
record component.- Returns:
- the value of the
priority
record component
-