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 - czd- named - properties- intermediary - comp_2383- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DebugStickStateComponent> static final DebugStickStateComponentprivate final Map<RegistryEntry<Block>, Property<?>> The field for thepropertiesrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Map<RegistryEntry<Block>, Property<?>> Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.with(RegistryEntry<Block> block, Property<?> property) 
- 
Field Details- 
propertiesThe field for thepropertiesrecord 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- Lczd;a:Lczd;
 
- 
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- Lczd;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- Lczd;a(Ljr;Ldya;)Lczd;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
propertiesReturns the value of thepropertiesrecord component.- Returns:
- the value of the propertiesrecord component
 
 
-