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 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, BlockPos basePos, BlockPos homePos, BlockPos spawnPos, Boolean hasPlayedCreepyDisc, Integer entityReputation, Integer noWayOutFrame, Boolean vhsEnabled, Boolean aberrationEnabled, Boolean moonGlitchActive)
-
Method Summary
Modifier and Type Method Description final Boolean
getShowVHS()
final Unit
setShowVHS(Boolean showVHS)
final Boolean
getFileCreated()
final Unit
setFileCreated(Boolean fileCreated)
final Boolean
getScreenDamage()
final Unit
setScreenDamage(Boolean screenDamage)
final BlockPos
getBasePos()
final Unit
setBasePos(BlockPos basePos)
final BlockPos
getHomePos()
final Unit
setHomePos(BlockPos homePos)
final BlockPos
getSpawnPos()
final Unit
setSpawnPos(BlockPos spawnPos)
final Boolean
getHasPlayedCreepyDisc()
final Unit
setHasPlayedCreepyDisc(Boolean hasPlayedCreepyDisc)
final Integer
getEntityReputation()
final Unit
setEntityReputation(Integer entityReputation)
final Integer
getNoWayOutFrame()
final Unit
setNoWayOutFrame(Integer noWayOutFrame)
final Boolean
getVhsEnabled()
final Unit
setVhsEnabled(Boolean vhsEnabled)
final Boolean
getAberrationEnabled()
final Unit
setAberrationEnabled(Boolean aberrationEnabled)
final Boolean
getMoonGlitchActive()
final Unit
setMoonGlitchActive(Boolean moonGlitchActive)
final Unit
syncTo(Player player)
Tag
serializeNBT(HolderLookup.Provider provider)
Unit
deserializeNBT(HolderLookup.Provider provider, Tag tag)
-
-
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)
-
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)
-
-
-
-