Class World

java.lang.Object
com.loohp.limbo.world.World

public class World extends Object
  • Field Details

    • HEIGHT_MAP

      public static final net.querz.nbt.tag.CompoundTag HEIGHT_MAP
    • EMPTY_CHUNK

      public static final net.querz.mca.Chunk EMPTY_CHUNK
  • Constructor Details

    • World

      public World(String name, int width, int length, Environment environment)
  • Method Details

    • getLightEngineBlock

      public LightEngineBlock getLightEngineBlock()
    • getLightEngineSky

      public LightEngineSky getLightEngineSky()
    • hasSkyLight

      public boolean hasSkyLight()
    • setBlock

      protected void setBlock(int x, int y, int z, String blockdata)
    • getBlock

      public BlockState getBlock(org.cloudburstmc.math.vector.Vector3i blockPosition)
    • getBlock

      public BlockState getBlock(int x, int y, int z)
    • setBlock

      public void setBlock(org.cloudburstmc.math.vector.Vector3i blockPosition, BlockState state)
    • setBlock

      public void setBlock(int x, int y, int z, BlockState state)
    • getChunks

      public net.querz.mca.Chunk[][] getChunks()
    • getChunkAtWorldPos

      public net.querz.mca.Chunk getChunkAtWorldPos(int x, int z)
    • getChunkAt

      public net.querz.mca.Chunk getChunkAt(int x, int z)
    • getChunkX

      public int getChunkX(net.querz.mca.Chunk chunk)
    • getChunkZ

      public int getChunkZ(net.querz.mca.Chunk chunk)
    • getChunkXZ

      public int[] getChunkXZ(net.querz.mca.Chunk chunk)
    • getName

      public String getName()
    • getEnvironment

      public Environment getEnvironment()
    • getWidth

      public int getWidth()
    • getLength

      public int getLength()
    • getChunkWidth

      public int getChunkWidth()
    • getChunkLength

      public int getChunkLength()
    • getEntities

      public Set<Entity> getEntities()
    • spawnEntity

      public Entity spawnEntity(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location)
    • addEntity

      public Entity addEntity(Entity entity)
    • getPlayers

      public List<Player> getPlayers()
    • removeEntity

      protected void removeEntity(Entity entity)
    • getDataWatcher

      protected DataWatcher getDataWatcher(Entity entity)
    • update

      public void update() throws IllegalArgumentException, IllegalAccessException
      Throws:
      IllegalArgumentException
      IllegalAccessException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object