public abstract class BlockMarkerBase extends BlockBCTile_Neptune implements ICustomRotationHandler
BLOCK_FACING_6, id, PROP_FACING
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness
Constructor and Description |
---|
BlockMarkerBase(net.minecraft.block.material.Material material,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.EnumActionResult |
attemptRotation(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.EnumFacing sideWrenched) |
boolean |
canPlaceBlockOnSide(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
net.minecraft.block.state.IBlockState |
getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.BlockRenderLayer |
getBlockLayer() |
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.util.math.AxisAlignedBB |
getCollisionBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
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) |
boolean |
isFullCube(net.minecraft.block.state.IBlockState state) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
void |
neighborChanged(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos) |
breakBlock, getDrops, onBlockActivated, onBlockExploded, onBlockPlacedBy
addProperties, register, register, register, register, rotateBlock, withMirror, withRotation
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, 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, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullyOpaque, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isWood, modifyAcceleration, observedNeighborChange, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public BlockMarkerBase(net.minecraft.block.material.Material material, java.lang.String id)
protected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState
in class BlockBCBase_Neptune
public int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState
in class BlockBCBase_Neptune
public net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta
in class BlockBCBase_Neptune
public net.minecraft.block.state.IBlockState getActualState(net.minecraft.block.state.IBlockState state, net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos)
getActualState
in class net.minecraft.block.Block
public net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer
in class net.minecraft.block.Block
public boolean isFullCube(net.minecraft.block.state.IBlockState state)
isFullCube
in class net.minecraft.block.Block
public boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube
in class net.minecraft.block.Block
public net.minecraft.util.math.AxisAlignedBB getCollisionBoundingBox(net.minecraft.block.state.IBlockState state, net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos)
getCollisionBoundingBox
in class net.minecraft.block.Block
public 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.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 BlockBCBase_Neptune
public boolean canPlaceBlockOnSide(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing side)
canPlaceBlockOnSide
in class net.minecraft.block.Block
public void neighborChanged(net.minecraft.block.state.IBlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.Block blockIn, net.minecraft.util.math.BlockPos fromPos)
neighborChanged
in class net.minecraft.block.Block
public net.minecraft.util.EnumActionResult attemptRotation(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.util.EnumFacing sideWrenched)
attemptRotation
in interface ICustomRotationHandler