Class StaticDimensionType
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.world.dimension.StaticDimensionType
- All Implemented Interfaces:
CopyableEntity<DimensionType>,DeepComparableEntity,MappedEntity,DimensionType
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data -
Constructor Summary
ConstructorsConstructorDescriptionStaticDimensionType(@Nullable TypesBuilderData data, OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorking, boolean respawnAnchorWorking, int minY, int height, int logicalHeight, String infiniburnTag, @Nullable ResourceLocation effectsLocation, float ambientLight, boolean piglinSafe, boolean hasRaids, @Nullable NBT monsterSpawnLightLevel, int monsterSpawnBlockLightLimit) StaticDimensionType(OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorking, boolean respawnAnchorWorking, int minY, int height, int logicalHeight, String infiniburnTag, @Nullable ResourceLocation effectsLocation, float ambientLight, boolean piglinSafe, boolean hasRaids, @Nullable NBT monsterSpawnLightLevel, int monsterSpawnBlockLightLimit) -
Method Summary
Modifier and TypeMethodDescriptioncopy(@Nullable TypesBuilderData newData) booleandeepEquals(Object obj) intfloatdouble@Nullable ResourceLocationintgetHeight(ClientVersion version) intgetLogicalHeight(ClientVersion version) intgetMinY(ClientVersion version) int@Nullable NBTbooleanbooleanhasRaids()booleanbooleanbooleanbooleanbooleanbooleantoString()Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegisteredMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.world.dimension.DimensionType
asRef, getHeight, getLogicalHeight, getMinY, isShrunkMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticDimensionType
public StaticDimensionType(OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorking, boolean respawnAnchorWorking, int minY, int height, int logicalHeight, String infiniburnTag, @Nullable @Nullable ResourceLocation effectsLocation, float ambientLight, boolean piglinSafe, boolean hasRaids, @Nullable @Nullable NBT monsterSpawnLightLevel, int monsterSpawnBlockLightLimit) -
StaticDimensionType
public StaticDimensionType(@Nullable @Nullable TypesBuilderData data, OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorking, boolean respawnAnchorWorking, int minY, int height, int logicalHeight, String infiniburnTag, @Nullable @Nullable ResourceLocation effectsLocation, float ambientLight, boolean piglinSafe, boolean hasRaids, @Nullable @Nullable NBT monsterSpawnLightLevel, int monsterSpawnBlockLightLimit)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceCopyableEntity<DimensionType>
-
getFixedTime
- Specified by:
getFixedTimein interfaceDimensionType
-
hasCeiling
public boolean hasCeiling()- Specified by:
hasCeilingin interfaceDimensionType
-
hasSkyLight
public boolean hasSkyLight()- Specified by:
hasSkyLightin interfaceDimensionType
-
isUltraWarm
public boolean isUltraWarm()- Specified by:
isUltraWarmin interfaceDimensionType
-
isNatural
public boolean isNatural()- Specified by:
isNaturalin interfaceDimensionType
-
getCoordinateScale
public double getCoordinateScale()- Specified by:
getCoordinateScalein interfaceDimensionType
-
isBedWorking
public boolean isBedWorking()- Specified by:
isBedWorkingin interfaceDimensionType
-
isRespawnAnchorWorking
public boolean isRespawnAnchorWorking()- Specified by:
isRespawnAnchorWorkingin interfaceDimensionType
-
getMinY
- Specified by:
getMinYin interfaceDimensionType
-
getHeight
- Specified by:
getHeightin interfaceDimensionType
-
getLogicalHeight
- Specified by:
getLogicalHeightin interfaceDimensionType
-
getInfiniburnTag
- Specified by:
getInfiniburnTagin interfaceDimensionType
-
getEffectsLocation
- Specified by:
getEffectsLocationin interfaceDimensionType
-
getAmbientLight
public float getAmbientLight()- Specified by:
getAmbientLightin interfaceDimensionType
-
isPiglinSafe
public boolean isPiglinSafe()- Specified by:
isPiglinSafein interfaceDimensionType
-
hasRaids
public boolean hasRaids()- Specified by:
hasRaidsin interfaceDimensionType
-
getMonsterSpawnLightLevel
- Specified by:
getMonsterSpawnLightLevelin interfaceDimensionType
-
getMonsterSpawnBlockLightLimit
public int getMonsterSpawnBlockLightLimit()- Specified by:
getMonsterSpawnBlockLightLimitin interfaceDimensionType
-
deepEquals
- Specified by:
deepEqualsin interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCodein interfaceDeepComparableEntity
-
toString
- Overrides:
toStringin classAbstractMappedEntity
-