Package net.minecraft
Record Class class_10936
java.lang.Object
java.lang.Record
net.minecraft.class_10936
- Record Components:
addedComponents-removedComponents-
public record class_10936(Map<ComponentType<?>,Integer> addedComponents, Set<ComponentType<?>> removedComponents)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10936intermediary net/minecraft/class_10936official wanamed addedComponentsintermediary comp_3874official bnamed removedComponentsintermediary comp_3875official c
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<ComponentType<?>, Integer> The field for theaddedComponentsrecord component.static final PacketCodec<RegistryByteBuf, class_10936> private final Set<ComponentType<?>> The field for theremovedComponentsrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap<ComponentType<?>, Integer> Returns the value of theaddedComponentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_10936method_68848(ComponentChanges componentChanges, class_10936.class_10937 class_10937) booleanmethod_68849(ComponentChanges componentChanges, class_10936.class_10937 class_10937) Set<ComponentType<?>> Returns the value of theremovedComponentsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
addedComponents
The field for theaddedComponentsrecord component. -
removedComponents
The field for theremovedComponentsrecord component. -
field_58175
- Mappings:
Namespace Name Mixin selector named field_58175Lnet/minecraft/class_10936;field_58175:Lnet/minecraft/network/codec/PacketCodec;intermediary field_58175Lnet/minecraft/class_10936;field_58175:Lnet/minecraft/class_9139;official aLwa;a:Lze;
-
-
Constructor Details
-
class_10936
-
-
Method Details
-
method_68848
public static class_10936 method_68848(ComponentChanges componentChanges, class_10936.class_10937 class_10937) - Mappings:
Namespace Name Mixin selector named method_68848Lnet/minecraft/class_10936;method_68848(Lnet/minecraft/component/ComponentChanges;Lnet/minecraft/class_10936$class_10937;)Lnet/minecraft/class_10936;intermediary method_68848Lnet/minecraft/class_10936;method_68848(Lnet/minecraft/class_9326;Lnet/minecraft/class_10936$class_10937;)Lnet/minecraft/class_10936;official aLwa;a(Lkj;Lwa$a;)Lwa;
-
method_68849
- Mappings:
Namespace Name Mixin selector named method_68849Lnet/minecraft/class_10936;method_68849(Lnet/minecraft/component/ComponentChanges;Lnet/minecraft/class_10936$class_10937;)Zintermediary method_68849Lnet/minecraft/class_10936;method_68849(Lnet/minecraft/class_9326;Lnet/minecraft/class_10936$class_10937;)Zofficial bLwa;b(Lkj;Lwa$a;)Z
-
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). -
addedComponents
Returns the value of theaddedComponentsrecord component.- Returns:
- the value of the
addedComponentsrecord component
-
removedComponents
Returns the value of theremovedComponentsrecord component.- Returns:
- the value of the
removedComponentsrecord component
-