public class ChunkLoaderManager
extends java.lang.Object
| Constructor and Description |
|---|
ChunkLoaderManager() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> |
getChunksToLoad(T tile) |
static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> |
loadChunksForTile(T tile)
This should be called in
TileEntity.validate(), if a tile entity might be able to load. |
static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> |
rebindTickets(java.util.List<net.minecraftforge.common.ForgeChunkManager.Ticket> tickets,
net.minecraft.world.World world) |
static void |
releaseChunksFor(IChunkLoadingTile tile) |
static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> |
updateChunksFor(T tile) |
public static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> void loadChunksForTile(@Nonnull T tile)
TileEntity.validate(), if a tile entity might be able to load. A check is
performed to see if the config allows itpublic static void releaseChunksFor(@Nonnull
IChunkLoadingTile tile)
public static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> void updateChunksFor(@Nonnull T tile)
public static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> java.util.Set<net.minecraft.util.math.ChunkPos> getChunksToLoad(@Nonnull T tile)
public static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> void rebindTickets(java.util.List<net.minecraftforge.common.ForgeChunkManager.Ticket> tickets, net.minecraft.world.World world)