Examples of forceChunkLoading()


Examples of buildcraft.factory.TileQuarry.forceChunkLoading()

      for (Ticket ticket : tickets) {
        int quarryX = ticket.getModData().getInteger("quarryX");
        int quarryY = ticket.getModData().getInteger("quarryY");
        int quarryZ = ticket.getModData().getInteger("quarryZ");
        TileQuarry tq = (TileQuarry) world.getTileEntity(quarryX, quarryY, quarryZ);
        tq.forceChunkLoading(ticket);

      }
    }

    @Override
View Full Code Here

Examples of mods.railcraft.common.blocks.machine.alpha.TileAnchorWorld.forceChunkLoading()

                if (y >= 0) {
                    TileEntity tile = world.getTileEntity(x, y, z);
                    if (tile instanceof TileAnchorWorld) {
                        TileAnchorWorld anchor = (TileAnchorWorld) tile;
                        anchor.forceChunkLoading(ticket);
                        printAnchor(anchor.getName(), x, y, z);
                    }
                }
            } else {
                if (entity instanceof EntityCartAnchor) {
View Full Code Here

Examples of mods.railcraft.common.blocks.machine.alpha.TileAnchorWorld.forceChunkLoading()

            } else {
                if (entity instanceof EntityCartAnchor) {
                    EntityCartAnchor anchor = (EntityCartAnchor) entity;
                    anchor.setChunkTicket(ticket);
//                    System.out.println("Load Cart Chunks");
                    anchor.forceChunkLoading(anchor.chunkCoordX, anchor.chunkCoordZ);
                    printAnchor(anchor.getCommandSenderName(), (int) entity.posX, (int) entity.posY, (int) entity.posZ);
                }
            }
        }
    }
View Full Code Here

Examples of mods.railcraft.common.carts.EntityCartAnchor.forceChunkLoading()

            } else {
                if (entity instanceof EntityCartAnchor) {
                    EntityCartAnchor anchor = (EntityCartAnchor) entity;
                    anchor.setChunkTicket(ticket);
//                    System.out.println("Load Cart Chunks");
                    anchor.forceChunkLoading(anchor.chunkCoordX, anchor.chunkCoordZ);
                    printAnchor(anchor.getCommandSenderName(), (int) entity.posX, (int) entity.posY, (int) entity.posZ);
                }
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.