-
Notifications
You must be signed in to change notification settings - Fork 1
World Class
Brisingr Aerowing edited this page Sep 18, 2018
·
1 revision
import mods.ctutils.world.World
- boolean canSeeSky(IWorld world, IBlockPos pos) - Returns true if the specified block can see the sky.
- boolean canSnowAt(IWorld world, IBlockPos pos, boolean lightCheck) - Returns true if the specified block can have snow
- boolean canBlockFreeze(IWorld world, IBlockPos pos, boolean noWaterAdj) - Returns true if the specified block can freeze
- IGameRules getGameRules(IWorld world) - Gets the GameRules for the specified world
- IExplosion newExplosion(IWorld world, IEntity entity, double x, double y, double z, float strength, boolean isFlaming, boolean isSmoking) - Creates an explosion.