public class VolatileWorldHandler_v1_12_R1 extends Object implements VolatileWorldHandler
Constructor and Description |
---|
VolatileWorldHandler_v1_12_R1(VolatileCodeHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
doBlockTossEffect(AbstractLocation target,
org.bukkit.Material material,
AbstractVector velocity,
int duration,
boolean hideSourceBlock) |
float |
getDifficultyScale(AbstractLocation location) |
int |
getEntitiesInChunk(AbstractWorld world,
int x,
int z) |
Collection<AbstractEntity> |
getEntitiesNearLocation(AbstractLocation location,
double radius,
Predicate<AbstractEntity> predicate) |
boolean |
isChunkLoaded(AbstractWorld world,
int x,
int z) |
void |
playSoundAtLocation(AbstractLocation location,
String sound,
float volume,
float pitch,
double radius) |
void |
registerWorldAccess(org.bukkit.World world) |
void |
unregisterWorldAccess(org.bukkit.World world) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeWorldServerThread, getEntitiesNearLocation, rayTrace, rayTrace, restoreWorldServerThread
public VolatileWorldHandler_v1_12_R1(VolatileCodeHandler handler)
public void registerWorldAccess(org.bukkit.World world)
registerWorldAccess
in interface VolatileWorldHandler
public void unregisterWorldAccess(org.bukkit.World world)
unregisterWorldAccess
in interface VolatileWorldHandler
public void playSoundAtLocation(AbstractLocation location, String sound, float volume, float pitch, double radius)
playSoundAtLocation
in interface VolatileWorldHandler
public boolean isChunkLoaded(AbstractWorld world, int x, int z)
isChunkLoaded
in interface VolatileWorldHandler
public int getEntitiesInChunk(AbstractWorld world, int x, int z)
getEntitiesInChunk
in interface VolatileWorldHandler
public void doBlockTossEffect(AbstractLocation target, org.bukkit.Material material, AbstractVector velocity, int duration, boolean hideSourceBlock)
doBlockTossEffect
in interface VolatileWorldHandler
public float getDifficultyScale(AbstractLocation location)
getDifficultyScale
in interface VolatileWorldHandler
public Collection<AbstractEntity> getEntitiesNearLocation(AbstractLocation location, double radius, Predicate<AbstractEntity> predicate)
getEntitiesNearLocation
in interface VolatileWorldHandler
Copyright © 2020. All rights reserved.