Package net.minecraft
Record Class class_7317.class_7318
java.lang.Object
java.lang.Record
net.minecraft.class_7317.class_7318
- Record Components:
block-
- All Implemented Interfaces:
class_7317
- Enclosing interface:
class_7317
- Mappings:
Namespace Name official bzt$aintermediary net/minecraft/class_7317$class_7318named net/minecraft/class_7317$class_7318official cintermediary comp_691named block
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_7317
class_7317.class_7318, class_7317.class_7319 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockThe field for theblockrecord component.static final com.mojang.serialization.Codec<class_7317.class_7318>Fields inherited from interface net.minecraft.class_7317
field_38543 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblock()Returns the value of theblockrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidmethod_42841(ServerPlayerEntity serverPlayerEntity) booleanmethod_42843(class_7317 class_7317) com.mojang.serialization.Codec<? extends class_7317>final StringtoString()Returns a string representation of this record class.
-
Field Details
-
block
The field for theblockrecord component. -
field_38544
- Mappings:
Namespace Name Mixin selector official bLbzt$a;b:Lcom/mojang/serialization/Codec;intermediary field_38544Lnet/minecraft/class_7317$class_7318;field_38544:Lcom/mojang/serialization/Codec;named field_38544Lnet/minecraft/class_7317$class_7318;field_38544:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7318
Creates an instance of aclass_7318record class.- Parameters:
block- the value for theblockrecord component
-
-
Method Details
-
method_42841
- Specified by:
method_42841in interfaceclass_7317- Mappings:
Namespace Name Mixin selector official aLbzt;a(Laea;)Vintermediary method_42841Lnet/minecraft/class_7317;method_42841(Lnet/minecraft/class_3222;)Vnamed method_42841Lnet/minecraft/class_7317;method_42841(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
method_42843
- Specified by:
method_42843in interfaceclass_7317- Mappings:
Namespace Name Mixin selector official aLbzt;a(Lbzt;)Zintermediary method_42843Lnet/minecraft/class_7317;method_42843(Lnet/minecraft/class_7317;)Znamed method_42843Lnet/minecraft/class_7317;method_42843(Lnet/minecraft/class_7317;)Z
-
method_42840
- Specified by:
method_42840in interfaceclass_7317- Mappings:
Namespace Name Mixin selector official aLbzt;a()Lbux;intermediary method_42840Lnet/minecraft/class_7317;method_42840()Lnet/minecraft/class_1799;named method_42840Lnet/minecraft/class_7317;method_42840()Lnet/minecraft/item/ItemStack;
-
method_42846
- Specified by:
method_42846in interfaceclass_7317- Mappings:
Namespace Name Mixin selector official bLbzt;b()Lcom/mojang/serialization/Codec;intermediary method_42846Lnet/minecraft/class_7317;method_42846()Lcom/mojang/serialization/Codec;named method_42846Lnet/minecraft/class_7317;method_42846()Lcom/mojang/serialization/Codec;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
block
Returns the value of theblockrecord component.- Returns:
- the value of the
blockrecord component
-