public class BlockElevatorBase 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 |
|---|
BlockElevatorBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
static TileEntityElevatorBase |
getCoreTileEntity(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
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. |
void |
onPlace(net.minecraft.block.BlockState newState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving) |
void |
onRemove(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean isMoving) |
net.minecraft.util.ActionResultType |
use(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult brtr) |
getCollisionShape, getInteractionShape, getLightBlock, getOcclusionShape, getShape, getUncamouflagedCollisionShape, getUncamouflagedRaytraceShape, getUncamouflagedRenderShape, hasDynamicShape, removedByPlayeraddExtraInformation, appendHoverText, canRotateToTopOrBottom, connectionProperty, createTileEntity, getAnalogOutputSignal, getApplicableUpgrades, getRenderShape, getRotation, getRotation, getStateForPlacement, getUpgradeAcceptorTranslationKey, hasAnalogOutputSignal, hasTileEntity, isPathfindable, isRotatable, mirror, neighborChanged, onNeighborChange, onWrenched, playerDestroy, reversePlacementRotation, rotate, rotateCustom, rotateForgeWay, setPlacedBy, setRotation, updateShapeanimateTick, 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, getSignal, getVisualShape, isAir, isEntityBlock, isSignalSource, 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, shouldDisplayFluidOverlaypublic void onPlace(net.minecraft.block.BlockState newState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving)
onPlace in class net.minecraft.block.AbstractBlockprotected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class BlockPneumaticCraftprotected java.lang.Class<? extends net.minecraft.tileentity.TileEntity> getTileEntityClass()
getTileEntityClass 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 net.minecraft.util.ActionResultType use(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult brtr)
use in class BlockPneumaticCraftpublic static TileEntityElevatorBase getCoreTileEntity(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
public void onRemove(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean isMoving)
onRemove in class BlockPneumaticCraft