Package be.seeseemelk.mockbukkit
Class ChunkSnapshotMock
java.lang.Object
be.seeseemelk.mockbukkit.ChunkSnapshotMock
- All Implemented Interfaces:
org.bukkit.ChunkSnapshot
Mock implementation of a
ChunkSnapshot.-
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(@NotNull org.bukkit.block.Biome biome) booleancontains(@NotNull org.bukkit.block.data.BlockData block) @NotNull org.bukkit.block.BiomegetBiome(int x, int z) @NotNull org.bukkit.block.BiomegetBiome(int x, int y, int z) @NotNull org.bukkit.block.data.BlockDatagetBlockData(int x, int y, int z) intgetBlockEmittedLight(int x, int y, int z) intgetBlockSkyLight(int x, int y, int z) @NotNull org.bukkit.MaterialgetBlockType(int x, int y, int z) longintgetData(int x, int y, int z) intgetHighestBlockYAt(int x, int z) doublegetRawBiomeTemperature(int x, int z) doublegetRawBiomeTemperature(int x, int y, int z) @NotNull StringintgetX()intgetZ()booleanisSectionEmpty(int sy)
-
Method Details
-
getX
public int getX()- Specified by:
getXin interfaceorg.bukkit.ChunkSnapshot
-
getZ
public int getZ()- Specified by:
getZin interfaceorg.bukkit.ChunkSnapshot
-
getWorldName
- Specified by:
getWorldNamein interfaceorg.bukkit.ChunkSnapshot
-
getBlockType
@NotNull public @NotNull org.bukkit.Material getBlockType(int x, int y, int z) - Specified by:
getBlockTypein interfaceorg.bukkit.ChunkSnapshot
-
getBlockData
@NotNull public @NotNull org.bukkit.block.data.BlockData getBlockData(int x, int y, int z) - Specified by:
getBlockDatain interfaceorg.bukkit.ChunkSnapshot
-
getData
public int getData(int x, int y, int z) - Specified by:
getDatain interfaceorg.bukkit.ChunkSnapshot
-
getBlockSkyLight
public int getBlockSkyLight(int x, int y, int z) - Specified by:
getBlockSkyLightin interfaceorg.bukkit.ChunkSnapshot
-
getBlockEmittedLight
public int getBlockEmittedLight(int x, int y, int z) - Specified by:
getBlockEmittedLightin interfaceorg.bukkit.ChunkSnapshot
-
getHighestBlockYAt
public int getHighestBlockYAt(int x, int z) - Specified by:
getHighestBlockYAtin interfaceorg.bukkit.ChunkSnapshot
-
getBiome
@NotNull public @NotNull org.bukkit.block.Biome getBiome(int x, int z) - Specified by:
getBiomein interfaceorg.bukkit.ChunkSnapshot
-
getBiome
@NotNull public @NotNull org.bukkit.block.Biome getBiome(int x, int y, int z) - Specified by:
getBiomein interfaceorg.bukkit.ChunkSnapshot
-
getRawBiomeTemperature
public double getRawBiomeTemperature(int x, int z) - Specified by:
getRawBiomeTemperaturein interfaceorg.bukkit.ChunkSnapshot
-
getRawBiomeTemperature
public double getRawBiomeTemperature(int x, int y, int z) - Specified by:
getRawBiomeTemperaturein interfaceorg.bukkit.ChunkSnapshot
-
getCaptureFullTime
public long getCaptureFullTime()- Specified by:
getCaptureFullTimein interfaceorg.bukkit.ChunkSnapshot
-
isSectionEmpty
public boolean isSectionEmpty(int sy) - Specified by:
isSectionEmptyin interfaceorg.bukkit.ChunkSnapshot
-
contains
public boolean contains(@NotNull @NotNull org.bukkit.block.data.BlockData block) - Specified by:
containsin interfaceorg.bukkit.ChunkSnapshot
-
contains
public boolean contains(@NotNull @NotNull org.bukkit.block.Biome biome) - Specified by:
containsin interfaceorg.bukkit.ChunkSnapshot
-