mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Removed debug code
This commit is contained in:
parent
f58a0598fd
commit
6007afc978
5 changed files with 0 additions and 11 deletions
|
@ -56,8 +56,6 @@ public class BlockChitin extends Block {
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@Override
|
@Override
|
||||||
public float getPlayerRelativeBlockHardness(IBlockState state, EntityPlayer player, World worldIn, BlockPos pos) {
|
public float getPlayerRelativeBlockHardness(IBlockState state, EntityPlayer player, World worldIn, BlockPos pos) {
|
||||||
setHardness(50);
|
|
||||||
|
|
||||||
float hardness = super.getPlayerRelativeBlockHardness(state, player, worldIn, pos);
|
float hardness = super.getPlayerRelativeBlockHardness(state, player, worldIn, pos);
|
||||||
|
|
||||||
IPlayer iplayer = PlayerSpeciesList.instance().getPlayer(player);
|
IPlayer iplayer = PlayerSpeciesList.instance().getPlayer(player);
|
||||||
|
|
|
@ -33,11 +33,6 @@ public class BlockCloudDoor extends UDoor implements ICloudBlock {
|
||||||
return blockMapColor;
|
return blockMapColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isAir(IBlockState state, IBlockAccess world, BlockPos pos) {
|
|
||||||
return super.isAir(state, world, pos);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
|
||||||
if (!getCanInteract(state, player)) {
|
if (!getCanInteract(state, player)) {
|
||||||
|
|
|
@ -63,7 +63,6 @@ public class BlockGlowingGem extends BlockTorch implements ICloudBlock {
|
||||||
);
|
);
|
||||||
|
|
||||||
public BlockGlowingGem(String domain, String name) {
|
public BlockGlowingGem(String domain, String name) {
|
||||||
super();
|
|
||||||
setTranslationKey(name);
|
setTranslationKey(name);
|
||||||
setRegistryName(domain, name);
|
setRegistryName(domain, name);
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ public class BlockSlimeLayer extends BlockSnow {
|
||||||
setRegistryName(domain, name);
|
setRegistryName(domain, name);
|
||||||
|
|
||||||
setSoundType(SoundType.SLIME);
|
setSoundType(SoundType.SLIME);
|
||||||
|
|
||||||
setCreativeTab(CreativeTabs.DECORATIONS);
|
setCreativeTab(CreativeTabs.DECORATIONS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,8 +84,6 @@ public class CraftingManager {
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public IRecipe findMatchingRecipe(InventoryCrafting craftMatrix, World worldIn) {
|
public IRecipe findMatchingRecipe(InventoryCrafting craftMatrix, World worldIn) {
|
||||||
load();
|
|
||||||
|
|
||||||
for (IRecipe irecipe : getRecipes()) {
|
for (IRecipe irecipe : getRecipes()) {
|
||||||
if (irecipe.matches(craftMatrix, worldIn)) {
|
if (irecipe.matches(craftMatrix, worldIn)) {
|
||||||
return irecipe;
|
return irecipe;
|
||||||
|
|
Loading…
Reference in a new issue