Package net.minecraft.block
Class SculkShriekerBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.SculkShriekerBlock
- All Implemented Interfaces:
BlockEntityProvider,FluidDrainable,FluidFillable,Waterloggable,ItemConvertible
- Mappings:
Namespace Name official cmbintermediary net/minecraft/class_7268named net/minecraft/block/SculkShriekerBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertyprotected static final VoxelShapestatic final doubleprivate static final intstatic final BooleanPropertyFields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) createBlockEntity(BlockPos pos, BlockState state) getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getCullingShape(BlockState state, BlockView world, BlockPos pos) getFluidState(BlockState state) <T extends BlockEntity>
@Nullable GameEventListenergetGameEventListener(ServerWorld serverWorld, T blockEntity) getRenderType(BlockState state) getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>getTicker(World world, BlockState state, BlockEntityType<T> type) booleanhasSidedTransparency(BlockState state) static voidmethod_42312(ServerWorld serverWorld, BlockState blockState, BlockPos blockPos) private static Optional<SculkShriekerWarningManager>method_42313(ServerWorld serverWorld, BlockPos blockPos) static booleanmethod_42315(ServerWorld serverWorld, BlockPos blockPos, BlockState blockState) voidneighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidonStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) voidonSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidscheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, onSyncedBlockEventMethods inherited from class net.minecraft.block.Block
afterBreak, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, isShapeFullCube, isSideInvisible, method_42326, mirror, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStateReplaced, onUse, prepare, randomTick, rotateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
SHRIEKING
- Mappings:
Namespace Name Mixin selector official aLcmb;a:Lcsb;intermediary field_38229Lnet/minecraft/class_7268;field_38229:Lnet/minecraft/class_2746;named SHRIEKINGLnet/minecraft/block/SculkShriekerBlock;SHRIEKING:Lnet/minecraft/state/property/BooleanProperty;
-
field_38230
- Mappings:
Namespace Name Mixin selector official bLcmb;b:Lcsb;intermediary field_38230Lnet/minecraft/class_7268;field_38230:Lnet/minecraft/class_2746;named field_38230Lnet/minecraft/block/SculkShriekerBlock;field_38230:Lnet/minecraft/state/property/BooleanProperty;
-
field_38231
- Mappings:
Namespace Name Mixin selector official cLcmb;c:Ldsw;intermediary field_38231Lnet/minecraft/class_7268;field_38231:Lnet/minecraft/class_265;named field_38231Lnet/minecraft/block/SculkShriekerBlock;field_38231:Lnet/minecraft/util/shape/VoxelShape;
-
field_38233
private static final int field_38233- See Also:
- Mappings:
Namespace Name Mixin selector official eLcmb;e:Iintermediary field_38233Lnet/minecraft/class_7268;field_38233:Inamed field_38233Lnet/minecraft/block/SculkShriekerBlock;field_38233:I
-
field_38232
public static final double field_38232- Mappings:
Namespace Name Mixin selector official dLcmb;d:Dintermediary field_38232Lnet/minecraft/class_7268;field_38232:Dnamed field_38232Lnet/minecraft/block/SculkShriekerBlock;field_38232:D
-
-
Constructor Details
-
SculkShriekerBlock
- Mappings:
Namespace Name Mixin selector official <init>Lcrj;<init>(Lcrj$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLcfr;a(Lcrl$a;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
onSteppedOn
Called when an entity steps on this block.- Overrides:
onSteppedOnin classBlock- Mappings:
Namespace Name Mixin selector official aLcfr;a(Lccx;Lgk;Lcrk;Layg;)Vintermediary method_9591Lnet/minecraft/class_2248;method_9591(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1297;)Vnamed onSteppedOnLnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)V
-
scheduledTick
- Overrides:
scheduledTickin classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Laef;Lgk;Ljava/util/Random;)Vintermediary method_9588Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
neighborUpdate
public void neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) - Overrides:
neighborUpdatein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lccx;Lgk;Lcfr;Lgk;Z)Vintermediary method_9612Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)Vnamed neighborUpdateLnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
-
method_42315
public static boolean method_42315(ServerWorld serverWorld, BlockPos blockPos, BlockState blockState) - Mappings:
Namespace Name Mixin selector official aLcmb;a(Laef;Lgk;Lcrk;)Zintermediary method_42315Lnet/minecraft/class_7268;method_42315(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed method_42315Lnet/minecraft/block/SculkShriekerBlock;method_42315(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
method_42312
- Mappings:
Namespace Name Mixin selector official aLcmb;a(Laef;Lcrk;Lgk;)Vintermediary method_42312Lnet/minecraft/class_7268;method_42312(Lnet/minecraft/class_3218;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed method_42312Lnet/minecraft/block/SculkShriekerBlock;method_42312(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
method_42313
private static Optional<SculkShriekerWarningManager> method_42313(ServerWorld serverWorld, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector official aLcmb;a(Laef;Lgk;)Ljava/util/Optional;intermediary method_42313Lnet/minecraft/class_7268;method_42313(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Ljava/util/Optional;named method_42313Lnet/minecraft/block/SculkShriekerBlock;method_42313(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-
getRenderType
- Overrides:
getRenderTypein classBlockWithEntity- Mappings:
Namespace Name Mixin selector official b_Lcrj;b_(Lcrk;)Lclm;intermediary method_9604Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;named getRenderTypeLnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official cLcrj;c(Lcrk;Lccd;Lgk;Ldsi;)Ldsw;intermediary method_9549Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;named getCollisionShapeLnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
getCullingShape
- Overrides:
getCullingShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official b_Lcrj;b_(Lcrk;Lccd;Lgk;)Ldsw;intermediary method_9571Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getCullingShapeLnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
hasSidedTransparency
- Overrides:
hasSidedTransparencyin classAbstractBlock- Mappings:
Namespace Name Mixin selector official g_Lcrj;g_(Lcrk;)Zintermediary method_9526Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Znamed hasSidedTransparencyLnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
-
createBlockEntity
- Specified by:
createBlockEntityin interfaceBlockEntityProvider- Mappings:
Namespace Name Mixin selector official aLchz;a(Lgk;Lcrk;)Lcpf;intermediary method_10123Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;named createBlockEntityLnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.- Overrides:
getStateForNeighborUpdatein classAbstractBlock- Parameters:
state- the state of this blockdirection- the direction from this block to the neighborneighborState- the state of the updated neighbor blockworld- the worldpos- the position of this blockneighborPos- the position of the neighbor block- Returns:
- the new state of this block
- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lgp;Lcrk;Lccy;Lgk;Lgk;)Lcrk;intermediary method_9559Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getStateForNeighborUpdateLnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getFluidState
- Overrides:
getFluidStatein classAbstractBlock- Mappings:
Namespace Name Mixin selector official c_Lcrj;c_(Lcrk;)Ldlj;intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
onStacksDropped
- Overrides:
onStacksDroppedin classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Laef;Lgk;Lbwx;)Vintermediary method_9565Lnet/minecraft/class_4970;method_9565(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)Vnamed onStacksDroppedLnet/minecraft/block/AbstractBlock;onStacksDropped(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
-
getGameEventListener
@Nullable public <T extends BlockEntity> @Nullable GameEventListener getGameEventListener(ServerWorld serverWorld, T blockEntity) - Specified by:
getGameEventListenerin interfaceBlockEntityProvider- Mappings:
Namespace Name Mixin selector official aLchz;a(Laef;Lcpf;)Lcvr;intermediary method_32896Lnet/minecraft/class_2343;method_32896(Lnet/minecraft/class_3218;Lnet/minecraft/class_2586;)Lnet/minecraft/class_5714;named getGameEventListenerLnet/minecraft/block/BlockEntityProvider;getGameEventListener(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/world/event/listener/GameEventListener;
-
getTicker
@Nullable public <T extends BlockEntity> @Nullable BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type) - Specified by:
getTickerin interfaceBlockEntityProvider- Mappings:
Namespace Name Mixin selector official aLchz;a(Lccx;Lcrk;Lcph;)Lcpg;intermediary method_31645Lnet/minecraft/class_2343;method_31645(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2591;)Lnet/minecraft/class_5558;named getTickerLnet/minecraft/block/BlockEntityProvider;getTicker(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntityType;)Lnet/minecraft/block/entity/BlockEntityTicker;
-