Biome classes rename

This commit is contained in:
paulevsGitch 2021-03-11 00:45:28 +03:00
parent 1b7a52ebb1
commit 0402394201
14 changed files with 55 additions and 49 deletions

View file

@ -16,6 +16,7 @@ import net.minecraft.sound.SoundEvents;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.world.World;
import net.minecraft.world.WorldAccess;
import ru.betterend.blocks.basis.BlockBaseNotFull;
import ru.betterend.client.render.ERenderLayer;
import ru.betterend.interfaces.IRenderTypeable;
@ -79,10 +80,15 @@ public class MengerSpongeWetBlock extends BlockBaseNotFull implements IRenderTyp
}
}
@Override
/*@Override
public void onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) {
world.breakBlock(pos, !player.isCreative());
BlocksHelper.setWithUpdate(world, pos, Blocks.AIR);
}*/
@Override
public void onBroken(WorldAccess world, BlockPos pos, BlockState state) {
BlocksHelper.setWithUpdate(world, pos, Blocks.AIR);
}
@Override