java.lang.Object
com.github.retrooper.packetevents.protocol.world.Dimension

@Deprecated public class Dimension extends Object
Deprecated.
  • Constructor Details

  • Method Details

    • fromDimensionTypeRef

      public static Dimension fromDimensionTypeRef(DimensionTypeRef ref)
      Deprecated.
    • fromDimensionType

      public static Dimension fromDimensionType(DimensionType dimensionType, @Nullable @Nullable User user, @Nullable @Nullable ClientVersion version)
      Deprecated.
    • asDimensionTypeRef

      public DimensionTypeRef asDimensionTypeRef()
      Deprecated.
    • asDimensionType

      public DimensionType asDimensionType(@Nullable @Nullable User user, @Nullable @Nullable ClientVersion version)
      Deprecated.
    • getDimensionName

      public String getDimensionName()
      Deprecated.
    • setDimensionName

      public void setDimensionName(String name)
      Deprecated.
    • getId

      public int getId()
      Deprecated.
    • setId

      public void setId(int id)
      Deprecated.
    • getType

      @Deprecated public DimensionType getType()
      Deprecated.
    • setType

      @Deprecated public void setType(DimensionType type)
      Deprecated.
    • getAttributes

      public NBTCompound getAttributes()
      Deprecated.
    • setAttributes

      public void setAttributes(NBTCompound attributes)
      Deprecated.