public abstract class BlockEngineBase_BC8<E extends java.lang.Enum<E> & IEngineType> 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, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness
Constructor and Description |
---|
BlockEngineBase_BC8(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) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
TileBC_Neptune |
createTileEntity(net.minecraft.world.World world,
net.minecraft.block.state.IBlockState state) |
int |
damageDropped(net.minecraft.block.state.IBlockState state) |
net.minecraft.block.state.BlockFaceShape |
getBlockFaceShape(net.minecraft.world.IBlockAccess world,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
abstract net.minecraft.block.properties.IProperty<E> |
getEngineProperty() |
abstract E |
getEngineType(int meta) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.util.EnumBlockRenderType |
getRenderType(net.minecraft.block.state.IBlockState state) |
net.minecraft.item.ItemStack |
getStack(E type) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
void |
getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
abstract java.lang.String |
getUnlocalizedName(E engine) |
boolean |
isFullBlock(net.minecraft.block.state.IBlockState state) |
boolean |
isFullCube(net.minecraft.block.state.IBlockState state) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
boolean |
isRegistered(E type) |
boolean |
isSideSolid(net.minecraft.block.state.IBlockState base_state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
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) |
void |
registerEngine(E type,
java.util.function.Supplier<? extends TileEngineBase_BC8> constructor) |
breakBlock, getDrops, hasTileEntity, onBlockActivated, onBlockExploded, onBlockPlacedBy
addProperties, getStateForPlacement, isExceptBlockForAttachWithPiston, rotateBlock, withMirror, withRotation
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, 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, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isToolEffective, isTopSolid, 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, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick
public BlockEngineBase_BC8(net.minecraft.block.material.Material material, java.lang.String id)
public void registerEngine(E type, java.util.function.Supplier<? extends TileEngineBase_BC8> constructor)
public boolean isRegistered(E type)
@Nonnull public net.minecraft.item.ItemStack getStack(E type)
public abstract net.minecraft.block.properties.IProperty<E> getEngineProperty()
public abstract E getEngineType(int meta)
public abstract java.lang.String getUnlocalizedName(E engine)
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 boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube
in class net.minecraft.block.Block
public boolean isFullBlock(net.minecraft.block.state.IBlockState state)
isFullBlock
in class net.minecraft.block.Block
public boolean isFullCube(net.minecraft.block.state.IBlockState state)
isFullCube
in class net.minecraft.block.Block
public net.minecraft.block.state.BlockFaceShape getBlockFaceShape(net.minecraft.world.IBlockAccess world, net.minecraft.block.state.IBlockState state, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing side)
getBlockFaceShape
in class net.minecraft.block.Block
public boolean isSideSolid(net.minecraft.block.state.IBlockState base_state, net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing side)
isSideSolid
in class net.minecraft.block.Block
public net.minecraft.util.EnumBlockRenderType getRenderType(net.minecraft.block.state.IBlockState state)
getRenderType
in class net.minecraft.block.Block
public TileBC_Neptune createTileEntity(net.minecraft.world.World world, net.minecraft.block.state.IBlockState state)
createTileEntity
in class BlockBCTile_Neptune
public void getSubBlocks(net.minecraft.creativetab.CreativeTabs tab, net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
getSubBlocks
in class net.minecraft.block.Block
public int damageDropped(net.minecraft.block.state.IBlockState state)
damageDropped
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 BlockBCTile_Neptune
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