Interface DimensionType
- All Superinterfaces:
CopyableEntity<DimensionType>,DeepComparableEntity,MappedEntity
- All Known Implementing Classes:
StaticDimensionType
public interface DimensionType
extends MappedEntity, CopyableEntity<DimensionType>, DeepComparableEntity
-
Method Summary
Modifier and TypeMethodDescriptiondefault DimensionTypeRefasRef(ClientVersion version) static DimensionTypedecode(NBT nbt, ClientVersion version, @Nullable TypesBuilderData data) static NBTencode(DimensionType dimensionType, ClientVersion version) floatdoubledefault intintgetHeight(ClientVersion version) default intintgetLogicalHeight(ClientVersion version) default intgetMinY()intgetMinY(ClientVersion version) intbooleanbooleanhasRaids()booleanbooleanbooleanbooleanbooleandefault booleanisShrunk()booleanMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.CopyableEntity
copyMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.DeepComparableEntity
deepEquals, deepHashCodeMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
getFixedTime
OptionalLong getFixedTime() -
hasSkyLight
boolean hasSkyLight() -
hasCeiling
boolean hasCeiling() -
isUltraWarm
boolean isUltraWarm() -
isNatural
boolean isNatural() -
getCoordinateScale
double getCoordinateScale() -
isShrunk
default boolean isShrunk() -
isBedWorking
boolean isBedWorking() -
isRespawnAnchorWorking
boolean isRespawnAnchorWorking() -
getMinY
default int getMinY() -
getMinY
-
getHeight
default int getHeight() -
getHeight
-
getLogicalHeight
default int getLogicalHeight() -
getLogicalHeight
-
getInfiniburnTag
String getInfiniburnTag() -
getEffectsLocation
ResourceLocation getEffectsLocation() -
getAmbientLight
float getAmbientLight() -
isPiglinSafe
boolean isPiglinSafe() -
hasRaids
boolean hasRaids() -
getMonsterSpawnLightLevel
NBT getMonsterSpawnLightLevel() -
getMonsterSpawnBlockLightLimit
int getMonsterSpawnBlockLightLimit() -
asRef
-
decode
static DimensionType decode(NBT nbt, ClientVersion version, @Nullable @Nullable TypesBuilderData data) -
encode
-