public class BlockBCBase_Neptune
extends net.minecraft.block.Block
Modifier and Type | Field and Description |
---|---|
static net.minecraft.block.properties.IProperty<net.minecraft.util.EnumFacing> |
BLOCK_FACING_6 |
java.lang.String |
id
The tag used to identify this in the
TagManager . |
static net.minecraft.block.properties.IProperty<net.minecraft.util.EnumFacing> |
PROP_FACING |
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
Constructor and Description |
---|
BlockBCBase_Neptune(net.minecraft.block.material.Material material,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
protected void |
addProperties(java.util.List<net.minecraft.block.properties.IProperty<?>> properties) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.block.state.IBlockState |
getStateForPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ,
int meta,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.util.EnumHand hand) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
static boolean |
isExceptBlockForAttachWithPiston(net.minecraft.block.Block attachBlock) |
boolean |
rotateBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing axis) |
net.minecraft.block.state.IBlockState |
withMirror(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Mirror mirror) |
net.minecraft.block.state.IBlockState |
withRotation(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Rotation rot) |
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, breakBlock, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullCube, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, 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, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick
public static final net.minecraft.block.properties.IProperty<net.minecraft.util.EnumFacing> PROP_FACING
public static final net.minecraft.block.properties.IProperty<net.minecraft.util.EnumFacing> BLOCK_FACING_6
public final java.lang.String id
TagManager
. Note that this may be empty if this block doesn't use
the tag system.public BlockBCBase_Neptune(net.minecraft.block.material.Material material, java.lang.String id)
id
- The ID that will be looked up in the TagManager
when registering blocks. Pass null or the
empty string to bypass the TagManager
entirely.protected void addProperties(java.util.List<net.minecraft.block.properties.IProperty<?>> properties)
protected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState
in class net.minecraft.block.Block
public int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState
in class net.minecraft.block.Block
public net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta
in class net.minecraft.block.Block
public net.minecraft.block.state.IBlockState withRotation(net.minecraft.block.state.IBlockState state, net.minecraft.util.Rotation rot)
withRotation
in class net.minecraft.block.Block
public net.minecraft.block.state.IBlockState withMirror(net.minecraft.block.state.IBlockState state, net.minecraft.util.Mirror mirror)
withMirror
in class net.minecraft.block.Block
public net.minecraft.block.state.IBlockState getStateForPlacement(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing facing, float hitX, float hitY, float hitZ, int meta, net.minecraft.entity.EntityLivingBase placer, net.minecraft.util.EnumHand hand)
getStateForPlacement
in class net.minecraft.block.Block
public boolean rotateBlock(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing axis)
rotateBlock
in class net.minecraft.block.Block
public static boolean isExceptBlockForAttachWithPiston(net.minecraft.block.Block attachBlock)