Class AbstractChuteBlock

java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<net.minecraft.world.level.block.Block>
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
com.simibubi.create.content.logistics.block.chute.AbstractChuteBlock
All Implemented Interfaces:
IWrenchable, ITE<ChuteTileEntity>, net.minecraft.world.level.block.EntityBlock, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeBlock, net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.level.block.Block>
Direct Known Subclasses:
ChuteBlock, SmartChuteBlock

public abstract class AbstractChuteBlock extends net.minecraft.world.level.block.Block implements IWrenchable, ITE<ChuteTileEntity>
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.Block

    net.minecraft.world.level.block.Block.BlockStatePairKey

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour

    net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase, net.minecraft.world.level.block.state.BlockBehaviour.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A extends Object>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate

    Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>>
  • Field Summary

    Fields inherited from class net.minecraft.world.level.block.Block

    BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, RANDOM, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPS, UPDATE_SUPPRESS_LIGHT

    Fields inherited from class net.minecraft.world.level.block.state.BlockBehaviour

    drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER

    Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractChuteBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties p_i48440_1_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.core.Direction
    getChuteFacing(net.minecraft.world.level.block.state.BlockState state)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getCollisionShape(net.minecraft.world.level.block.state.BlockState p_220071_1_, net.minecraft.world.level.BlockGetter p_220071_2_, net.minecraft.core.BlockPos p_220071_3_, net.minecraft.world.phys.shapes.CollisionContext p_220071_4_)
     
    net.minecraft.core.Direction
    getFacing(net.minecraft.world.level.block.state.BlockState state)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getShape(net.minecraft.world.level.block.state.BlockState p_220053_1_, net.minecraft.world.level.BlockGetter p_220053_2_, net.minecraft.core.BlockPos p_220053_3_, net.minecraft.world.phys.shapes.CollisionContext p_220053_4_)
     
     
    void
    initializeClient(Consumer<net.minecraftforge.client.IBlockRenderProperties> consumer)
     
    static boolean
    isChute(net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    isOpen(net.minecraft.world.level.block.state.BlockState state)
     
    static boolean
    isOpenChute(net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    isTransparent(net.minecraft.world.level.block.state.BlockState state)
     
    static boolean
    isTransparentChute(net.minecraft.world.level.block.state.BlockState state)
     
    void
    neighborChanged(net.minecraft.world.level.block.state.BlockState p_220069_1_, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block p_220069_4_, net.minecraft.core.BlockPos neighbourPos, boolean p_220069_6_)
     
    void
    onPlace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState p_220082_4_, boolean p_220082_5_)
     
    void
    onRemove(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState p_196243_4_, boolean p_196243_5_)
     
    void
    setPlacedBy(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.LivingEntity pPlacer, net.minecraft.world.item.ItemStack pStack)
     
    abstract net.minecraft.world.level.block.state.BlockState
    updateChuteState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState above, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
     
    protected void
    updateDiagonalNeighbour(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
     
    void
    updateEntityAfterFallOn(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.world.entity.Entity entityIn)
     
    net.minecraft.world.level.block.state.BlockState
    updateShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState above, net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos p_196271_6_)
     
    net.minecraft.world.InteractionResult
    use(net.minecraft.world.level.block.state.BlockState p_225533_1_, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult p_225533_6_)
     

    Methods inherited from class net.minecraft.world.level.block.Block

    animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, createBlockStateDefinition, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, getStateForPlacement, handlePrecipitation, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf

    Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour

    attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isPathfindable, isSignalSource, mirror, onProjectileHit, randomTick, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusion

    Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.block.EntityBlock

    getListener

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlock

    addLandingEffects, addRunningEffects, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onCaughtFire, onDestroyedByPlayer, onNeighborChange, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding

    Methods inherited from interface com.simibubi.create.foundation.block.ITE

    getTicker, getTileEntity, getTileEntityOptional, getTileEntityType, newBlockEntity, onTileEntityUse, withTileEntityDo

    Methods inherited from interface com.simibubi.create.content.contraptions.wrench.IWrenchable

    getRotatedBlockState, onSneakWrenched, onWrenched, playRemoveSound, playRotateSound, updateAfterWrenched
  • Constructor Details

    • AbstractChuteBlock

      public AbstractChuteBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties p_i48440_1_)
  • Method Details

    • initializeClient

      public void initializeClient(Consumer<net.minecraftforge.client.IBlockRenderProperties> consumer)
      Overrides:
      initializeClient in class net.minecraft.world.level.block.Block
    • isChute

      public static boolean isChute(net.minecraft.world.level.block.state.BlockState state)
    • isOpenChute

      public static boolean isOpenChute(net.minecraft.world.level.block.state.BlockState state)
    • isTransparentChute

      public static boolean isTransparentChute(net.minecraft.world.level.block.state.BlockState state)
    • getChuteFacing

      @Nullable public static net.minecraft.core.Direction getChuteFacing(net.minecraft.world.level.block.state.BlockState state)
    • getFacing

      public net.minecraft.core.Direction getFacing(net.minecraft.world.level.block.state.BlockState state)
    • isOpen

      public boolean isOpen(net.minecraft.world.level.block.state.BlockState state)
    • isTransparent

      public boolean isTransparent(net.minecraft.world.level.block.state.BlockState state)
    • setPlacedBy

      public void setPlacedBy(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.LivingEntity pPlacer, net.minecraft.world.item.ItemStack pStack)
      Overrides:
      setPlacedBy in class net.minecraft.world.level.block.Block
    • updateEntityAfterFallOn

      public void updateEntityAfterFallOn(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.world.entity.Entity entityIn)
      Overrides:
      updateEntityAfterFallOn in class net.minecraft.world.level.block.Block
    • onPlace

      public void onPlace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState p_220082_4_, boolean p_220082_5_)
      Overrides:
      onPlace in class net.minecraft.world.level.block.state.BlockBehaviour
    • updateDiagonalNeighbour

      protected void updateDiagonalNeighbour(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
    • onRemove

      public void onRemove(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState p_196243_4_, boolean p_196243_5_)
      Overrides:
      onRemove in class net.minecraft.world.level.block.state.BlockBehaviour
    • updateShape

      public net.minecraft.world.level.block.state.BlockState updateShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState above, net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos p_196271_6_)
      Overrides:
      updateShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • neighborChanged

      public void neighborChanged(net.minecraft.world.level.block.state.BlockState p_220069_1_, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block p_220069_4_, net.minecraft.core.BlockPos neighbourPos, boolean p_220069_6_)
      Overrides:
      neighborChanged in class net.minecraft.world.level.block.state.BlockBehaviour
    • updateChuteState

      public abstract net.minecraft.world.level.block.state.BlockState updateChuteState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState above, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
    • getShape

      public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState p_220053_1_, net.minecraft.world.level.BlockGetter p_220053_2_, net.minecraft.core.BlockPos p_220053_3_, net.minecraft.world.phys.shapes.CollisionContext p_220053_4_)
      Overrides:
      getShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • getCollisionShape

      public net.minecraft.world.phys.shapes.VoxelShape getCollisionShape(net.minecraft.world.level.block.state.BlockState p_220071_1_, net.minecraft.world.level.BlockGetter p_220071_2_, net.minecraft.core.BlockPos p_220071_3_, net.minecraft.world.phys.shapes.CollisionContext p_220071_4_)
      Overrides:
      getCollisionShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • getTileEntityClass

      public Class<ChuteTileEntity> getTileEntityClass()
      Specified by:
      getTileEntityClass in interface ITE<ChuteTileEntity>
    • use

      public net.minecraft.world.InteractionResult use(net.minecraft.world.level.block.state.BlockState p_225533_1_, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult p_225533_6_)
      Overrides:
      use in class net.minecraft.world.level.block.state.BlockBehaviour