Class TrackedImmersiveData<S extends NetworkStorage>
java.lang.Object
com.hammy275.immersivemc.server.immersive.TrackedImmersiveData<S>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTrackedImmersiveData
(UUID playerUUID, Set<net.minecraft.core.BlockPos> pos, ImmersiveHandler<S> handler, net.minecraft.world.level.Level level) -
Method Summary
Modifier and TypeMethodDescriptionboolean
net.minecraft.world.level.Level
getLevel()
Set<net.minecraft.core.BlockPos>
getPos()
getSyncPacket
(net.minecraft.server.level.ServerPlayer player) boolean
shouldSync
(net.minecraft.server.level.ServerPlayer player) boolean
validForPlayer
(net.minecraft.server.level.ServerPlayer player)
-
Field Details
-
maxDist
public static final double maxDist- See Also:
-
playerUUID
-
-
Constructor Details
-
TrackedImmersiveData
public TrackedImmersiveData(UUID playerUUID, Set<net.minecraft.core.BlockPos> pos, ImmersiveHandler<S> handler, net.minecraft.world.level.Level level)
-
-
Method Details
-
shouldSync
public boolean shouldSync(net.minecraft.server.level.ServerPlayer player) -
getSyncPacket
-
validForPlayer
public boolean validForPlayer(net.minecraft.server.level.ServerPlayer player) -
getPos
-
getLevel
public net.minecraft.world.level.Level getLevel() -
getHandler
-
blockMatches
public boolean blockMatches()
-