Class TrackedImmersiveData<S extends NetworkStorage>

java.lang.Object
com.hammy275.immersivemc.server.immersive.TrackedImmersiveData<S>

public class TrackedImmersiveData<S extends NetworkStorage> extends Object
  • Field Details

  • 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

      public FetchInventoryPacket<S> getSyncPacket(net.minecraft.server.level.ServerPlayer player)
    • validForPlayer

      public boolean validForPlayer(net.minecraft.server.level.ServerPlayer player)
    • getPos

      public Set<net.minecraft.core.BlockPos> getPos()
    • getLevel

      public net.minecraft.world.level.Level getLevel()
    • getHandler

      public ImmersiveHandler<S> getHandler()
    • blockMatches

      public boolean blockMatches()