Class ChunkSnapshotMock

java.lang.Object
be.seeseemelk.mockbukkit.ChunkSnapshotMock
All Implemented Interfaces:
org.bukkit.ChunkSnapshot

public class ChunkSnapshotMock extends Object implements org.bukkit.ChunkSnapshot
  • Method Details

    • getX

      public int getX()
      Specified by:
      getX in interface org.bukkit.ChunkSnapshot
    • getZ

      public int getZ()
      Specified by:
      getZ in interface org.bukkit.ChunkSnapshot
    • getWorldName

      @NotNull public @NotNull String getWorldName()
      Specified by:
      getWorldName in interface org.bukkit.ChunkSnapshot
    • getBlockType

      @NotNull public @NotNull org.bukkit.Material getBlockType(int x, int y, int z)
      Specified by:
      getBlockType in interface org.bukkit.ChunkSnapshot
    • getBlockData

      @NotNull public @NotNull org.bukkit.block.data.BlockData getBlockData(int x, int y, int z)
      Specified by:
      getBlockData in interface org.bukkit.ChunkSnapshot
    • getData

      public int getData(int x, int y, int z)
      Specified by:
      getData in interface org.bukkit.ChunkSnapshot
    • getBlockSkyLight

      public int getBlockSkyLight(int x, int y, int z)
      Specified by:
      getBlockSkyLight in interface org.bukkit.ChunkSnapshot
    • getBlockEmittedLight

      public int getBlockEmittedLight(int x, int y, int z)
      Specified by:
      getBlockEmittedLight in interface org.bukkit.ChunkSnapshot
    • getHighestBlockYAt

      public int getHighestBlockYAt(int x, int z)
      Specified by:
      getHighestBlockYAt in interface org.bukkit.ChunkSnapshot
    • getBiome

      @NotNull public @NotNull org.bukkit.block.Biome getBiome(int x, int z)
      Specified by:
      getBiome in interface org.bukkit.ChunkSnapshot
    • getBiome

      @NotNull public @NotNull org.bukkit.block.Biome getBiome(int x, int y, int z)
      Specified by:
      getBiome in interface org.bukkit.ChunkSnapshot
    • getRawBiomeTemperature

      public double getRawBiomeTemperature(int x, int z)
      Specified by:
      getRawBiomeTemperature in interface org.bukkit.ChunkSnapshot
    • getRawBiomeTemperature

      public double getRawBiomeTemperature(int x, int y, int z)
      Specified by:
      getRawBiomeTemperature in interface org.bukkit.ChunkSnapshot
    • getCaptureFullTime

      public long getCaptureFullTime()
      Specified by:
      getCaptureFullTime in interface org.bukkit.ChunkSnapshot
    • isSectionEmpty

      public boolean isSectionEmpty(int sy)
      Specified by:
      isSectionEmpty in interface org.bukkit.ChunkSnapshot
    • contains

      public boolean contains(@NotNull @NotNull org.bukkit.block.data.BlockData block)
      Specified by:
      contains in interface org.bukkit.ChunkSnapshot