public class MCBlockProperties
extends java.lang.Object
implements crafttweaker.api.block.IBlockProperties
| Constructor and Description |
|---|
MCBlockProperties(net.minecraft.block.state.IBlockProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEntitySpawn(crafttweaker.api.entity.IEntity entity) |
boolean |
canProvidePower() |
boolean |
causesSuffocation() |
boolean |
doesSideBlockRendering(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IFacing facing) |
boolean |
equals(java.lang.Object o) |
crafttweaker.api.block.IBlockState |
getActualState(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos) |
float |
getBlockHardness(crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos pos) |
int |
getComparatorInputOverride(crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos blockPos) |
java.lang.Object |
getInternal() |
int |
getLightOpacity(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos) |
int |
getLightValue(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos blockPos) |
crafttweaker.api.block.IMaterial |
getMaterial() |
crafttweaker.api.block.IMobilityFlag |
getMobilityFlag() |
float |
getPlayerRelativeBlockHardness(crafttweaker.api.player.IPlayer player,
crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos pos) |
int |
getStrongPower(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IFacing facing) |
int |
getWeakPower(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos blockPos,
crafttweaker.api.world.IFacing facing) |
boolean |
hasCustomBreakingProgress() |
int |
hashCode() |
boolean |
isBlockNormalCube() |
boolean |
isFullBlock() |
boolean |
isFullCube() |
boolean |
isNormalCube() |
boolean |
isOpaqueCube() |
boolean |
isSideSolid(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IFacing facing) |
boolean |
useNeighborBrightness() |
public MCBlockProperties(net.minecraft.block.state.IBlockProperties properties)
public int getLightValue(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos blockPos)
getLightValue in interface crafttweaker.api.block.IBlockPropertiespublic boolean canProvidePower()
canProvidePower in interface crafttweaker.api.block.IBlockPropertiespublic int getWeakPower(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos blockPos,
crafttweaker.api.world.IFacing facing)
getWeakPower in interface crafttweaker.api.block.IBlockPropertiespublic int getComparatorInputOverride(crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos blockPos)
getComparatorInputOverride in interface crafttweaker.api.block.IBlockPropertiespublic crafttweaker.api.block.IMobilityFlag getMobilityFlag()
getMobilityFlag in interface crafttweaker.api.block.IBlockPropertiespublic java.lang.Object getInternal()
getInternal in interface crafttweaker.api.block.IBlockPropertiespublic crafttweaker.api.block.IMaterial getMaterial()
getMaterial in interface crafttweaker.api.block.IBlockPropertiespublic boolean canEntitySpawn(crafttweaker.api.entity.IEntity entity)
canEntitySpawn in interface crafttweaker.api.block.IBlockPropertiespublic boolean causesSuffocation()
causesSuffocation in interface crafttweaker.api.block.IBlockPropertiespublic boolean doesSideBlockRendering(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IFacing facing)
doesSideBlockRendering in interface crafttweaker.api.block.IBlockPropertiespublic crafttweaker.api.block.IBlockState getActualState(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos)
getActualState in interface crafttweaker.api.block.IBlockPropertiespublic float getBlockHardness(crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos pos)
getBlockHardness in interface crafttweaker.api.block.IBlockPropertiespublic int getLightOpacity(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos)
getLightOpacity in interface crafttweaker.api.block.IBlockPropertiespublic float getPlayerRelativeBlockHardness(crafttweaker.api.player.IPlayer player,
crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos pos)
getPlayerRelativeBlockHardness in interface crafttweaker.api.block.IBlockPropertiespublic int getStrongPower(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IFacing facing)
getStrongPower in interface crafttweaker.api.block.IBlockPropertiespublic boolean hasCustomBreakingProgress()
hasCustomBreakingProgress in interface crafttweaker.api.block.IBlockPropertiespublic boolean isBlockNormalCube()
isBlockNormalCube in interface crafttweaker.api.block.IBlockPropertiespublic boolean isFullBlock()
isFullBlock in interface crafttweaker.api.block.IBlockPropertiespublic boolean isFullCube()
isFullCube in interface crafttweaker.api.block.IBlockPropertiespublic boolean isNormalCube()
isNormalCube in interface crafttweaker.api.block.IBlockPropertiespublic boolean isOpaqueCube()
isOpaqueCube in interface crafttweaker.api.block.IBlockPropertiespublic boolean isSideSolid(crafttweaker.api.world.IBlockAccess access,
crafttweaker.api.world.IBlockPos pos,
crafttweaker.api.world.IFacing facing)
isSideSolid in interface crafttweaker.api.block.IBlockPropertiespublic boolean useNeighborBrightness()
useNeighborBrightness in interface crafttweaker.api.block.IBlockPropertiespublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object