mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
Removed Copy-Pasta Unuseds
This commit is contained in:
parent
edcc279c45
commit
c82dc1f148
2 changed files with 2 additions and 15 deletions
|
@ -91,10 +91,6 @@
|
|||
-Customizable with Items in Concrete Mixer
|
||||
-(eg. Redstone->Speed Glowstone->Light etc.)
|
||||
|
||||
-XP Solidifier
|
||||
-Block that creates Solidified Experience from Player's Levels
|
||||
-Has a GUI with Buttons
|
||||
|
||||
-Alarm
|
||||
-Gets triggered when Mobs are in the Area
|
||||
-Configurable Range
|
||||
|
|
|
@ -30,16 +30,14 @@ import java.util.List;
|
|||
public class BlockXPSolidifier extends BlockContainerBase implements INameableItem{
|
||||
|
||||
private IIcon topIcon;
|
||||
private IIcon onIcon;
|
||||
private IIcon frontIcon;
|
||||
|
||||
public BlockXPSolidifier(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.5F);
|
||||
this.setHardness(2.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setTickRandomly(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -57,11 +55,6 @@ public class BlockXPSolidifier extends BlockContainerBase implements INameableIt
|
|||
return new TileEntityXPSolidifier();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLightValue(IBlockAccess world, int x, int y, int z){
|
||||
return world.getBlockMetadata(x, y, z) > 3 ? 12 : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(int side, int meta){
|
||||
if(side == 1) return this.topIcon;
|
||||
|
@ -73,8 +66,7 @@ public class BlockXPSolidifier extends BlockContainerBase implements INameableIt
|
|||
public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side){
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
if(side == 1) return this.topIcon;
|
||||
if(side == meta+2 && meta <= 3) return this.frontIcon;
|
||||
else if(side == meta-2 && meta > 3) return this.onIcon;
|
||||
if(side == meta+2) return this.frontIcon;
|
||||
return this.blockIcon;
|
||||
}
|
||||
|
||||
|
@ -83,7 +75,6 @@ public class BlockXPSolidifier extends BlockContainerBase implements INameableIt
|
|||
public void registerBlockIcons(IIconRegister iconReg){
|
||||
this.blockIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER + ":" + this.getName());
|
||||
this.topIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER + ":" + this.getName() + "Top");
|
||||
this.onIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER + ":" + this.getName() + "On");
|
||||
this.frontIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER + ":" + this.getName() + "Front");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue