Record Class DimensionPool_SV1
java.lang.Object
java.lang.Record
net.thomilist.dimensionalinventories.module.builtin.legacy.pool.DimensionPool_SV1
@Deprecated
public record DimensionPool_SV1(String name, ArrayList<String> dimensions, net.minecraft.world.GameMode gameMode, boolean progressAdvancements, boolean incrementStatistics)
extends Record
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionDimensionPool_SV1(String name, ArrayList<String> dimensions, net.minecraft.world.GameMode gameMode, boolean progressAdvancements, boolean incrementStatistics) Deprecated.Creates an instance of aDimensionPool_SV1record class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of thedimensionsrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.net.minecraft.world.GameModegameMode()Deprecated.Returns the value of thegameModerecord component.final inthashCode()Deprecated.Returns a hash code value for this object.booleanDeprecated.Returns the value of theincrementStatisticsrecord component.name()Deprecated.Returns the value of thenamerecord component.booleanDeprecated.Returns the value of theprogressAdvancementsrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
DimensionPool_SV1
public DimensionPool_SV1(String name, ArrayList<String> dimensions, net.minecraft.world.GameMode gameMode, boolean progressAdvancements, boolean incrementStatistics) Deprecated.Creates an instance of aDimensionPool_SV1record class.- Parameters:
name- the value for thenamerecord componentdimensions- the value for thedimensionsrecord componentgameMode- the value for thegameModerecord componentprogressAdvancements- the value for theprogressAdvancementsrecord componentincrementStatistics- the value for theincrementStatisticsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Deprecated.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 thecomparemethod from their corresponding wrapper classes. -
name
Deprecated.Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
dimensions
-
gameMode
public net.minecraft.world.GameMode gameMode()Deprecated.Returns the value of thegameModerecord component.- Returns:
- the value of the
gameModerecord component
-
progressAdvancements
public boolean progressAdvancements()Deprecated.Returns the value of theprogressAdvancementsrecord component.- Returns:
- the value of the
progressAdvancementsrecord component
-
incrementStatistics
public boolean incrementStatistics()Deprecated.Returns the value of theincrementStatisticsrecord component.- Returns:
- the value of the
incrementStatisticsrecord component
-
DimensionPoolinstead.