public class SpongeHooks extends Object
Modifier and Type | Field and Description |
---|---|
static net.minecraft.world.ChunkCoordIntPair |
tickingChunk |
static int |
tickingDimension |
Constructor and Description |
---|
SpongeHooks() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkBoundingBoxSize(net.minecraft.entity.Entity entity,
net.minecraft.util.AxisAlignedBB aabb) |
static boolean |
checkEntitySpeed(net.minecraft.entity.Entity entity,
double x,
double y,
double z) |
static void |
dumpHeap(File file,
boolean live) |
static void |
enableThreadContentionMonitoring() |
static SpongeConfig<?> |
getActiveConfig(net.minecraft.world.World world) |
static void |
logChunkLoad(net.minecraft.world.World world,
com.flowpowered.math.vector.Vector3i chunkPos) |
static void |
logChunkUnload(net.minecraft.world.World world,
com.flowpowered.math.vector.Vector3i chunkPos) |
static void |
logEntityDeath(net.minecraft.entity.Entity entity) |
static void |
logEntityDespawn(net.minecraft.entity.Entity entity,
String reason) |
static void |
logEntitySize(net.minecraft.entity.Entity entity,
List list) |
static void |
logEntitySpawn(net.minecraft.entity.Entity entity) |
static void |
logInfo(String msg,
Object... args) |
static void |
logSevere(String msg,
Object... args) |
static void |
logStack(SpongeConfig<?> config) |
static void |
logWarning(String msg,
Object... args) |
static void |
setBlockState(net.minecraft.world.chunk.Chunk chunk,
net.minecraft.util.BlockPos position,
org.spongepowered.api.block.BlockState state) |
static void |
setBlockState(net.minecraft.world.chunk.Chunk chunk,
int x,
int y,
int z,
org.spongepowered.api.block.BlockState state) |
static void |
setBlockState(net.minecraft.world.World world,
net.minecraft.util.BlockPos position,
org.spongepowered.api.block.BlockState state) |
static void |
setBlockState(net.minecraft.world.World world,
int x,
int y,
int z,
org.spongepowered.api.block.BlockState state) |
public static int tickingDimension
public static net.minecraft.world.ChunkCoordIntPair tickingChunk
public static void logStack(SpongeConfig<?> config)
public static void logEntityDeath(net.minecraft.entity.Entity entity)
public static void logEntityDespawn(net.minecraft.entity.Entity entity, String reason)
public static void logEntitySpawn(net.minecraft.entity.Entity entity)
public static void logChunkLoad(net.minecraft.world.World world, com.flowpowered.math.vector.Vector3i chunkPos)
public static void logChunkUnload(net.minecraft.world.World world, com.flowpowered.math.vector.Vector3i chunkPos)
public static boolean checkBoundingBoxSize(net.minecraft.entity.Entity entity, net.minecraft.util.AxisAlignedBB aabb)
public static boolean checkEntitySpeed(net.minecraft.entity.Entity entity, double x, double y, double z)
public static void logEntitySize(net.minecraft.entity.Entity entity, List list)
public static void dumpHeap(File file, boolean live)
public static void enableThreadContentionMonitoring()
public static SpongeConfig<?> getActiveConfig(net.minecraft.world.World world)
public static void setBlockState(net.minecraft.world.World world, int x, int y, int z, org.spongepowered.api.block.BlockState state)
public static void setBlockState(net.minecraft.world.World world, net.minecraft.util.BlockPos position, org.spongepowered.api.block.BlockState state)
public static void setBlockState(net.minecraft.world.chunk.Chunk chunk, int x, int y, int z, org.spongepowered.api.block.BlockState state)
public static void setBlockState(net.minecraft.world.chunk.Chunk chunk, net.minecraft.util.BlockPos position, org.spongepowered.api.block.BlockState state)