Package net.minecraft
Record Class class_11088.class_11090
java.lang.Object
java.lang.Record
net.minecraft.class_11088.class_11090
- Record Components:
types-useBabyMobs-count-spawnStrategy-
- Enclosing class:
class_11088
public static record class_11088.class_11090(RegistryEntryList<EntityType<?>> types, boolean useBabyMobs, IntProvider count, class_11088.class_11092 spawnStrategy)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11088$class_11090intermediary net/minecraft/class_11088$class_11090official fbp$bnamed typesintermediary comp_3970official bnamed useBabyMobsintermediary comp_3971official cnamed countintermediary comp_3972official dnamed spawnStrategyintermediary comp_3973official e
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntProviderThe field for thecountrecord component.static final com.mojang.serialization.Codec<class_11088.class_11090> private final class_11088.class_11092The field for thespawnStrategyrecord component.private final RegistryEntryList<EntityType<?>> The field for thetypesrecord component.private final booleanThe field for theuseBabyMobsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11090(RegistryEntryList<EntityType<?>> registryEntryList, boolean bool, IntProvider intProvider, class_11088.class_11092 class_11092) -
Method Summary
Modifier and TypeMethodDescriptioncount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thespawnStrategyrecord component.final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord component.booleanReturns the value of theuseBabyMobsrecord component.
-
Field Details
-
types
The field for thetypesrecord component. -
useBabyMobs
private final boolean useBabyMobsThe field for theuseBabyMobsrecord component. -
count
The field for thecountrecord component. -
spawnStrategy
The field for thespawnStrategyrecord component. -
field_59066
- Mappings:
Namespace Name Mixin selector named field_59066Lnet/minecraft/class_11088$class_11090;field_59066:Lcom/mojang/serialization/Codec;intermediary field_59066Lnet/minecraft/class_11088$class_11090;field_59066:Lcom/mojang/serialization/Codec;official aLfbp$b;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11090
public class_11090(RegistryEntryList<EntityType<?>> registryEntryList, boolean bool, IntProvider intProvider, class_11088.class_11092 class_11092)
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
types
Returns the value of thetypesrecord component.- Returns:
- the value of the
typesrecord component
-
useBabyMobs
public boolean useBabyMobs()Returns the value of theuseBabyMobsrecord component.- Returns:
- the value of the
useBabyMobsrecord component
-
count
Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
spawnStrategy
Returns the value of thespawnStrategyrecord component.- Returns:
- the value of the
spawnStrategyrecord component
-