public class MCBlockState extends MCBlockProperties implements crafttweaker.api.block.IBlockState
| Constructor and Description |
|---|
MCBlockState(net.minecraft.block.state.IBlockState blockState) |
| Modifier and Type | Method and Description |
|---|---|
crafttweaker.api.block.IBlockStateMatcher |
allowValuesForProperty(java.lang.String name,
java.lang.String... values) |
int |
compare(crafttweaker.api.block.IBlockState other) |
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getAllowedValuesForProperty(java.lang.String name) |
crafttweaker.api.block.IBlock |
getBlock() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getMatchedProperties() |
java.util.List<java.lang.String> |
getMatchedValuesForProperty(java.lang.String name) |
java.util.Collection<crafttweaker.api.block.IBlockState> |
getMatchingBlockStates() |
int |
getMeta() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
java.util.List<java.lang.String> |
getPropertyNames() |
java.lang.String |
getPropertyValue(java.lang.String name) |
int |
hashCode() |
boolean |
isCompound() |
boolean |
isReplaceable(crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos blockPos) |
crafttweaker.api.block.IBlockStateMatcher |
matchBlock() |
boolean |
matches(crafttweaker.api.block.IBlockState other) |
crafttweaker.api.block.IBlockStateMatcher |
or(crafttweaker.api.block.IBlockStateMatcher matcher) |
java.lang.String |
toCommandString() |
java.lang.String |
toString() |
crafttweaker.api.block.IBlockStateMatcher |
withMatchedValuesForProperty(java.lang.String name,
java.lang.String... values) |
crafttweaker.api.block.IBlockState |
withProperty(java.lang.String name,
java.lang.String value) |
canEntitySpawn, canProvidePower, causesSuffocation, doesSideBlockRendering, getActualState, getBlockHardness, getComparatorInputOverride, getInternal, getLightOpacity, getLightValue, getMaterial, getMobilityFlag, getPlayerRelativeBlockHardness, getStrongPower, getWeakPower, hasCustomBreakingProgress, isBlockNormalCube, isFullBlock, isFullCube, isNormalCube, isOpaqueCube, isSideSolid, useNeighborBrightnessclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanEntitySpawn, canProvidePower, causesSuffocation, doesSideBlockRendering, getActualState, getBlockHardness, getComparatorInputOverride, getInternal, getLightOpacity, getLightValue, getMaterial, getMobilityFlag, getPlayerRelativeBlockHardness, getStrongPower, getWeakPower, hasCustomBreakingProgress, isBlockNormalCube, isFullBlock, isFullCube, isNormalCube, isOpaqueCube, isSideSolid, useNeighborBrightnesspublic MCBlockState(net.minecraft.block.state.IBlockState blockState)
public crafttweaker.api.block.IBlock getBlock()
getBlock in interface crafttweaker.api.block.IBlockStatepublic int getMeta()
getMeta in interface crafttweaker.api.block.IBlockStatepublic boolean isReplaceable(crafttweaker.api.world.IWorld world,
crafttweaker.api.world.IBlockPos blockPos)
isReplaceable in interface crafttweaker.api.block.IBlockStatepublic int compare(crafttweaker.api.block.IBlockState other)
compare in interface crafttweaker.api.block.IBlockStatepublic crafttweaker.api.block.IBlockState withProperty(java.lang.String name,
java.lang.String value)
withProperty in interface crafttweaker.api.block.IBlockStatepublic java.util.List<java.lang.String> getPropertyNames()
getPropertyNames in interface crafttweaker.api.block.IBlockStatepublic java.lang.String getPropertyValue(java.lang.String name)
getPropertyValue in interface crafttweaker.api.block.IBlockStatepublic java.util.List<java.lang.String> getAllowedValuesForProperty(java.lang.String name)
getAllowedValuesForProperty in interface crafttweaker.api.block.IBlockStatepublic java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in interface crafttweaker.api.block.IBlockStatepublic crafttweaker.api.block.IBlockStateMatcher matchBlock()
matchBlock in interface crafttweaker.api.block.IBlockStatepublic boolean matches(crafttweaker.api.block.IBlockState other)
matches in interface crafttweaker.api.block.IBlockStateMatcherpublic crafttweaker.api.block.IBlockStateMatcher or(crafttweaker.api.block.IBlockStateMatcher matcher)
or in interface crafttweaker.api.block.IBlockStateMatcherpublic java.util.Collection<crafttweaker.api.block.IBlockState> getMatchingBlockStates()
getMatchingBlockStates in interface crafttweaker.api.block.IBlockStateMatcherpublic crafttweaker.api.block.IBlockStateMatcher allowValuesForProperty(java.lang.String name,
java.lang.String... values)
allowValuesForProperty in interface crafttweaker.api.block.IBlockStateMatcherpublic crafttweaker.api.block.IBlockStateMatcher withMatchedValuesForProperty(java.lang.String name,
java.lang.String... values)
withMatchedValuesForProperty in interface crafttweaker.api.block.IBlockStateMatcherpublic java.util.List<java.lang.String> getMatchedValuesForProperty(java.lang.String name)
getMatchedValuesForProperty in interface crafttweaker.api.block.IBlockStateMatcherpublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMatchedProperties()
getMatchedProperties in interface crafttweaker.api.block.IBlockStateMatcherpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isCompound()
isCompound in interface crafttweaker.api.block.IBlockStateMatcherpublic java.lang.String toCommandString()
toCommandString in interface crafttweaker.api.block.IBlockStateMatcherpublic boolean equals(java.lang.Object o)
equals in class MCBlockPropertiespublic int hashCode()
hashCode in class MCBlockProperties