Class PlayerVariables
-
- All Implemented Interfaces:
-
net.neoforged.neoforge.common.util.INBTSerializable
public final class PlayerVariables implements INBTSerializable<Tag>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PlayerVariables.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static Integer
MOON_GLITCH_DURATION_SECS
private Boolean
showVHS
private Boolean
fileCreated
private Boolean
screenDamage
private Boolean
isPlayerAnEntity
private BlockPos
basePos
private BlockPos
homePos
private BlockPos
spawnPos
private Boolean
hasPlayedCreepyDisc
private Integer
entityReputation
private Integer
noWayOutFrame
private Boolean
vhsEnabled
private Boolean
aberrationEnabled
private Boolean
moonGlitchActive
public final static PlayerVariables.Companion
Companion
-
Constructor Summary
Constructors Constructor Description PlayerVariables(Boolean fileCreated, Boolean screenDamage, Boolean isPlayerAnEntity, BlockPos basePos, BlockPos homePos, BlockPos spawnPos, Boolean hasPlayedCreepyDisc, Integer entityReputation, Integer noWayOutFrame, Boolean vhsEnabled, Boolean aberrationEnabled, Boolean moonGlitchActive)
-
Method Summary
-
-
Constructor Detail
-
PlayerVariables
PlayerVariables(Boolean fileCreated, Boolean screenDamage, Boolean isPlayerAnEntity, BlockPos basePos, BlockPos homePos, BlockPos spawnPos, Boolean hasPlayedCreepyDisc, Integer entityReputation, Integer noWayOutFrame, Boolean vhsEnabled, Boolean aberrationEnabled, Boolean moonGlitchActive)
-
-
Method Detail
-
getShowVHS
final Boolean getShowVHS()
-
setShowVHS
final Unit setShowVHS(Boolean showVHS)
-
getFileCreated
final Boolean getFileCreated()
-
setFileCreated
final Unit setFileCreated(Boolean fileCreated)
-
getScreenDamage
final Boolean getScreenDamage()
-
setScreenDamage
final Unit setScreenDamage(Boolean screenDamage)
-
isPlayerAnEntity
final Boolean isPlayerAnEntity()
-
setPlayerAnEntity
final Unit setPlayerAnEntity(Boolean isPlayerAnEntity)
-
getBasePos
final BlockPos getBasePos()
-
setBasePos
final Unit setBasePos(BlockPos basePos)
-
getHomePos
final BlockPos getHomePos()
-
setHomePos
final Unit setHomePos(BlockPos homePos)
-
getSpawnPos
final BlockPos getSpawnPos()
-
setSpawnPos
final Unit setSpawnPos(BlockPos spawnPos)
-
getHasPlayedCreepyDisc
final Boolean getHasPlayedCreepyDisc()
-
setHasPlayedCreepyDisc
final Unit setHasPlayedCreepyDisc(Boolean hasPlayedCreepyDisc)
-
getEntityReputation
final Integer getEntityReputation()
-
setEntityReputation
final Unit setEntityReputation(Integer entityReputation)
-
getNoWayOutFrame
final Integer getNoWayOutFrame()
-
setNoWayOutFrame
final Unit setNoWayOutFrame(Integer noWayOutFrame)
-
getVhsEnabled
final Boolean getVhsEnabled()
-
setVhsEnabled
final Unit setVhsEnabled(Boolean vhsEnabled)
-
getAberrationEnabled
final Boolean getAberrationEnabled()
-
setAberrationEnabled
final Unit setAberrationEnabled(Boolean aberrationEnabled)
-
getMoonGlitchActive
final Boolean getMoonGlitchActive()
-
setMoonGlitchActive
final Unit setMoonGlitchActive(Boolean moonGlitchActive)
-
serializeNBT
Tag serializeNBT(HolderLookup.Provider provider)
-
deserializeNBT
Unit deserializeNBT(HolderLookup.Provider provider, Tag tag)
-
-
-
-