public class BlockPneumaticDoorBase extends BlockPneumaticCraftCamo
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.PropertiesBLOCK_ACCESS, BLOCK_POS, CAMO_STATECONNECTION_PROPERTIES, DOWN, EAST, NORTH, SOUTH, TEMPERATURE, UP, WESTBLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
BlockPneumaticDoorBase() |
| Modifier and Type | Method and Description |
|---|---|
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 reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext ctx)
The equivalent of
AbstractBlock.getShape(BlockState, IBlockReader, BlockPos, ISelectionContext), but for
uncamouflaged camo blocks. |
boolean |
isRotatable() |
void |
neighborChanged(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block block,
net.minecraft.util.math.BlockPos fromPos,
boolean isMoving) |
protected boolean |
reversePlacementRotation()
Does the block face the same way as the player when placed, or opposite?
|
void |
setPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.LivingEntity entity,
net.minecraft.item.ItemStack stack)
Called when the block is placed in the world.
|
getCollisionShape, getInteractionShape, getLightBlock, getOcclusionShape, getShape, getUncamouflagedCollisionShape, getUncamouflagedRaytraceShape, getUncamouflagedRenderShape, hasDynamicShape, removedByPlayeraddExtraInformation, appendHoverText, canRotateToTopOrBottom, connectionProperty, createBlockStateDefinition, createTileEntity, getAnalogOutputSignal, getApplicableUpgrades, getRenderShape, getRotation, getRotation, getStateForPlacement, getUpgradeAcceptorTranslationKey, hasAnalogOutputSignal, hasTileEntity, isPathfindable, mirror, onNeighborChange, onRemove, onWrenched, playerDestroy, rotate, rotateCustom, rotateForgeWay, 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, isSignalSource, 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 java.lang.Class<? extends net.minecraft.tileentity.TileEntity> getTileEntityClass()
getTileEntityClass in class BlockPneumaticCraftpublic void setPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.LivingEntity entity,
net.minecraft.item.ItemStack stack)
setPlacedBy in class BlockPneumaticCraftpublic void neighborChanged(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block block,
net.minecraft.util.math.BlockPos fromPos,
boolean isMoving)
neighborChanged in class BlockPneumaticCraftpublic boolean isRotatable()
isRotatable in class BlockPneumaticCraftprotected boolean reversePlacementRotation()
BlockPneumaticCraftreversePlacementRotation in class BlockPneumaticCraftpublic net.minecraft.util.math.shapes.VoxelShape getUncamouflagedShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext ctx)
BlockPneumaticCraftCamoAbstractBlock.getShape(BlockState, IBlockReader, BlockPos, ISelectionContext), but for
uncamouflaged camo blocks.getUncamouflagedShape in class BlockPneumaticCraftCamostate - the blockstatereader - the worldpos - the block posctx - the selection contextpublic 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