server client split world classes
This commit is contained in:
parent
66e9f68eee
commit
6e77090c5b
247 changed files with 1309 additions and 1187 deletions
|
@ -23,7 +23,7 @@ import common.world.IWorldAccess;
|
|||
import common.world.LightType;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
import common.world.WorldServer;
|
||||
import common.world.AWorldServer;
|
||||
|
||||
public class BlockSnow extends Block
|
||||
{
|
||||
|
@ -135,7 +135,7 @@ public class BlockSnow extends Block
|
|||
return 0;
|
||||
}
|
||||
|
||||
public void updateTick(WorldServer worldIn, BlockPos pos, State state, Random rand)
|
||||
public void updateTick(AWorldServer worldIn, BlockPos pos, State state, Random rand)
|
||||
{
|
||||
if (Config.snowMelt && ((worldIn.getLightFor(LightType.BLOCK, pos) > 11) || !worldIn.canFreezeAt(pos)))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue