public class ReinforcedGlassPaneBlock
extends net.minecraft.block.Block
| Modifier and Type | Field and Description |
|---|---|
protected static net.minecraft.util.math.AxisAlignedBB[] |
AABB_BY_INDEX |
static net.minecraft.block.properties.PropertyBool |
BLOCK_EAST |
static net.minecraft.block.properties.PropertyBool |
BLOCK_NORTH |
static net.minecraft.block.properties.PropertyBool |
BLOCK_SOUTH |
static net.minecraft.block.properties.PropertyBool |
BLOCK_WEST |
static net.minecraft.block.properties.PropertyBool |
DOWN |
static net.minecraft.block.properties.PropertyBool |
EAST |
static net.minecraft.block.properties.PropertyBool |
NORTH |
static net.minecraft.block.properties.PropertyBool |
SOUTH |
static net.minecraft.block.properties.PropertyBool |
UP |
static net.minecraft.block.properties.PropertyBool |
WEST |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Modifier | Constructor and Description |
|---|---|
protected |
ReinforcedGlassPaneBlock() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollisionBoxToList(net.minecraft.block.state.IBlockState state,
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) |
boolean |
attachesTo(net.minecraft.world.IBlockAccess p_193393_1_,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing) |
boolean |
canBeConnectedTo(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing) |
boolean |
canPaneConnectToBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir) |
boolean |
canPaneConnectToPane(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir) |
boolean |
canPaneConnectToPaneDOWN(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir) |
boolean |
canPaneConnectToPaneUP(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir) |
protected boolean |
canSilkHarvest() |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
net.minecraft.block.state.IBlockState |
getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos)
Get the actual Block state of this Block at the given position.
|
net.minecraft.block.state.BlockFaceShape |
getBlockFaceShape(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
Get the geometry of the queried face at the given position and state.
|
net.minecraft.util.BlockRenderLayer |
getBlockLayer()
Gets the render layer this block will render on.
|
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune)
Get the Item that this Block should drop when harvested.
|
int |
getMetaFromState(net.minecraft.block.state.IBlockState state)
Convert the BlockState into the correct metadata value
|
protected static boolean |
isExcepBlockForAttachWithPiston(net.minecraft.block.Block p_193394_0_) |
boolean |
isFullCube(net.minecraft.block.state.IBlockState state) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state)
Used to determine ambient occlusion and culling when rebuilding chunks for
render
|
boolean |
shouldSideBeRendered(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess blockAccess,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
net.minecraft.block.state.IBlockState |
withMirror(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Mirror mirrorIn)
Returns the blockstate with the given mirror of the passed blockstate.
|
net.minecraft.block.state.IBlockState |
withRotation(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Rotation rot)
Returns the blockstate with the given rotation from the passed blockstate.
|
addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateFromMeta, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, tickRate, toString, updateTickpublic static final net.minecraft.block.properties.PropertyBool BLOCK_NORTH
public static final net.minecraft.block.properties.PropertyBool BLOCK_EAST
public static final net.minecraft.block.properties.PropertyBool BLOCK_SOUTH
public static final net.minecraft.block.properties.PropertyBool BLOCK_WEST
public static final net.minecraft.block.properties.PropertyBool NORTH
public static final net.minecraft.block.properties.PropertyBool EAST
public static final net.minecraft.block.properties.PropertyBool SOUTH
public static final net.minecraft.block.properties.PropertyBool WEST
public static final net.minecraft.block.properties.PropertyBool UP
public static final net.minecraft.block.properties.PropertyBool DOWN
protected static final net.minecraft.util.math.AxisAlignedBB[] AABB_BY_INDEX
public void addCollisionBoxToList(net.minecraft.block.state.IBlockState state,
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 class net.minecraft.block.Blockpublic net.minecraft.util.math.AxisAlignedBB getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos)
getBoundingBox in class net.minecraft.block.Blockpublic net.minecraft.block.state.IBlockState getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos)
getActualState in class net.minecraft.block.Blockpublic net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune)
getItemDropped in class net.minecraft.block.Blockpublic boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube in class net.minecraft.block.Blockpublic boolean isFullCube(net.minecraft.block.state.IBlockState state)
isFullCube in class net.minecraft.block.Blockpublic boolean shouldSideBeRendered(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess blockAccess,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
shouldSideBeRendered in class net.minecraft.block.Blockpublic final boolean attachesTo(net.minecraft.world.IBlockAccess p_193393_1_,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing)
protected static boolean isExcepBlockForAttachWithPiston(net.minecraft.block.Block p_193394_0_)
protected boolean canSilkHarvest()
canSilkHarvest in class net.minecraft.block.Blockpublic net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Blockpublic int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class net.minecraft.block.Blockpublic net.minecraft.block.state.IBlockState withRotation(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Rotation rot)
withRotation in class net.minecraft.block.Blockpublic net.minecraft.block.state.IBlockState withMirror(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Mirror mirrorIn)
withMirror in class net.minecraft.block.Blockprotected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic boolean canBeConnectedTo(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing)
canBeConnectedTo in class net.minecraft.block.Blockpublic boolean canPaneConnectToPane(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir)
public boolean canPaneConnectToPaneUP(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir)
public boolean canPaneConnectToPaneDOWN(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir)
public boolean canPaneConnectToBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir)
public net.minecraft.block.state.BlockFaceShape getBlockFaceShape(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
Common values are SOLID, which is the default, and UNDEFINED,
which represents something that does not fit the other descriptions and will
generally cause other things not to connect to the face.
getBlockFaceShape in class net.minecraft.block.Block