Package net.minecraft
Record Class class_9424.class_9425
java.lang.Object
java.lang.Record
net.minecraft.class_9424.class_9425
- Record Components:
blocks
-speed
-correctForDrops
-
- Enclosing class:
class_9424
public static record class_9424.class_9425(RegistryEntryList<Block> blocks, Optional<Float> speed, Optional<Boolean> correctForDrops)
extends Record
- Mappings:
Namespace Name official cwc$a
intermediary net/minecraft/class_9424$class_9425
named net/minecraft/class_9424$class_9425
official c
intermediary comp_2501
named blocks
official d
intermediary comp_2502
named speed
official e
intermediary comp_2503
named correctForDrops
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntryList
<Block> The field for theblocks
record component.The field for thecorrectForDrops
record component.static final com.mojang.serialization.Codec
<class_9424.class_9425> static final PacketCodec
<RegistryByteBuf, class_9424.class_9425> The field for thespeed
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9425
(RegistryEntryList<Block> registryEntryList, Optional<Float> optional, Optional<Boolean> optional2) -
Method Summary
Modifier and TypeMethodDescriptionblocks()
Returns the value of theblocks
record component.Returns the value of thecorrectForDrops
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.static class_9424.class_9425
method_58427
(TagKey<Block> tagKey) static class_9424.class_9425
method_58428
(TagKey<Block> tagKey, float float2) private static class_9424.class_9425
static class_9424.class_9425
method_58431
(List<Block> list, float float2) private static class_9424.class_9425
static class_9424.class_9425
method_58433
(TagKey<Block> tagKey, float float2) static class_9424.class_9425
method_58434
(List<Block> list, float float2) speed()
Returns the value of thespeed
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
blocks
The field for theblocks
record component. -
speed
The field for thespeed
record component. -
correctForDrops
The field for thecorrectForDrops
record component. -
field_50011
- Mappings:
Namespace Name Mixin selector official a
Lcwc$a;a:Lcom/mojang/serialization/Codec;
intermediary field_50011
Lnet/minecraft/class_9424$class_9425;field_50011:Lcom/mojang/serialization/Codec;
named field_50011
Lnet/minecraft/class_9424$class_9425;field_50011:Lcom/mojang/serialization/Codec;
-
field_50012
- Mappings:
Namespace Name Mixin selector official b
Lcwc$a;b:Lys;
intermediary field_50012
Lnet/minecraft/class_9424$class_9425;field_50012:Lnet/minecraft/class_9139;
named field_50012
Lnet/minecraft/class_9424$class_9425;field_50012:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9425
-
-
Method Details
-
method_58431
- Mappings:
Namespace Name Mixin selector official a
Lcwc$a;a(Ljava/util/List;F)Lcwc$a;
intermediary method_58431
Lnet/minecraft/class_9424$class_9425;method_58431(Ljava/util/List;F)Lnet/minecraft/class_9424$class_9425;
named method_58431
Lnet/minecraft/class_9424$class_9425;method_58431(Ljava/util/List;F)Lnet/minecraft/class_9424$class_9425;
-
method_58428
- Mappings:
Namespace Name Mixin selector official a
Lcwc$a;a(Lawg;F)Lcwc$a;
intermediary method_58428
Lnet/minecraft/class_9424$class_9425;method_58428(Lnet/minecraft/class_6862;F)Lnet/minecraft/class_9424$class_9425;
named method_58428
Lnet/minecraft/class_9424$class_9425;method_58428(Lnet/minecraft/registry/tag/TagKey;F)Lnet/minecraft/class_9424$class_9425;
-
method_58427
- Mappings:
Namespace Name Mixin selector official a
Lcwc$a;a(Lawg;)Lcwc$a;
intermediary method_58427
Lnet/minecraft/class_9424$class_9425;method_58427(Lnet/minecraft/class_6862;)Lnet/minecraft/class_9424$class_9425;
named method_58427
Lnet/minecraft/class_9424$class_9425;method_58427(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/class_9424$class_9425;
-
method_58433
- Mappings:
Namespace Name Mixin selector official b
Lcwc$a;b(Lawg;F)Lcwc$a;
intermediary method_58433
Lnet/minecraft/class_9424$class_9425;method_58433(Lnet/minecraft/class_6862;F)Lnet/minecraft/class_9424$class_9425;
named method_58433
Lnet/minecraft/class_9424$class_9425;method_58433(Lnet/minecraft/registry/tag/TagKey;F)Lnet/minecraft/class_9424$class_9425;
-
method_58434
- Mappings:
Namespace Name Mixin selector official b
Lcwc$a;b(Ljava/util/List;F)Lcwc$a;
intermediary method_58434
Lnet/minecraft/class_9424$class_9425;method_58434(Ljava/util/List;F)Lnet/minecraft/class_9424$class_9425;
named method_58434
Lnet/minecraft/class_9424$class_9425;method_58434(Ljava/util/List;F)Lnet/minecraft/class_9424$class_9425;
-
method_58429
private static class_9424.class_9425 method_58429(TagKey<Block> tagKey, Optional<Float> optional, Optional<Boolean> optional2) - Mappings:
Namespace Name Mixin selector official a
Lcwc$a;a(Lawg;Ljava/util/Optional;Ljava/util/Optional;)Lcwc$a;
intermediary method_58429
Lnet/minecraft/class_9424$class_9425;method_58429(Lnet/minecraft/class_6862;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_9424$class_9425;
named method_58429
Lnet/minecraft/class_9424$class_9425;method_58429(Lnet/minecraft/registry/tag/TagKey;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_9424$class_9425;
-
method_58432
private static class_9424.class_9425 method_58432(List<Block> list, Optional<Float> optional, Optional<Boolean> optional2) - Mappings:
Namespace Name Mixin selector official a
Lcwc$a;a(Ljava/util/List;Ljava/util/Optional;Ljava/util/Optional;)Lcwc$a;
intermediary method_58432
Lnet/minecraft/class_9424$class_9425;method_58432(Ljava/util/List;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_9424$class_9425;
named method_58432
Lnet/minecraft/class_9424$class_9425;method_58432(Ljava/util/List;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_9424$class_9425;
-
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)
. -
blocks
Returns the value of theblocks
record component.- Returns:
- the value of the
blocks
record component
-
speed
Returns the value of thespeed
record component.- Returns:
- the value of the
speed
record component
-
correctForDrops
Returns the value of thecorrectForDrops
record component.- Returns:
- the value of the
correctForDrops
record component
-