mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-16 01:54:46 +00:00
All devs and contributors should use the provided formatter settings. If your IDE does not support the format, the rules are simple, it is the default java formatting rules, with 200char line lengths and 1 extra line after class definitions.
46 lines
1.1 KiB
Java
46 lines
1.1 KiB
Java
package com.cricketcraft.chisel.block;
|
|
|
|
import java.util.Random;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.world.World;
|
|
|
|
import com.cricketcraft.chisel.carving.CarvableHelper;
|
|
import com.cricketcraft.chisel.init.ModBlocks;
|
|
|
|
public class BlockMarbleIceStairs extends BlockMarbleStairs {
|
|
|
|
public BlockMarbleIceStairs(Block block, int meta, CarvableHelper helper) {
|
|
super(block, meta, helper);
|
|
|
|
slipperiness = 0.98F;
|
|
setTickRandomly(true);
|
|
}
|
|
|
|
@Override
|
|
public void harvestBlock(World par1World, EntityPlayer par2EntityPlayer, int par3, int par4, int par5, int par6) {
|
|
ModBlocks.ice.harvestBlock(par1World, par2EntityPlayer, par3, par4, par5, par6);
|
|
}
|
|
|
|
@Override
|
|
public int quantityDropped(Random par1Random) {
|
|
return ModBlocks.ice.quantityDropped(par1Random);
|
|
}
|
|
|
|
@Override
|
|
public int damageDropped(int i) {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) {
|
|
ModBlocks.ice.updateTick(par1World, par2, par3, par4, par5Random);
|
|
}
|
|
|
|
@Override
|
|
public int getMobilityFlag() {
|
|
return 0;
|
|
}
|
|
}
|