Class BlockCable

java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.BaseEntityBlock
org.cyclops.cyclopscore.block.BlockWithEntityCommon
org.cyclops.cyclopscore.block.BlockWithEntity
org.cyclops.integrateddynamics.block.BlockCable
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.block.BucketPickup, net.minecraft.world.level.block.EntityBlock, net.minecraft.world.level.block.LiquidBlockContainer, net.minecraft.world.level.block.SimpleWaterloggedBlock, net.minecraft.world.level.ItemLike, net.neoforged.neoforge.common.extensions.IBlockExtension, net.neoforged.neoforge.common.extensions.IBucketPickupExtension, org.cyclops.cyclopscore.client.model.IDynamicModelElement

public class BlockCable extends org.cyclops.cyclopscore.block.BlockWithEntity implements org.cyclops.cyclopscore.client.model.IDynamicModelElement, net.minecraft.world.level.block.SimpleWaterloggedBlock
A block that is built up from different parts. This block refers to a ticking part entity.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    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.OffsetFunction, 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>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
    static final net.minecraft.world.phys.AABB
     
    static final com.mojang.serialization.MapCodec<BlockCable>
     
    static final net.neoforged.neoforge.client.model.data.ModelProperty<Boolean>[]
     
    static final net.neoforged.neoforge.client.model.data.ModelProperty<Optional<net.minecraft.world.level.block.state.BlockState>>
     
    static final net.neoforged.neoforge.client.model.data.ModelProperty<PartRenderPosition>[]
     
    static final net.neoforged.neoforge.client.model.data.ModelProperty<IPartContainer>
     
    static final net.neoforged.neoforge.client.model.data.ModelProperty<Boolean>
     
    static final net.neoforged.neoforge.client.model.data.ModelProperty<IRenderState>
     
    net.minecraft.client.renderer.texture.TextureAtlasSprite
     
    static final net.minecraft.world.level.block.state.properties.BooleanProperty
     

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

    BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, 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

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

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

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    boolean
    canConnectRedstone(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side)
     
    boolean
    canPlaceLiquid(@Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.material.Fluid fluidIn)
     
    protected com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.BaseEntityBlock>
     
    protected void
    createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.state.BlockState> builder)
     
    net.minecraft.client.resources.model.BakedModel
    createDynamicModel(net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult event)
     
    protected net.minecraft.world.phys.shapes.VoxelShape
    getBlockSupportShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos)
     
    net.minecraft.world.phys.AABB
    getCableBoundingBox(net.minecraft.core.Direction side)
     
    net.minecraft.world.item.ItemStack
    getCloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.HitResult target, net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos blockPos, net.minecraft.world.entity.player.Player player)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getCollisionShape(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext selectionContext)
     
    int
    getDirectSignal(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side)
     
    net.minecraft.world.level.material.FluidState
    getFluidState(net.minecraft.world.level.block.state.BlockState state)
     
    int
    getLightBlock(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
     
    int
    getLightEmission(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
     
    net.minecraft.world.level.block.RenderShape
    getRenderShape(net.minecraft.world.level.block.state.BlockState blockState)
     
    getSelectedShape(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext selectionContext)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext selectionContext)
     
    int
    getSignal(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side)
     
    net.minecraft.world.level.block.state.BlockState
    getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext context)
     
    <T extends net.minecraft.world.level.block.entity.BlockEntity>
    net.minecraft.world.level.block.entity.BlockEntityTicker<T>
    getTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.block.entity.BlockEntityType<T> blockEntityType)
     
    boolean
     
    boolean
     
    void
    initializeClient(Consumer<net.neoforged.neoforge.client.extensions.common.IClientBlockExtensions> consumer)
     
    boolean
    isSignalSource(net.minecraft.world.level.block.state.BlockState blockState)
     
    void
    neighborChanged(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block neighborBlock, net.minecraft.core.BlockPos fromPos, boolean isMoving)
     
    void
    onBlockExploded(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.Explosion explosion)
     
    boolean
    onDestroyedByPlayer(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, boolean willHarvest, net.minecraft.world.level.material.FluidState fluid)
     
    void
    onNeighborChange(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos neighbor)
     
    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 oldState, boolean isMoving)
     
    void
    onRemove(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState newState, boolean isMoving)
     
    void
    postTextureStitch(net.neoforged.neoforge.client.event.TextureAtlasStitchedEvent event)
     
    void
    setPlacedBy(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.LivingEntity placer, net.minecraft.world.item.ItemStack itemStack)
     
    boolean
    shouldDisplayFluidOverlay(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.FluidState fluidState)
     
    void
    tick(net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel world, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource rand)
     
    net.minecraft.world.level.block.state.BlockState
    updateShape(net.minecraft.world.level.block.state.BlockState stateIn, net.minecraft.core.Direction facing, net.minecraft.world.level.block.state.BlockState facingState, net.minecraft.world.level.LevelAccessor worldIn, net.minecraft.core.BlockPos currentPos, net.minecraft.core.BlockPos facingPos)
     
    protected void
    updateTickPart(IPartType partType, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, IPartState partState, net.minecraft.util.RandomSource random)
     
    boolean
    useShapeForLightOcclusion(net.minecraft.world.level.block.state.BlockState p_60576_)
     
    net.minecraft.world.InteractionResult
    useWithoutItem(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hit)
     

    Methods inherited from class org.cyclops.cyclopscore.block.BlockWithEntityCommon

    getCloneItemStack, getDroppedItemStack, getDroppedItemStackNbt, isPersistNbt, newBlockEntity, playerWillDestroy

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

    createTickerHelper, getMenuProvider, triggerEvent

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

    animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf

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

    attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getDestroyProgress, getDrops, getInteractionShape, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getOcclusionShape, getSeed, getShadeBrightness, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isPathfindable, isRandomlyTicking, mirror, onExplosionHit, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, rotate, simpleCodec, skipRendering, spawnAfterBreak, updateIndirectNeighbourShapes, useItemOn

    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.minecraft.world.flag.FeatureElement

    isEnabled

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockExtension

    addLandingEffects, addRunningEffects, canBeHydrated, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockStateChange, onCaughtFire, onDestroyedByPushReaction, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, supportsExternalFaceHiding

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBucketPickupExtension

    getPickupSound

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

    getPickupSound, pickupBlock, placeLiquid
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<BlockCable> CODEC
    • BLOCK_HARDNESS

      public static final float BLOCK_HARDNESS
      See Also:
    • WATERLOGGED

      public static final net.minecraft.world.level.block.state.properties.BooleanProperty WATERLOGGED
    • REALCABLE

      public static final net.neoforged.neoforge.client.model.data.ModelProperty<Boolean> REALCABLE
    • CONNECTED

      public static final net.neoforged.neoforge.client.model.data.ModelProperty<Boolean>[] CONNECTED
    • PART_RENDERPOSITIONS

      public static final net.neoforged.neoforge.client.model.data.ModelProperty<PartRenderPosition>[] PART_RENDERPOSITIONS
    • FACADE

      public static final net.neoforged.neoforge.client.model.data.ModelProperty<Optional<net.minecraft.world.level.block.state.BlockState>> FACADE
    • PARTCONTAINER

      public static final net.neoforged.neoforge.client.model.data.ModelProperty<IPartContainer> PARTCONTAINER
    • RENDERSTATE

      public static final net.neoforged.neoforge.client.model.data.ModelProperty<IRenderState> RENDERSTATE
    • CABLE_CENTER_BOUNDINGBOX

      public static final net.minecraft.world.phys.AABB CABLE_CENTER_BOUNDINGBOX
    • texture

      public net.minecraft.client.renderer.texture.TextureAtlasSprite texture
  • Constructor Details

    • BlockCable

      public BlockCable(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
  • Method Details

    • codec

      protected com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.BaseEntityBlock> codec()
      Specified by:
      codec in class net.minecraft.world.level.block.BaseEntityBlock
    • postTextureStitch

      public void postTextureStitch(net.neoforged.neoforge.client.event.TextureAtlasStitchedEvent event)
    • useShapeForLightOcclusion

      public boolean useShapeForLightOcclusion(net.minecraft.world.level.block.state.BlockState p_60576_)
      Overrides:
      useShapeForLightOcclusion in class net.minecraft.world.level.block.state.BlockBehaviour
    • getTicker

      @Nullable public <T extends net.minecraft.world.level.block.entity.BlockEntity> net.minecraft.world.level.block.entity.BlockEntityTicker<T> getTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.block.entity.BlockEntityType<T> blockEntityType)
      Specified by:
      getTicker in interface net.minecraft.world.level.block.EntityBlock
    • createBlockStateDefinition

      protected void createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.state.BlockState> builder)
      Overrides:
      createBlockStateDefinition in class net.minecraft.world.level.block.Block
    • updateShape

      public net.minecraft.world.level.block.state.BlockState updateShape(net.minecraft.world.level.block.state.BlockState stateIn, net.minecraft.core.Direction facing, net.minecraft.world.level.block.state.BlockState facingState, net.minecraft.world.level.LevelAccessor worldIn, net.minecraft.core.BlockPos currentPos, net.minecraft.core.BlockPos facingPos)
      Overrides:
      updateShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • getStateForPlacement

      public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext context)
      Overrides:
      getStateForPlacement in class net.minecraft.world.level.block.Block
    • getFluidState

      public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      getFluidState in class net.minecraft.world.level.block.state.BlockBehaviour
    • canPlaceLiquid

      public boolean canPlaceLiquid(@Nullable @Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.material.Fluid fluidIn)
      Specified by:
      canPlaceLiquid in interface net.minecraft.world.level.block.LiquidBlockContainer
      Specified by:
      canPlaceLiquid in interface net.minecraft.world.level.block.SimpleWaterloggedBlock
    • onBlockExploded

      public void onBlockExploded(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.Explosion explosion)
      Specified by:
      onBlockExploded in interface net.neoforged.neoforge.common.extensions.IBlockExtension
    • onDestroyedByPlayer

      public boolean onDestroyedByPlayer(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, boolean willHarvest, net.minecraft.world.level.material.FluidState fluid)
      Specified by:
      onDestroyedByPlayer in interface net.neoforged.neoforge.common.extensions.IBlockExtension
    • onRemove

      public void onRemove(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState newState, boolean isMoving)
      Overrides:
      onRemove in class net.minecraft.world.level.block.state.BlockBehaviour
    • useWithoutItem

      public net.minecraft.world.InteractionResult useWithoutItem(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hit)
      Overrides:
      useWithoutItem in class net.minecraft.world.level.block.state.BlockBehaviour
    • 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 oldState, boolean isMoving)
      Overrides:
      onPlace in class net.minecraft.world.level.block.state.BlockBehaviour
    • setPlacedBy

      public void setPlacedBy(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.LivingEntity placer, net.minecraft.world.item.ItemStack itemStack)
      Overrides:
      setPlacedBy in class net.minecraft.world.level.block.Block
    • getCloneItemStack

      public net.minecraft.world.item.ItemStack getCloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.HitResult target, net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos blockPos, net.minecraft.world.entity.player.Player player)
      Specified by:
      getCloneItemStack in interface net.neoforged.neoforge.common.extensions.IBlockExtension
      Overrides:
      getCloneItemStack in class org.cyclops.cyclopscore.block.BlockWithEntity
    • neighborChanged

      public void neighborChanged(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block neighborBlock, net.minecraft.core.BlockPos fromPos, boolean isMoving)
      Overrides:
      neighborChanged in class net.minecraft.world.level.block.state.BlockBehaviour
    • onNeighborChange

      public void onNeighborChange(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos neighbor)
      Specified by:
      onNeighborChange in interface net.neoforged.neoforge.common.extensions.IBlockExtension
    • tick

      public void tick(net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel world, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource rand)
      Overrides:
      tick in class net.minecraft.world.level.block.state.BlockBehaviour
    • updateTickPart

      protected void updateTickPart(IPartType partType, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, IPartState partState, net.minecraft.util.RandomSource random)
    • getCableBoundingBox

      public net.minecraft.world.phys.AABB getCableBoundingBox(net.minecraft.core.Direction side)
    • getSelectedShape

      public VoxelShapeComponents getSelectedShape(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext selectionContext)
    • getShape

      public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext selectionContext)
      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 blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext selectionContext)
      Overrides:
      getCollisionShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • hasDynamicShape

      public boolean hasDynamicShape()
      Overrides:
      hasDynamicShape in class net.minecraft.world.level.block.Block
    • getLightBlock

      public int getLightBlock(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
      Overrides:
      getLightBlock in class net.minecraft.world.level.block.state.BlockBehaviour
    • getRenderShape

      public net.minecraft.world.level.block.RenderShape getRenderShape(net.minecraft.world.level.block.state.BlockState blockState)
      Overrides:
      getRenderShape in class org.cyclops.cyclopscore.block.BlockWithEntityCommon
    • getBlockSupportShape

      protected net.minecraft.world.phys.shapes.VoxelShape getBlockSupportShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos)
      Overrides:
      getBlockSupportShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • initializeClient

      public void initializeClient(Consumer<net.neoforged.neoforge.client.extensions.common.IClientBlockExtensions> consumer)
      Overrides:
      initializeClient in class net.minecraft.world.level.block.Block
    • shouldDisplayFluidOverlay

      public boolean shouldDisplayFluidOverlay(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.FluidState fluidState)
      Specified by:
      shouldDisplayFluidOverlay in interface net.neoforged.neoforge.common.extensions.IBlockExtension
    • isSignalSource

      public boolean isSignalSource(net.minecraft.world.level.block.state.BlockState blockState)
      Overrides:
      isSignalSource in class net.minecraft.world.level.block.state.BlockBehaviour
    • canConnectRedstone

      public boolean canConnectRedstone(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side)
      Specified by:
      canConnectRedstone in interface net.neoforged.neoforge.common.extensions.IBlockExtension
    • getDirectSignal

      public int getDirectSignal(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side)
      Overrides:
      getDirectSignal in class net.minecraft.world.level.block.state.BlockBehaviour
    • getSignal

      public int getSignal(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side)
      Overrides:
      getSignal in class net.minecraft.world.level.block.state.BlockBehaviour
    • getLightEmission

      public int getLightEmission(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
      Specified by:
      getLightEmission in interface net.neoforged.neoforge.common.extensions.IBlockExtension
    • hasDynamicModel

      public boolean hasDynamicModel()
      Specified by:
      hasDynamicModel in interface org.cyclops.cyclopscore.client.model.IDynamicModelElement
    • createDynamicModel

      public net.minecraft.client.resources.model.BakedModel createDynamicModel(net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult event)
      Specified by:
      createDynamicModel in interface org.cyclops.cyclopscore.client.model.IDynamicModelElement