Class Dimension
java.lang.Object
com.github.retrooper.packetevents.protocol.world.Dimension
Deprecated.
-
Constructor Summary
ConstructorDescriptionDimension
(int id) Deprecated.Dimension
(int id, NBTCompound attributes) Deprecated.Dimension
(NBTCompound attributes) Deprecated.Dimension
(DimensionType type) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionasDimensionType
(@Nullable User user, @Nullable ClientVersion version) Deprecated.Deprecated.static Dimension
fromDimensionType
(DimensionType dimensionType, @Nullable User user, @Nullable ClientVersion version) Deprecated.static Dimension
Deprecated.Deprecated.Deprecated.int
getId()
Deprecated.getType()
Deprecated.void
setAttributes
(NBTCompound attributes) Deprecated.void
setDimensionName
(String name) Deprecated.void
setId
(int id) Deprecated.void
setType
(DimensionType type) Deprecated.
-
Constructor Details
-
Dimension
Deprecated. -
Dimension
public Dimension(int id) Deprecated. -
Dimension
Deprecated. -
Dimension
Deprecated.
-
-
Method Details
-
fromDimensionTypeRef
Deprecated. -
fromDimensionType
public static Dimension fromDimensionType(DimensionType dimensionType, @Nullable @Nullable User user, @Nullable @Nullable ClientVersion version) Deprecated. -
asDimensionTypeRef
Deprecated. -
asDimensionType
public DimensionType asDimensionType(@Nullable @Nullable User user, @Nullable @Nullable ClientVersion version) Deprecated. -
getDimensionName
Deprecated. -
setDimensionName
Deprecated. -
getId
public int getId()Deprecated. -
setId
public void setId(int id) Deprecated. -
getType
Deprecated. -
setType
Deprecated. -
getAttributes
Deprecated. -
setAttributes
Deprecated.
-
instead