Modifier and Type | Field and Description |
---|---|
protected Material |
Block.blockMaterial |
Modifier and Type | Method and Description |
---|---|
Material |
Block.getMaterial(IBlockState state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
float |
BlockLiquid.getBlockLiquidHeight(World world,
BlockPos pos,
IBlockState state,
Material material) |
float |
Block.getBlockLiquidHeight(World world,
BlockPos pos,
IBlockState state,
Material material)
Called when entities are swimming in the given liquid and returns the relative height (used by
EntityBoat ) |
static BlockDynamicLiquid |
BlockLiquid.getFlowingBlock(Material materialIn) |
static float |
BlockLiquid.getSlopeAngle(IBlockAccess worldIn,
BlockPos pos,
Material materialIn,
IBlockState state) |
static BlockStaticLiquid |
BlockLiquid.getStaticBlock(Material materialIn) |
java.lang.Boolean |
Block.isAABBInsideMaterial(World world,
BlockPos pos,
AxisAlignedBB boundingBox,
Material materialIn)
Called when boats or fishing hooks are inside the block to check if they are inside
the material requested.
|
java.lang.Boolean |
Block.isEntityInsideMaterial(IBlockAccess world,
BlockPos blockpos,
IBlockState iblockstate,
Entity entity,
double yToTest,
Material materialIn,
boolean testingHead)
Called when the entity is inside this block, may be used to determined if the entity can breathing,
display material overlays, or if the entity can swim inside a block.
|
Modifier and Type | Class and Description |
---|---|
class |
MaterialLiquid |
class |
MaterialLogic |
class |
MaterialPortal |
class |
MaterialTransparent |
Modifier and Type | Field and Description |
---|---|
static Material |
Material.AIR |
static Material |
Material.ANVIL |
static Material |
Material.BARRIER |
static Material |
Material.CACTUS |
static Material |
Material.CAKE |
static Material |
Material.CARPET |
static Material |
Material.CIRCUITS |
static Material |
Material.CLAY |
static Material |
Material.CLOTH |
static Material |
Material.CORAL |
static Material |
Material.CRAFTED_SNOW |
static Material |
Material.DRAGON_EGG |
static Material |
Material.FIRE |
static Material |
Material.GLASS |
static Material |
Material.GOURD |
static Material |
Material.GRASS |
static Material |
Material.GROUND |
static Material |
Material.ICE |
static Material |
Material.IRON |
static Material |
Material.LAVA |
static Material |
Material.LEAVES |
static Material |
Material.PACKED_ICE |
static Material |
Material.PISTON |
static Material |
Material.PLANTS |
static Material |
Material.PORTAL |
static Material |
Material.REDSTONE_LIGHT |
static Material |
Material.ROCK |
static Material |
Material.SAND |
static Material |
Material.SNOW |
static Material |
Material.SPONGE |
static Material |
Material.STRUCTURE_VOID |
static Material |
Material.TNT |
static Material |
Material.VINE |
static Material |
Material.WATER |
static Material |
Material.WEB |
static Material |
Material.WOOD |
Modifier and Type | Method and Description |
---|---|
protected Material |
Material.setAdventureModeExempt() |
protected Material |
Material.setBurning() |
protected Material |
Material.setImmovableMobility() |
protected Material |
Material.setNoPushMobility() |
Material |
Material.setReplaceable() |
protected Material |
Material.setRequiresTool() |
private Material |
Material.setTranslucent() |
Modifier and Type | Method and Description |
---|---|
Material |
BlockStateContainer.StateImplementation.getMaterial() |
Material |
IBlockProperties.getMaterial() |
Modifier and Type | Field and Description |
---|---|
private Material |
BlockMaterialMatcher.material |
Modifier and Type | Method and Description |
---|---|
static BlockMaterialMatcher |
BlockMaterialMatcher.forMaterial(Material materialIn) |
Constructor and Description |
---|
BlockMaterialMatcher(Material materialIn) |
Modifier and Type | Field and Description |
---|---|
private Material |
ParticleDrip.materialType |
Constructor and Description |
---|
ParticleDrip(World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
Material p_i1203_8_) |
Modifier and Type | Method and Description |
---|---|
private float |
BlockFluidRenderer.getFluidHeight(IBlockAccess blockAccess,
BlockPos blockPosIn,
Material blockMaterial) |
Modifier and Type | Field and Description |
---|---|
private Material |
EnumCreatureType.creatureMaterial |
Modifier and Type | Method and Description |
---|---|
boolean |
Entity.isInsideOfMaterial(Material materialIn) |
Constructor and Description |
---|
EnumCreatureType(java.lang.Class<? extends IAnimals> creatureClassIn,
int maxNumberOfCreatureIn,
Material creatureMaterialIn,
boolean isPeacefulCreatureIn,
boolean isAnimalIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
World.handleMaterialAcceleration(AxisAlignedBB bb,
Material materialIn,
Entity entityIn) |
boolean |
World.isMaterialInBB(AxisAlignedBB bb,
Material materialIn) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.isInsideOfMaterial(Material material,
Entity entity,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
static EnumCreatureType |
EnumHelper.addCreatureType(java.lang.String name,
java.lang.Class<? extends IAnimals> typeClass,
int maxNumber,
Material material,
boolean peaceful,
boolean animal) |
Modifier and Type | Method and Description |
---|---|
float |
BlockFluidBase.getBlockLiquidHeight(World world,
BlockPos pos,
IBlockState state,
Material material) |
Constructor and Description |
---|
BlockFluidBase(Fluid fluid,
Material material) |
BlockFluidBase(Fluid fluid,
Material material,
MapColor mapColor) |
BlockFluidClassic(Fluid fluid,
Material material) |
BlockFluidClassic(Fluid fluid,
Material material,
MapColor mapColor) |
BlockFluidFinite(Fluid fluid,
Material material) |
BlockFluidFinite(Fluid fluid,
Material material,
MapColor mapColor) |