Package net.minecraft.component.type
Record Class DebugStickStateComponent
java.lang.Object
java.lang.Record
net.minecraft.component.type.DebugStickStateComponent
- Record Components:
properties
-
public record DebugStickStateComponent(Map<RegistryEntry<Block>,Property<?>> properties)
extends Record
- Mappings:
Namespace Name named net/minecraft/component/type/DebugStickStateComponent
intermediary net/minecraft/class_9281
official dab
named properties
intermediary comp_2383
official c
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DebugStickStateComponent> static final DebugStickStateComponent
private final Map
<RegistryEntry<Block>, Property<?>> The field for theproperties
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Map
<RegistryEntry<Block>, Property<?>> Returns the value of theproperties
record component.final String
toString()
Returns a string representation of this record class.with
(RegistryEntry<Block> block, Property<?> property)
-
Field Details
-
properties
The field for theproperties
record component. -
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULT
Lnet/minecraft/component/type/DebugStickStateComponent;DEFAULT:Lnet/minecraft/component/type/DebugStickStateComponent;
intermediary field_49310
Lnet/minecraft/class_9281;field_49310:Lnet/minecraft/class_9281;
official a
Ldab;a:Ldab;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/component/type/DebugStickStateComponent;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49311
Lnet/minecraft/class_9281;field_49311:Lcom/mojang/serialization/Codec;
official b
Ldab;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
DebugStickStateComponent
-
-
Method Details
-
with
- Mappings:
Namespace Name Mixin selector named with
Lnet/minecraft/component/type/DebugStickStateComponent;with(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/state/property/Property;)Lnet/minecraft/component/type/DebugStickStateComponent;
intermediary method_57466
Lnet/minecraft/class_9281;method_57466(Lnet/minecraft/class_6880;Lnet/minecraft/class_2769;)Lnet/minecraft/class_9281;
official a
Ldab;a(Ljq;Ldyw;)Ldab;
-
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)
. -
properties
Returns the value of theproperties
record component.- Returns:
- the value of the
properties
record component
-