Class VaultBlockEntity.Client
java.lang.Object
net.minecraft.world.level.block.entity.vault.VaultBlockEntity.Client
- Enclosing class:
VaultBlockEntity
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final float
private static final int
private static final float
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
emitActivationParticles
(Level p_323761_, BlockPos p_324150_, BlockState p_324527_, VaultSharedData p_324466_, ParticleOptions p_338551_) private static void
emitConnectionParticlesForNearbyPlayers
(Level p_324593_, BlockPos p_324162_, BlockState p_324246_, VaultSharedData p_323584_) private static void
emitConnectionParticlesForPlayer
(Level p_323629_, Vec3 p_324592_, Player p_324428_) static void
emitDeactivationParticles
(Level p_324419_, BlockPos p_324587_, ParticleOptions p_338582_) private static void
emitIdleParticles
(Level p_324004_, BlockPos p_324516_, VaultSharedData p_324173_, ParticleOptions p_338823_) private static boolean
isWithinConnectionRange
(BlockPos p_324081_, VaultSharedData p_323688_, Player p_324438_) private static Vec3
keyholePos
(BlockPos p_323572_, Direction p_324503_) private static void
playIdleSounds
(Level p_323802_, BlockPos p_323510_, VaultSharedData p_324457_) private static Vec3
randomPosCenterOfCage
(BlockPos p_323493_, RandomSource p_324481_) private static Vec3
randomPosInsideCage
(BlockPos p_324080_, RandomSource p_324532_) static boolean
shouldDisplayActiveEffects
(VaultSharedData p_323681_) static void
tick
(Level p_324312_, BlockPos p_323810_, BlockState p_323862_, VaultClientData p_324314_, VaultSharedData p_323914_)
-
Field Details
-
PARTICLE_TICK_RATE
private static final int PARTICLE_TICK_RATE- See Also:
-
IDLE_PARTICLE_CHANCE
private static final float IDLE_PARTICLE_CHANCE- See Also:
-
AMBIENT_SOUND_CHANCE
private static final float AMBIENT_SOUND_CHANCE- See Also:
-
ACTIVATION_PARTICLE_COUNT
private static final int ACTIVATION_PARTICLE_COUNT- See Also:
-
DEACTIVATION_PARTICLE_COUNT
private static final int DEACTIVATION_PARTICLE_COUNT- See Also:
-
-
Constructor Details
-
Client
public Client()
-
-
Method Details
-
emitDeactivationParticles
public static void emitDeactivationParticles(Level p_324419_, BlockPos p_324587_, ParticleOptions p_338582_) -
emitConnectionParticlesForPlayer
-
randomPosCenterOfCage
-
randomPosInsideCage
-
keyholePos