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.UpdateFlagsNested 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.StatePredicateNested classes/interfaces inherited from interface net.fabricmc.fabric.api.block.v1.FabricBlock
net.fabricmc.fabric.api.block.v1.FabricBlock.FabricProperties -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.BooleanPropertyFields 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_DROPSFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
descriptionId, drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateBlockStateDefinition(@NonNull net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) intgetDirectSignal(@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.VoxelShapegetShape(@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) intgetSignal(@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) booleanisSignalSource(@NonNull net.minecraft.world.level.block.state.BlockState state) @Nullable net.minecraft.world.level.block.entity.BlockEntitynewBlockEntity(@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, useWithoutItemMethods 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, withPropertiesOfMethods 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, useShapeForLightOcclusionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.EntityBlock
getListenerMethods inherited from interface net.fabricmc.fabric.api.block.v1.FabricBlock
getAppearanceMethods 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:
createBlockStateDefinitionin classnet.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:
getTickerin interfacenet.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:
newBlockEntityin interfacenet.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:
getShapein classnet.minecraft.world.level.block.state.BlockBehaviour
-
isSignalSource
public boolean isSignalSource(@NonNull net.minecraft.world.level.block.state.BlockState state) - Overrides:
isSignalSourcein classnet.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:
getDirectSignalin classnet.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:
getSignalin classnet.minecraft.world.level.block.state.BlockBehaviour
-