Skip to content

World Class

Brisingr Aerowing edited this page Sep 18, 2018 · 1 revision

Importing

import mods.ctutils.world.World

Methods

  • 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.
Clone this wiki locally