[ci skip] spotlessApply with the new settings

This commit is contained in:
Jason Mitchell committed 2023-01-28 18:04:28 -08:00
1 parent 83698cb73c
commit 84c2239244
561 files changed
+8872 -9300

No files matched your search

@@ -1,6 +1,7 @@
package tconstruct.blocks;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
@@ -9,6 +10,7 @@ import net.minecraft.init.Blocks;
import net.minecraft.world.World;
public class BlockFalling extends Block {
public static boolean fallInstantly;
public BlockFalling() {
@@ -26,8 +28,8 @@ public class BlockFalling extends Block {
}
@Override
public void onNeighborBlockChange(
World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_, Block p_149695_5_) {
public void onNeighborBlockChange(World p_149695_1_, int p_149695_2_, int p_149695_3_, int p_149695_4_,
Block p_149695_5_) {
p_149695_1_.scheduleBlockUpdate(p_149695_2_, p_149695_3_, p_149695_4_, this, this.tickRate(p_149695_1_));
}
@@ -42,14 +44,13 @@ public class BlockFalling extends Block {
if (func_149831_e(p_149830_1_, p_149830_2_, p_149830_3_ - 1, p_149830_4_) && p_149830_3_ >= 0) {
byte b0 = 32;
if (!fallInstantly
&& p_149830_1_.checkChunksExist(
p_149830_2_ - b0,
p_149830_3_ - b0,
p_149830_4_ - b0,
p_149830_2_ + b0,
p_149830_3_ + b0,
p_149830_4_ + b0)) {
if (!fallInstantly && p_149830_1_.checkChunksExist(
p_149830_2_ - b0,
p_149830_3_ - b0,
p_149830_4_ - b0,
p_149830_2_ + b0,
p_149830_3_ + b0,
p_149830_4_ + b0)) {
// if (!p_149830_1_.isRemote) {
// EntityFallingBlock entityfallingblock = new
// EntityFallingBlock(p_149830_1_,
+9 -13
View File
@@ -1,8 +1,9 @@
package tconstruct.blocks;
import cpw.mods.fml.relauncher.*;
import java.util.List;
import mantle.blocks.MantleBlock;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
@@ -11,9 +12,12 @@ import net.minecraft.entity.Entity;
import net.minecraft.item.*;
import net.minecraft.util.*;
import net.minecraft.world.*;
import tconstruct.library.TConstructRegistry;
import cpw.mods.fml.relauncher.*;
public class SlabBase extends MantleBlock {
Block modelBlock;
int startingMeta;
int totalSize;
@@ -32,8 +36,8 @@ public class SlabBase extends MantleBlock {
}
@Override
public void addCollisionBoxesToList(
World world, int x, int y, int z, AxisAlignedBB axisalignedbb, List arraylist, Entity entity) {
public void addCollisionBoxesToList(World world, int x, int y, int z, AxisAlignedBB axisalignedbb, List arraylist,
Entity entity) {
setBlockBoundsBasedOnState(world, x, y, z);
super.addCollisionBoxesToList(world, x, y, z, axisalignedbb, arraylist, entity);
}
@@ -49,16 +53,8 @@ public class SlabBase extends MantleBlock {
setBlockBounds(0.0F, minY, 0F, 1.0F, maxY, 1.0F);
}
public int onBlockPlaced(
World par1World,
int blockX,
int blockY,
int blockZ,
int side,
float clickX,
float clickY,
float clickZ,
int metadata) {
public int onBlockPlaced(World par1World, int blockX, int blockY, int blockZ, int side, float clickX, float clickY,
float clickZ, int metadata) {
if (side == 1) return metadata;
if (side == 0 || clickY >= 0.5F) return metadata | 8;
@@ -1,16 +1,20 @@
package tconstruct.blocks;
import cpw.mods.fml.relauncher.*;
import java.util.List;
import mantle.blocks.MantleBlock;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.*;
import net.minecraft.util.IIcon;
import tconstruct.library.TConstructRegistry;
import cpw.mods.fml.relauncher.*;
public class TConstructBlock extends MantleBlock {
public String[] textureNames;
public IIcon[] icons;
@@ -1,7 +1,7 @@
package tconstruct.blocks.logic;
import cpw.mods.fml.relauncher.*;
import mantle.blocks.abstracts.InventoryLogic;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.item.ItemStack;
@@ -10,9 +10,12 @@ import net.minecraft.network.*;
import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;
import tconstruct.library.crafting.DryingRackRecipes;
import cpw.mods.fml.relauncher.*;
public class DryingRackLogic extends InventoryLogic {
int currentTime;
int maxTime;
@@ -1,19 +1,22 @@
package tconstruct.blocks.slime;
import cpw.mods.fml.relauncher.*;
import java.util.*;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.util.*;
import net.minecraft.world.World;
import net.minecraftforge.fluids.*;
import tconstruct.world.TinkerWorld;
import tconstruct.world.entity.BlueSlime;
import tconstruct.world.entity.KingBlueSlime;
import tconstruct.world.entity.SlimeBase;
import cpw.mods.fml.relauncher.*;
public class SlimeFluid extends BlockFluidClassic {
IIcon stillIcon;
IIcon flowIcon;
@@ -40,8 +43,7 @@ public class SlimeFluid extends BlockFluidClassic {
@Override
public void updateTick(World world, int x, int y, int z, Random rand) {
super.updateTick(world, x, y, z, rand);
if (rand.nextInt(100) == 0
&& world.getBlockMetadata(x, y, z) == 0
if (rand.nextInt(100) == 0 && world.getBlockMetadata(x, y, z) == 0
&& world.checkNoEntityCollision(
AxisAlignedBB.getBoundingBox(x - 1, y - 1, z - 1, x + 2, y + 2, z + 2))) {
SlimeBase slime;
@@ -1,7 +1,7 @@
package tconstruct.blocks.slime;
import cpw.mods.fml.relauncher.*;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
@@ -10,12 +10,15 @@ import net.minecraft.item.ItemStack;
import net.minecraft.potion.*;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;
import tconstruct.blocks.TConstructBlock;
import tconstruct.library.TConstructRegistry;
import cpw.mods.fml.relauncher.*;
public class SlimeGel extends TConstructBlock {
public SlimeGel() {
super(Material.sponge, 0.5f, new String[] {"slimeblock_blue", "slimeblock_green", "slimeblock_purple"});
super(Material.sponge, 0.5f, new String[] { "slimeblock_blue", "slimeblock_green", "slimeblock_purple" });
setCreativeTab(TConstructRegistry.blockTab);
}
@@ -1,8 +1,9 @@
package tconstruct.blocks.slime;
import cpw.mods.fml.relauncher.*;
import java.util.*;
import mantle.blocks.MantleBlock;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
@@ -13,14 +14,16 @@ import net.minecraft.util.IIcon;
import net.minecraft.world.*;
import net.minecraftforge.common.*;
import net.minecraftforge.common.util.ForgeDirection;
import tconstruct.library.TConstructRegistry;
import tconstruct.tools.TinkerTools;
import cpw.mods.fml.relauncher.*;
public class SlimeGrass extends MantleBlock {
public String[] textureNames = {
"slimegrass_green_top", "slimedirt_blue", "slimegrass_green_blue_side", "slimegrass_green_dirt_side"
}; // green,
// purple
public String[] textureNames = { "slimegrass_green_top", "slimedirt_blue", "slimegrass_green_blue_side",
"slimegrass_green_dirt_side" }; // green,
// purple
public IIcon[] icons;
public SlimeGrass() {
@@ -33,7 +36,7 @@ public class SlimeGrass extends MantleBlock {
@Override
public int damageDropped(int meta) {
if (meta == 1) // dirt
return 0;
return 0;
else
// slime dirt
return 5;
@@ -71,8 +74,8 @@ public class SlimeGrass extends MantleBlock {
}
@Override
public boolean canSustainPlant(
IBlockAccess world, int x, int y, int z, ForgeDirection direction, IPlantable plant) {
public boolean canSustainPlant(IBlockAccess world, int x, int y, int z, ForgeDirection direction,
IPlantable plant) {
EnumPlantType plantType = plant.getPlantType(world, x, y + 1, z);
return plantType == EnumPlantType.Plains && plant.getPlant(world, x, y + 1, z) != Blocks.tallgrass;
}
@@ -1,7 +1,7 @@
package tconstruct.blocks.slime;
import cpw.mods.fml.relauncher.*;
import java.util.*;
import net.minecraft.block.BlockLeaves;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.texture.IIconRegister;
@@ -9,12 +9,15 @@ import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.*;
import net.minecraft.util.IIcon;
import net.minecraft.world.*;
import tconstruct.library.TConstructRegistry;
import tconstruct.world.TinkerWorld;
import cpw.mods.fml.relauncher.*;
public class SlimeLeaves extends BlockLeaves {
private static final String[] fastLeaves = new String[] {"slimeleaves_blue_fast"};
private static final String[] fancyLeaves = new String[] {"slimeleaves_blue_fancy"};
private static final String[] fastLeaves = new String[] { "slimeleaves_blue_fast" };
private static final String[] fancyLeaves = new String[] { "slimeleaves_blue_fancy" };
@SideOnly(Side.CLIENT)
private IIcon[] fastIcons;
@@ -98,10 +101,9 @@ public class SlimeLeaves extends BlockLeaves {
if (!world.isRemote) {
int dropChance = 35;
/*if ((meta & 3) == 3)
{
j1 = 40;
}*/
/*
* if ((meta & 3) == 3) { j1 = 40; }
*/
if (fortune > 0) {
dropChance -= 2 << fortune;
@@ -134,6 +136,6 @@ public class SlimeLeaves extends BlockLeaves {
@Override
public String[] func_150125_e() {
return new String[] {"slime"};
return new String[] { "slime" };
}
}
@@ -1,7 +1,7 @@
package tconstruct.blocks.slime;
import cpw.mods.fml.relauncher.*;
import java.util.*;
import net.minecraft.block.*;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
@@ -11,14 +11,17 @@ import net.minecraft.item.*;
import net.minecraft.util.IIcon;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
import tconstruct.library.TConstructRegistry;
import tconstruct.tools.TinkerTools;
import tconstruct.world.TinkerWorld;
import tconstruct.world.gen.SlimeTreeGen;
import cpw.mods.fml.relauncher.*;
public class SlimeSapling extends BlockSapling {
public IIcon[] icons;
public String[] textureNames = new String[] {"blue"};
public String[] textureNames = new String[] { "blue" };
public SlimeSapling() {
super();
@@ -1,7 +1,7 @@
package tconstruct.blocks.slime;
import cpw.mods.fml.relauncher.*;
import java.util.*;
import net.minecraft.block.*;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
@@ -11,10 +11,13 @@ import net.minecraft.util.IIcon;
import net.minecraft.util.MathHelper;
import net.minecraft.world.*;
import net.minecraftforge.common.*;
import tconstruct.library.TConstructRegistry;
import cpw.mods.fml.relauncher.*;
public class SlimeTallGrass extends BlockBush implements IShearable {
private static final String[] grassTypes = new String[] {"slimegrass_blue_tall"};
private static final String[] grassTypes = new String[] { "slimegrass_blue_tall" };
@SideOnly(Side.CLIENT)
private IIcon[] iconArray;
@@ -44,8 +47,7 @@ public class SlimeTallGrass extends BlockBush implements IShearable {
}
/**
* Returns the usual quantity dropped by the block plus a bonus of 1 to 'i'
* (inclusive).
* Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive).
*/
@Override
public int quantityDroppedWithBonus(int par1, Random par2Random) {
@@ -1,7 +1,7 @@
package tconstruct.blocks.traps;
import cpw.mods.fml.relauncher.*;
import mantle.blocks.MantleBlock;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
@@ -10,10 +10,13 @@ import net.minecraft.init.Blocks;
import net.minecraft.item.*;
import net.minecraft.util.*;
import net.minecraft.world.*;
import tconstruct.library.TConstructRegistry;
import tconstruct.world.model.BarricadeRender;
import cpw.mods.fml.relauncher.*;
public class BarricadeBlock extends MantleBlock {
Block modelBlock;
int modelMeta;
@@ -68,8 +71,8 @@ public class BarricadeBlock extends MantleBlock {
}
@Override
public boolean onBlockActivated(
World world, int x, int y, int z, EntityPlayer player, int par6, float par7, float par8, float par9) {
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int par6, float par7,
float par8, float par9) {
ItemStack stack = player.getCurrentEquippedItem();
if ((stack != null) && (stack.getItem() == Item.getItemFromBlock(this)) && (!player.isSneaking())) {
int meta = world.getBlockMetadata(x, y, z);
@@ -1,11 +1,11 @@
package tconstruct.blocks.traps;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.List;
import java.util.Random;
import mantle.blocks.MantleBlock;
import mantle.world.WorldHelper;
import net.minecraft.block.Block;
import net.minecraft.block.BlockFence;
import net.minecraft.block.material.Material;
@@ -18,9 +18,13 @@ import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import tconstruct.library.TConstructRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class Landmine extends MantleBlock {
/** The mob type that can trigger this pressure plate. */
private final EnumCreatureType triggerMobType;
@@ -60,8 +64,8 @@ public class Landmine extends MantleBlock {
}
/**
* Returns a bounding box from the pool of bounding boxes (this means this
* box can change after the pool has been cleared to be reused)
* Returns a bounding box from the pool of bounding boxes (this means this box can change after the pool has been
* cleared to be reused)
*/
@Override
public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4) {
@@ -69,9 +73,8 @@ public class Landmine extends MantleBlock {
}
/**
* Is this block (a) opaque and (b) a full 1m cube? This determines whether
* or not to render the shared face of two adjacent blocks and also whether
* the player can attach torches, redstone wire, etc to this block.
* Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two
* adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.
*/
@Override
public boolean isOpaqueCube() {
@@ -79,8 +82,7 @@ public class Landmine extends MantleBlock {
}
/**
* If this block doesn't render as an ordinary block it will return False
* (examples: signs, buttons, stairs, etc)
* If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
*/
@Override
public boolean renderAsNormalBlock() {
@@ -93,8 +95,7 @@ public class Landmine extends MantleBlock {
}
/**
* Checks to see if its valid to put this block at the specified
* coordinates. Args: world, x, y, z
* Checks to see if its valid to put this block at the specified coordinates. Args: world, x, y, z
*/
@Override
public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) {
@@ -103,9 +104,8 @@ public class Landmine extends MantleBlock {
}
/**
* Lets the block know when one of its neighbor changes. Doesn't know which
* neighbor changed (coordinates passed are their own) Args: x, y, z,
* neighbor blockID
* Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are
* their own) Args: x, y, z, neighbor blockID
*/
public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, Block par5) {
boolean var6 = !World.doesBlockHaveSolidTopSurface(par1World, par2, par3 - 1, par4)
@@ -130,8 +130,7 @@ public class Landmine extends MantleBlock {
}
/**
* Triggered whenever an entity collides with this block (enters into the
* block). Args: world, x, y, z, entity
* Triggered whenever an entity collides with this block (enters into the block). Args: world, x, y, z, entity
*/
@Override
public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity) {
@@ -143,8 +142,7 @@ public class Landmine extends MantleBlock {
}
/**
* Checks if there are mobs on the plate. If a mob is on the plate and it is
* off, it turns it on, and vice versa.
* Checks if there are mobs on the plate. If a mob is on the plate and it is off, it turns it on, and vice versa.
*/
private void setStateIfMobInteractsWithPlate(World world, int posX, int posY, int posZ) {
boolean var5 = world.getBlockMetadata(posX, posY, posZ) == 1;
@@ -177,11 +175,9 @@ public class Landmine extends MantleBlock {
}
/*
* if (this.triggerMobType == EnumCreatureType.players) { var8 =
* world.getEntitiesWithinAABB( EntityPlayer.class,
* AxisAlignedBB.getBoundingBox((double) ((float) posX + var7),
* (double) posY, (double) ((float) posZ + var7), (double) ((float)
* (posX + 1) - var7), (double) posY + 0.25D, (double) ((float) (posZ +
* if (this.triggerMobType == EnumCreatureType.players) { var8 = world.getEntitiesWithinAABB(
* EntityPlayer.class, AxisAlignedBB.getBoundingBox((double) ((float) posX + var7), (double) posY, (double)
* ((float) posZ + var7), (double) ((float) (posX + 1) - var7), (double) posY + 0.25D, (double) ((float) (posZ +
* 1) - var7))); }
*/
@@ -198,34 +194,25 @@ public class Landmine extends MantleBlock {
WorldHelper.setBlockToAir(world, posX, posY, posZ);
world.createExplosion(null, posX, posY, posZ, 2.0F, true);
/*
* par1World.setBlockMetadataWithNotify(posX, posY, posZ, 1);
* par1World.notifyBlocksOfNeighborChange(posX, posY, posZ,
* this.blockID); par1World.notifyBlocksOfNeighborChange(posX, posY
* - 1, posZ, this.blockID);
* par1World.func_147479_m(posX, posY, posZ, posX,
* posY, posZ); par1World.playSoundEffect((double)posX + 0.5D,
* (double)posY + 0.1D, (double)posZ + 0.5D, "random.click", 0.3F,
* 0.6F);
* par1World.setBlockMetadataWithNotify(posX, posY, posZ, 1); par1World.notifyBlocksOfNeighborChange(posX,
* posY, posZ, this.blockID); par1World.notifyBlocksOfNeighborChange(posX, posY - 1, posZ, this.blockID);
* par1World.func_147479_m(posX, posY, posZ, posX, posY, posZ); par1World.playSoundEffect((double)posX +
* 0.5D, (double)posY + 0.1D, (double)posZ + 0.5D, "random.click", 0.3F, 0.6F);
*/
}
/*
* if (!var6 && var5) { par1World.setBlockMetadataWithNotify(posX, posY,
* posZ, 0); par1World.notifyBlocksOfNeighborChange(posX, posY, posZ,
* this.blockID); par1World.notifyBlocksOfNeighborChange(posX, posY - 1,
* posZ, this.blockID); par1World.func_147479_m(posX,
* posY, posZ, posX, posY, posZ); par1World.playSoundEffect((double)posX
* + 0.5D, (double)posY + 0.1D, (double)posZ + 0.5D, "random.click",
* 0.3F, 0.5F); }
*
* if (var6) { par1World.scheduleBlockUpdate(posX, posY, posZ,
* this.blockID, this.tickRate()); }
* if (!var6 && var5) { par1World.setBlockMetadataWithNotify(posX, posY, posZ, 0);
* par1World.notifyBlocksOfNeighborChange(posX, posY, posZ, this.blockID);
* par1World.notifyBlocksOfNeighborChange(posX, posY - 1, posZ, this.blockID); par1World.func_147479_m(posX,
* posY, posZ, posX, posY, posZ); par1World.playSoundEffect((double)posX + 0.5D, (double)posY + 0.1D,
* (double)posZ + 0.5D, "random.click", 0.3F, 0.5F); } if (var6) { par1World.scheduleBlockUpdate(posX, posY,
* posZ, this.blockID, this.tickRate()); }
*/
}
/**
* ejects contained items into the world, and notifies neighbours of an
* update, as appropriate
* ejects contained items into the world, and notifies neighbours of an update, as appropriate
*/
@Override
public void breakBlock(World par1World, int par2, int par3, int par4, Block par5, int par6) {
@@ -238,8 +225,7 @@ public class Landmine extends MantleBlock {
}
/**
* Updates the blocks bounds based on its current state. Args: world, x, y,
* z
* Updates the blocks bounds based on its current state. Args: world, x, y, z
*/
@Override
public void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) {
@@ -265,8 +251,8 @@ public class Landmine extends MantleBlock {
}
/**
* Returns the mobility information of the block, 0 = free, 1 = can't push
* but can move over, 2 = total immobility and stop pistons
* Returns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility
* and stop pistons
*/
@Override
public int getMobilityFlag() {
@@ -1,8 +1,9 @@
package tconstruct.blocks.traps;
import cpw.mods.fml.relauncher.*;
import java.util.Random;
import mantle.blocks.MantleBlock;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
@@ -12,9 +13,11 @@ import net.minecraft.item.*;
import net.minecraft.potion.*;
import net.minecraft.util.DamageSource;
import net.minecraft.world.*;
import tconstruct.library.TConstructRegistry;
import tconstruct.world.TinkerWorld;
import tconstruct.world.model.PunjiRender;
import cpw.mods.fml.relauncher.*;
public class Punji extends MantleBlock {
@@ -38,8 +41,8 @@ public class Punji extends MantleBlock {
/* Right-click adds sticks */
@Override
public boolean onBlockActivated(
World world, int x, int y, int z, EntityPlayer player, int par6, float hitX, float hitY, float hitZ) {
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int par6, float hitX,
float hitY, float hitZ) {
/*
* if (world.isRemote) return false;
*/
@@ -72,9 +75,8 @@ public class Punji extends MantleBlock {
}
/**
* Is this block (a) opaque and (b) a full 1m cube? This determines whether
* or not to render the shared face of two adjacent blocks and also whether
* the player can attach torches, redstone wire, etc to this block.
* Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two
* adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.
*/
@Override
public boolean isOpaqueCube() {
@@ -82,8 +84,7 @@ public class Punji extends MantleBlock {
}
/**
* If this block doesn't render as an ordinary block it will return False
* (examples: signs, buttons, stairs, etc)
* If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
*/
@Override
public boolean renderAsNormalBlock() {