public class BlockChargingStation extends BlockPneumaticCraftCamo
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockChargingStation.ItemBlockChargingStation |
net.minecraft.block.Block.RenderSideCacheKeynet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Properties| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
CHARGE_PAD |
BLOCK_ACCESS, BLOCK_POS, CAMO_STATECONNECTION_PROPERTIES, DOWN, EAST, NORTH, SOUTH, TEMPERATURE, UP, WESTBLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
BlockChargingStation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.util.math.shapes.VoxelShape |
getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext ctx) |
int |
getSignal(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockAccess,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side) |
protected java.lang.Class<? extends net.minecraft.tileentity.TileEntity> |
getTileEntityClass() |
net.minecraft.util.math.shapes.VoxelShape |
getUncamouflagedShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext selectionContext)
The equivalent of
AbstractBlock.getShape(BlockState, IBlockReader, BlockPos, ISelectionContext), but for
uncamouflaged camo blocks. |
boolean |
isRotatable() |
boolean |
isSignalSource(net.minecraft.block.BlockState state) |
getInteractionShape, getLightBlock, getOcclusionShape, getShape, getUncamouflagedCollisionShape, getUncamouflagedRaytraceShape, getUncamouflagedRenderShape, hasDynamicShape, removedByPlayeraddExtraInformation, appendHoverText, canRotateToTopOrBottom, connectionProperty, createTileEntity, getAnalogOutputSignal, getApplicableUpgrades, getRenderShape, getRotation, getRotation, getStateForPlacement, getUpgradeAcceptorTranslationKey, hasAnalogOutputSignal, hasTileEntity, isPathfindable, mirror, neighborChanged, onNeighborChange, onRemove, onWrenched, playerDestroy, reversePlacementRotation, rotate, rotateCustom, rotateForgeWay, setPlacedBy, setRotation, updateShape, useanimateTick, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getLootTable, getMenuProvider, getOffsetType, getPistonPushReaction, getSeed, getShadeBrightness, getVisualShape, isAir, isEntityBlock, onPlace, onProjectileHit, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforBlockaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onPlantGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlayprotected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class BlockPneumaticCraftpublic net.minecraft.util.math.shapes.VoxelShape getUncamouflagedShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext selectionContext)
BlockPneumaticCraftCamoAbstractBlock.getShape(BlockState, IBlockReader, BlockPos, ISelectionContext), but for
uncamouflaged camo blocks.getUncamouflagedShape in class BlockPneumaticCraftCamostate - the blockstateworld - the worldpos - the block posselectionContext - the selection contextpublic net.minecraft.util.math.shapes.VoxelShape getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext ctx)
getCollisionShape in class BlockPneumaticCraftCamoprotected java.lang.Class<? extends net.minecraft.tileentity.TileEntity> getTileEntityClass()
getTileEntityClass in class BlockPneumaticCraftpublic boolean isRotatable()
isRotatable in class BlockPneumaticCraftpublic boolean isSignalSource(net.minecraft.block.BlockState state)
isSignalSource in class net.minecraft.block.AbstractBlockpublic int getSignal(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockAccess,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side)
getSignal in class net.minecraft.block.AbstractBlock