Package be.seeseemelk.mockbukkit
Class ChunkSnapshotMock
java.lang.Object
be.seeseemelk.mockbukkit.ChunkSnapshotMock
- All Implemented Interfaces:
ChunkSnapshot
Mock implementation of a
ChunkSnapshot
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
@NotNull Biome
getBiome
(int x, int z) @NotNull Biome
getBiome
(int x, int y, int z) @NotNull BlockData
getBlockData
(int x, int y, int z) int
getBlockEmittedLight
(int x, int y, int z) int
getBlockSkyLight
(int x, int y, int z) @NotNull Material
getBlockType
(int x, int y, int z) long
int
getData
(int x, int y, int z) int
getHighestBlockYAt
(int x, int z) double
getRawBiomeTemperature
(int x, int z) double
getRawBiomeTemperature
(int x, int y, int z) @NotNull String
int
getX()
int
getZ()
boolean
isSectionEmpty
(int sy)
-
Method Details
-
getX
public int getX()- Specified by:
getX
in interfaceChunkSnapshot
-
getZ
public int getZ()- Specified by:
getZ
in interfaceChunkSnapshot
-
getWorldName
- Specified by:
getWorldName
in interfaceChunkSnapshot
-
getBlockType
- Specified by:
getBlockType
in interfaceChunkSnapshot
-
getBlockData
- Specified by:
getBlockData
in interfaceChunkSnapshot
-
getData
public int getData(int x, int y, int z) - Specified by:
getData
in interfaceChunkSnapshot
-
getBlockSkyLight
public int getBlockSkyLight(int x, int y, int z) - Specified by:
getBlockSkyLight
in interfaceChunkSnapshot
-
getBlockEmittedLight
public int getBlockEmittedLight(int x, int y, int z) - Specified by:
getBlockEmittedLight
in interfaceChunkSnapshot
-
getHighestBlockYAt
public int getHighestBlockYAt(int x, int z) - Specified by:
getHighestBlockYAt
in interfaceChunkSnapshot
-
getBiome
- Specified by:
getBiome
in interfaceChunkSnapshot
-
getBiome
- Specified by:
getBiome
in interfaceChunkSnapshot
-
getRawBiomeTemperature
public double getRawBiomeTemperature(int x, int z) - Specified by:
getRawBiomeTemperature
in interfaceChunkSnapshot
-
getRawBiomeTemperature
public double getRawBiomeTemperature(int x, int y, int z) - Specified by:
getRawBiomeTemperature
in interfaceChunkSnapshot
-
getCaptureFullTime
public long getCaptureFullTime()- Specified by:
getCaptureFullTime
in interfaceChunkSnapshot
-
isSectionEmpty
public boolean isSectionEmpty(int sy) - Specified by:
isSectionEmpty
in interfaceChunkSnapshot
-
contains
- Specified by:
contains
in interfaceChunkSnapshot
-
contains
- Specified by:
contains
in interfaceChunkSnapshot
-