Class CraftingEmitterBlock

java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
com.refinedmods.refinedstorage.common.support.AbstractBaseBlock
net.gotlicked.rsrreforged.craftingemitter.CraftingEmitterBlock
All Implemented Interfaces:
net.fabricmc.fabric.api.block.v1.FabricBlock, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.block.EntityBlock, net.minecraft.world.level.ItemLike

public class CraftingEmitterBlock extends com.refinedmods.refinedstorage.common.support.AbstractBaseBlock implements net.minecraft.world.level.block.EntityBlock
  • Nested Class Summary

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

    net.minecraft.world.level.block.Block.UpdateFlags

    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.PostProcess, 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

    Nested classes/interfaces inherited from interface net.fabricmc.fabric.api.block.v1.FabricBlock

    net.fabricmc.fabric.api.block.v1.FabricBlock.FabricProperties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.level.block.state.properties.BooleanProperty
     

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

    BLOCK_STATE_REGISTRY, CODEC, 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_SKIP_ALL_SIDEEFFECTS, UPDATE_SKIP_BLOCK_ENTITY_SIDEEFFECTS, UPDATE_SKIP_ON_PLACE, UPDATE_SKIP_SHAPE_UPDATE_ON_WIRE, UPDATE_SUPPRESS_DROPS

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

    descriptionId, 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    createBlockStateDefinition(@NonNull net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder)
     
    int
    getDirectSignal(@NonNull net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter blockAccess, @NonNull net.minecraft.core.BlockPos pos, @NonNull net.minecraft.core.Direction side)
     
    @NonNull net.minecraft.world.phys.shapes.VoxelShape
    getShape(@NonNull net.minecraft.world.level.block.state.BlockState state, @NonNull net.minecraft.world.level.BlockGetter worldIn, @NonNull net.minecraft.core.BlockPos pos, @NonNull net.minecraft.world.phys.shapes.CollisionContext context)
     
    int
    getSignal(@NonNull net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter blockAccess, @NonNull net.minecraft.core.BlockPos pos, @NonNull net.minecraft.core.Direction side)
     
    <R extends net.minecraft.world.level.block.entity.BlockEntity>
    @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<R>
    getTicker(@NonNull net.minecraft.world.level.Level level, @NonNull net.minecraft.world.level.block.state.BlockState state, @NonNull net.minecraft.world.level.block.entity.BlockEntityType<R> entityType)
     
    boolean
    isSignalSource(@NonNull net.minecraft.world.level.block.state.BlockState state)
     
    @Nullable net.minecraft.world.level.block.entity.BlockEntity
    newBlockEntity(@NonNull net.minecraft.core.BlockPos pos, @NonNull net.minecraft.world.level.block.state.BlockState state)
     

    Methods inherited from class com.refinedmods.refinedstorage.common.support.AbstractBaseBlock

    getDefaultState, getRotatedBlockState, getScreenOpenableShape, setPlacedBy, tryUpdateColor, tryUseWrench, useWithoutItem

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

    animateTick, asBlock, asItem, box, boxes, boxZ, boxZ, boxZ, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, codec, column, column, cube, cube, defaultBlockState, destroy, dropFromBlockInteractLootTable, dropFromExplosion, dropFromLootTable, dropResources, dropResources, dropResources, fallOn, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getShapeForEachState, getSpeedFactor, getStateDefinition, getStateForPlacement, handlePrecipitation, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityMovementAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf

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

    affectNeighborsAfterRemoval, attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCloneItemStack, getCollisionShape, getDescriptionId, getDestroyProgress, getDrops, getEntityInsideCollisionShape, getFluidState, getInteractionShape, getLightDampening, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSoundType, getVisualShape, hasAnalogOutputSignal, isCollisionShapeFullBlock, isPathfindable, isRandomlyTicking, mirror, neighborChanged, onExplosionHit, onPlace, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, rotate, shouldChangedStateKeepBlockEntity, simpleCodec, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, useItemOn, useShapeForLightOcclusion

    Methods inherited from class 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.fabricmc.fabric.api.block.v1.FabricBlock

    getAppearance

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

    isEnabled
  • Field Details

    • POWERED

      public static final net.minecraft.world.level.block.state.properties.BooleanProperty POWERED
  • Constructor Details

    • CraftingEmitterBlock

      public CraftingEmitterBlock()
  • Method Details

    • createBlockStateDefinition

      protected void createBlockStateDefinition(@NonNull 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
    • getTicker

      @Nullable public <R extends net.minecraft.world.level.block.entity.BlockEntity> @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<R> getTicker(@NonNull net.minecraft.world.level.Level level, @NonNull net.minecraft.world.level.block.state.BlockState state, @NonNull net.minecraft.world.level.block.entity.BlockEntityType<R> entityType)
      Specified by:
      getTicker in interface net.minecraft.world.level.block.EntityBlock
    • newBlockEntity

      @Nullable public @Nullable net.minecraft.world.level.block.entity.BlockEntity newBlockEntity(@NonNull net.minecraft.core.BlockPos pos, @NonNull net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      newBlockEntity in interface net.minecraft.world.level.block.EntityBlock
    • getShape

      public @NonNull net.minecraft.world.phys.shapes.VoxelShape getShape(@NonNull net.minecraft.world.level.block.state.BlockState state, @NonNull net.minecraft.world.level.BlockGetter worldIn, @NonNull net.minecraft.core.BlockPos pos, @NonNull net.minecraft.world.phys.shapes.CollisionContext context)
      Overrides:
      getShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • isSignalSource

      public boolean isSignalSource(@NonNull net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      isSignalSource in class net.minecraft.world.level.block.state.BlockBehaviour
    • getDirectSignal

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

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