Skip to content

Commit

Permalink
Remove @SideOnly(Side.CLIENT) from getSubBlocks as it is no longer on…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbegt committed Apr 10, 2018
1 parent 2f9ab9a commit 974887c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 16 deletions.
Expand Up @@ -26,8 +26,6 @@
import net.minecraft.util.math.RayTraceResult;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import slimeknights.mantle.block.EnumBlock;

public class BlockNetherLeaves extends BlockLeavesBase
Expand All @@ -49,7 +47,6 @@ public void updateTick(World worldIn, @Nonnull BlockPos pos, @Nonnull IBlockStat
super.updateTick(worldIn, pos, state, rand);
}

@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> list)
{
Expand Down
Expand Up @@ -26,8 +26,6 @@
import net.minecraft.util.math.RayTraceResult;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import slimeknights.mantle.block.EnumBlock;

public class BlockNetherLeaves2 extends BlockLeavesBase
Expand All @@ -49,7 +47,6 @@ public void updateTick(World worldIn, @Nonnull BlockPos pos, @Nonnull IBlockStat
super.updateTick(worldIn, pos, state, rand);
}

@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> list)
{
Expand Down
Expand Up @@ -41,7 +41,6 @@ public BlockRespawnObelisk()
this.setSoundType(SoundType.WOOD);
}

@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> list)
{
Expand Down
Expand Up @@ -22,8 +22,6 @@
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockOverworldLeaves extends BlockLeavesBase
{
Expand All @@ -42,7 +40,6 @@ public void updateTick(World worldIn, @Nonnull BlockPos pos, @Nonnull IBlockStat
super.updateTick(worldIn, pos, state, rand);
}

@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> list)
{
Expand Down
Expand Up @@ -22,8 +22,6 @@
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockOverworldLeaves2 extends BlockLeavesBase
{
Expand All @@ -42,7 +40,6 @@ public void updateTick(World worldIn, @Nonnull BlockPos pos, @Nonnull IBlockStat
super.updateTick(worldIn, pos, state, rand);
}

@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> list)
{
Expand Down
Expand Up @@ -25,8 +25,6 @@
import net.minecraft.util.math.BlockPos.MutableBlockPos;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import slimeknights.mantle.block.EnumBlock;

public class BlockRedwoodLeaves extends BlockLeavesBase
Expand Down Expand Up @@ -85,7 +83,6 @@ private void destroy(World worldIn, BlockPos pos)
worldIn.setBlockToAir(pos);
}

@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> list)
{
Expand Down

0 comments on commit 974887c

Please sign in to comment.