public class BlockStairsFieldBasedStateImplementation
extends net.minecraft.block.state.BlockStateContainer.StateImplementation
| Constructor and Description |
|---|
BlockStairsFieldBasedStateImplementation(net.minecraft.block.Block blockIn,
com.google.common.collect.ImmutableMap<net.minecraft.block.properties.IProperty<?>,java.lang.Comparable<?>> propertiesIn,
net.minecraft.block.state.IBlockState[] propertyValueArrayIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollisionBoxToList(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.AxisAlignedBB entityBox,
java.util.List<net.minecraft.util.math.AxisAlignedBB> collidingBoxes,
net.minecraft.entity.Entity entityIn,
boolean isActualState) |
<T extends java.lang.Comparable<T>> |
getValue(net.minecraft.block.properties.IProperty<T> property) |
<T extends java.lang.Comparable<T>,V extends T> |
withProperty(net.minecraft.block.properties.IProperty<T> property,
V value) |
buildPropertyValueTable, canEntitySpawn, canProvidePower, causesSuffocation, collisionRayTrace, doesSideBlockChestOpening, doesSideBlockRendering, equals, getActualState, getAmbientOcclusionLightValue, getBlock, getBlockFaceShape, getBlockHardness, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getMapColor, getMaterial, getOffset, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getProperties, getPropertyKeys, getPropertyValueTable, getPushReaction, getRenderType, getSelectedBoundingBox, getStrongPower, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hashCode, isBlockNormalCube, isFullBlock, isFullCube, isNormalCube, isOpaqueCube, isSideSolid, isTopSolid, isTranslucent, neighborChanged, onBlockEventReceived, shouldSideBeRendered, useNeighborBrightness, withMirror, withRotationpublic BlockStairsFieldBasedStateImplementation(net.minecraft.block.Block blockIn,
com.google.common.collect.ImmutableMap<net.minecraft.block.properties.IProperty<?>,java.lang.Comparable<?>> propertiesIn,
net.minecraft.block.state.IBlockState[] propertyValueArrayIn)
public <T extends java.lang.Comparable<T>> T getValue(net.minecraft.block.properties.IProperty<T> property)
getValue in interface net.minecraft.block.state.IBlockStategetValue in class net.minecraft.block.state.BlockStateContainer.StateImplementationpublic <T extends java.lang.Comparable<T>,V extends T> net.minecraft.block.state.IBlockState withProperty(net.minecraft.block.properties.IProperty<T> property,
V value)
withProperty in interface net.minecraft.block.state.IBlockStatewithProperty in class net.minecraft.block.state.BlockStateContainer.StateImplementationpublic void addCollisionBoxToList(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.AxisAlignedBB entityBox,
java.util.List<net.minecraft.util.math.AxisAlignedBB> collidingBoxes,
@Nullable
net.minecraft.entity.Entity entityIn,
boolean isActualState)
addCollisionBoxToList in interface net.minecraft.block.state.IBlockPropertiesaddCollisionBoxToList in class net.minecraft.block.state.BlockStateContainer.StateImplementation