Package net.minecraft
Record Class class_10130
java.lang.Object
java.lang.Record
net.minecraft.class_10130
- Record Components:
seconds-cooldownGroup-
- Mappings:
Namespace Name named net/minecraft/class_10130intermediary net/minecraft/class_10130official cyynamed secondsintermediary comp_3091official cnamed cooldownGroupintermediary comp_3092official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<Identifier> The field for thecooldownGrouprecord component.static final com.mojang.serialization.Codec<class_10130> static final PacketCodec<RegistryByteBuf, class_10130> private final floatThe field for thesecondsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10130(float float2) class_10130(float float2, Optional<Identifier> optional) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecooldownGrouprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intvoidmethod_62862(ItemStack itemStack, LivingEntity livingEntity) floatseconds()Returns the value of thesecondsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
seconds
private final float secondsThe field for thesecondsrecord component. -
cooldownGroup
The field for thecooldownGrouprecord component. -
field_53799
- Mappings:
Namespace Name Mixin selector named field_53799Lnet/minecraft/class_10130;field_53799:Lcom/mojang/serialization/Codec;intermediary field_53799Lnet/minecraft/class_10130;field_53799:Lcom/mojang/serialization/Codec;official aLcyy;a:Lcom/mojang/serialization/Codec;
-
field_53800
- Mappings:
Namespace Name Mixin selector named field_53800Lnet/minecraft/class_10130;field_53800:Lnet/minecraft/network/codec/PacketCodec;intermediary field_53800Lnet/minecraft/class_10130;field_53800:Lnet/minecraft/class_9139;official bLcyy;b:Lzb;
-
-
Constructor Details
-
class_10130
public class_10130(float float2) -
class_10130
-
-
Method Details
-
method_62860
public int method_62860()- Mappings:
Namespace Name Mixin selector named method_62860Lnet/minecraft/class_10130;method_62860()Iintermediary method_62860Lnet/minecraft/class_10130;method_62860()Iofficial aLcyy;a()I
-
method_62862
- Mappings:
Namespace Name Mixin selector named method_62862Lnet/minecraft/class_10130;method_62862(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;)Vintermediary method_62862Lnet/minecraft/class_10130;method_62862(Lnet/minecraft/class_1799;Lnet/minecraft/class_1309;)Vofficial aLcyy;a(Lcvp;Lbuk;)V
-
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 '=='. -
seconds
public float seconds()Returns the value of thesecondsrecord component.- Returns:
- the value of the
secondsrecord component
-
cooldownGroup
Returns the value of thecooldownGrouprecord component.- Returns:
- the value of the
cooldownGrouprecord component
-