public class EncasedBeltBlock extends RotatedPillarKineticBlock
| Modifier and Type | Class and Description |
|---|---|
static class |
EncasedBeltBlock.Part |
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.Propertiesnet.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>>IRotate.SpeedLevel, IRotate.StressImpact| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
CONNECTED_ALONG_FIRST_COORDINATE |
static net.minecraft.state.Property<EncasedBeltBlock.Part> |
PART |
AXIScolorBLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
EncasedBeltBlock(net.minecraft.block.AbstractBlock.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areBlocksConnected(net.minecraft.block.BlockState state,
net.minecraft.block.BlockState other,
net.minecraft.util.Direction facing) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world) |
protected static net.minecraft.util.Direction.Axis |
getConnectionAxis(net.minecraft.block.BlockState state) |
net.minecraft.block.material.PushReaction |
getPistonPushReaction(net.minecraft.block.BlockState state) |
net.minecraft.block.BlockState |
getRotatedBlockState(net.minecraft.block.BlockState originalState,
net.minecraft.util.Direction targetedFace) |
net.minecraft.util.Direction.Axis |
getRotationAxis(net.minecraft.block.BlockState state) |
static float |
getRotationSpeedModifier(KineticTileEntity from,
KineticTileEntity to) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
boolean |
hasShaftTowards(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
boolean |
shouldCheckWeakPower(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side) |
net.minecraft.block.BlockState |
updateAfterWrenched(net.minecraft.block.BlockState newState,
net.minecraft.item.ItemUseContext context) |
net.minecraft.block.BlockState |
updateShape(net.minecraft.block.BlockState stateIn,
net.minecraft.util.Direction face,
net.minecraft.block.BlockState neighbour,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos currentPos,
net.minecraft.util.math.BlockPos facingPos) |
getPreferredAxis, rotateareStatesKineticallyEquivalent, canHarvestBlock, getHarvestTool, getParticleInitialRadius, getParticleTargetRadius, hasTileEntity, isToolEffective, onPlace, setPlacedBy, updateIndirectNeighbourShapesanimateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, mirror, neighborChanged, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMinimumRequiredSpeedLevel, hideStressImpact, showCapacityWithAnnotationonSneakWrenched, onWrenched, playRemoveSound, playRotateSoundaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, 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, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldDisplayFluidOverlaypublic static final net.minecraft.state.Property<EncasedBeltBlock.Part> PART
public static final net.minecraft.state.BooleanProperty CONNECTED_ALONG_FIRST_COORDINATE
public EncasedBeltBlock(net.minecraft.block.AbstractBlock.Properties properties)
public boolean shouldCheckWeakPower(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side)
public net.minecraft.block.material.PushReaction getPistonPushReaction(net.minecraft.block.BlockState state)
getPistonPushReaction 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 RotatedPillarKineticBlockpublic net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class RotatedPillarKineticBlockpublic net.minecraft.block.BlockState updateShape(net.minecraft.block.BlockState stateIn,
net.minecraft.util.Direction face,
net.minecraft.block.BlockState neighbour,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos currentPos,
net.minecraft.util.math.BlockPos facingPos)
updateShape in class net.minecraft.block.AbstractBlockpublic net.minecraft.block.BlockState getRotatedBlockState(net.minecraft.block.BlockState originalState,
net.minecraft.util.Direction targetedFace)
public net.minecraft.block.BlockState updateAfterWrenched(net.minecraft.block.BlockState newState,
net.minecraft.item.ItemUseContext context)
public boolean hasShaftTowards(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
hasShaftTowards in interface IRotatehasShaftTowards in class KineticBlockpublic net.minecraft.util.Direction.Axis getRotationAxis(net.minecraft.block.BlockState state)
public static boolean areBlocksConnected(net.minecraft.block.BlockState state,
net.minecraft.block.BlockState other,
net.minecraft.util.Direction facing)
protected static net.minecraft.util.Direction.Axis getConnectionAxis(net.minecraft.block.BlockState state)
public static float getRotationSpeedModifier(KineticTileEntity from, KineticTileEntity to)
public net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world)
createTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockcreateTileEntity in class KineticBlock