public interface VolatileWorldHandler
Modifier and Type | Method and Description |
---|---|
default void |
changeWorldServerThread(org.bukkit.World world) |
default void |
doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
float |
getDifficultyScale(AbstractLocation location) |
default int |
getEntitiesInChunk(AbstractWorld world,
int x,
int z) |
default Collection<AbstractEntity> |
getEntitiesNearLocation(AbstractLocation location,
double radius) |
default Collection<AbstractEntity> |
getEntitiesNearLocation(AbstractLocation location,
double radius,
Predicate<AbstractEntity> predicate) |
default boolean |
isChunkLoaded(AbstractWorld world,
int x,
int z) |
void |
playSoundAtLocation(AbstractLocation location,
String sound,
float volume,
float pitch,
double radius) |
default org.bukkit.util.RayTraceResult |
rayTrace(org.bukkit.Location start,
org.bukkit.util.Vector direction,
double maxDistance,
double raySize,
Predicate<org.bukkit.entity.Entity> entityFilter,
Predicate<org.bukkit.Material> blockFilter) |
default org.bukkit.util.RayTraceResult |
rayTrace(org.bukkit.Location start,
org.bukkit.util.Vector direction,
double maxDistance,
org.bukkit.FluidCollisionMode fluidCollisionMode,
boolean ignorePassableBlocks,
double raySize,
Predicate<org.bukkit.entity.Entity> filter) |
void |
registerWorldAccess(org.bukkit.World world) |
default void |
restoreWorldServerThread(org.bukkit.World world) |
void |
unregisterWorldAccess(org.bukkit.World world) |
void registerWorldAccess(org.bukkit.World world)
void unregisterWorldAccess(org.bukkit.World world)
void playSoundAtLocation(AbstractLocation location, String sound, float volume, float pitch, double radius)
default boolean isChunkLoaded(AbstractWorld world, int x, int z)
default int getEntitiesInChunk(AbstractWorld world, int x, int z)
default void doBlockTossEffect(AbstractLocation target, org.bukkit.Material material, AbstractVector velocity, int duration, boolean hideSourceBlock)
float getDifficultyScale(AbstractLocation location)
default Collection<AbstractEntity> getEntitiesNearLocation(AbstractLocation location, double radius)
default Collection<AbstractEntity> getEntitiesNearLocation(AbstractLocation location, double radius, Predicate<AbstractEntity> predicate)
default void changeWorldServerThread(org.bukkit.World world)
default void restoreWorldServerThread(org.bukkit.World world)
default org.bukkit.util.RayTraceResult rayTrace(org.bukkit.Location start, org.bukkit.util.Vector direction, double maxDistance, org.bukkit.FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks, double raySize, Predicate<org.bukkit.entity.Entity> filter)
Copyright © 2020. All rights reserved.