Available Methods
- AIR
- WATER
- DIRT
- LOG
- STONE
- GRASS
- SNOW_LAYER
- FARMLAND
- LEAVES
- tallgrass ( )
- netherrack ( )
- BEDROCK
- gold_ore ( )
- WEB
- STAINED_HARDENED_CLAY
- lava ( )
- vine ( )
- CHEST
- gold_block ( )
- cobblestone ( )
- ICE
- END_PORTAL
- emerald_block ( )
- stonebrick ( )
- fire ( )
- planks ( )
- lapis_block ( )
- trapped_chest ( )
- pumpkin ( )
- flowing_water ( )
- HOPPER
- SAND
- GRAVEL
- OBSIDIAN
- EMERALD_ORE
- hardened_clay ( )
- SAPLING
- LEAVES2 ( )
- FLOWING_LAVA
- LOG2 ( )
- end_stone ( )
- UNPOWERED_REPEATER
- bed ( )
- COAL_BLOCK
- CAKE
- LEVER
- quartz_ore ( )
- detector_rail ( )
- ender_chest ( )
- heavy_weighted_pressure_plate ( )
- DIAMOND_ORE
- iron_block ( )
- SNOW
- FURNACE
- STICKY_PISTON
- TORCH
- melon_block ( )
- wooden_door ( )
- LAPIS_ORE
- END_PORTAL_FRAME
- PISTON
- packed_ice ( )
- rail ( )
- MYCELIUM
- WOOL
- SOUL_SAND
Related Classes
- java.util.Arrays
- java.util.Random
- javax.annotation.Nullable
- javax.annotation.Nonnull
- net.minecraft.world.World
- net.minecraft.item.ItemStack
- net.minecraft.block.Block
- net.minecraft.client.Minecraft
- net.minecraft.item.Item
- net.minecraft.entity.Entity
- net.minecraft.entity.player.EntityPlayer
- net.minecraft.util.ResourceLocation
- net.minecraft.nbt.NBTTagCompound
- net.minecraft.tileentity.TileEntity
- net.minecraft.block.material.Material
- net.minecraft.entity.EntityLivingBase
- net.minecraft.init.Items
- net.minecraft.util.math.BlockPos
- net.minecraft.world.IBlockAccess
- net.minecraft.inventory.IInventory
- net.minecraftforge.fml.relauncher.Side
- net.minecraftforge.fml.common.eventhandler.SubscribeEvent
- net.minecraftforge.oredict.OreDictionary
- net.minecraft.util.EnumFacing
- net.minecraftforge.fml.relauncher.SideOnly
Java Code Examples for net.minecraft.init.Blocks#STAINED_HARDENED_CLAY
The following examples show how to use
net.minecraft.init.Blocks#STAINED_HARDENED_CLAY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MapGenTofuCaves.java From TofuCraftReload with MIT License | 6 votes |
protected boolean canReplaceBlock(IBlockState p_175793_1_, IBlockState p_175793_2_) { if (p_175793_1_.getBlock() == Blocks.STONE) { return true; } else if (p_175793_1_.getBlock() == Blocks.DIRT) { return true; } else if (p_175793_1_.getBlock() == Blocks.GRASS) { return true; } else if (p_175793_1_.getBlock() == Blocks.HARDENED_CLAY) { return true; } else if (p_175793_1_.getBlock() == Blocks.STAINED_HARDENED_CLAY) { return true; } else if (p_175793_1_.getBlock() == Blocks.SANDSTONE) { return true; } else if (p_175793_1_.getBlock() == Blocks.RED_SANDSTONE) { return true; } else if (p_175793_1_.getBlock() == Blocks.MYCELIUM) { return true; } else if (p_175793_1_.getBlock() == Blocks.SNOW_LAYER) { return true; } else { return (/*p_175793_1_.getBlock() == TcBlocks.tofuMinced || */p_175793_1_.getBlock() == Blocks.GRAVEL) && p_175793_2_.getMaterial() != Material.WATER; } }
Example 2
Source File: BlockTraverseDeadGrass.java From CommunityMod with GNU Lesser General Public License v2.1 | 4 votes |
public boolean canSustainBush(IBlockState state) { return state.getBlock() == getBlock("red_rock") || state.getBlock() == Blocks.SAND || state.getBlock() == Blocks.HARDENED_CLAY || state.getBlock() == Blocks.STAINED_HARDENED_CLAY; }
Example 3
Source File: BlockTraverseDeadGrass.java From Traverse-Legacy-1-12-2 with MIT License | 4 votes |
public boolean canSustainBush(IBlockState state) { return state.getBlock() == getBlock("red_rock") || state.getBlock() == Blocks.SAND || state.getBlock() == Blocks.HARDENED_CLAY || state.getBlock() == Blocks.STAINED_HARDENED_CLAY; }