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 cmmintermediary 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 VoxelShapeprivate static final intstatic final BooleanPropertystatic final doublestatic 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) static booleancanShriek(ServerWorld world, BlockPos pos, BlockState state) createBlockEntity(BlockPos pos, BlockState state) private static Optional<SculkShriekerWarningManager>getClosestPlayerWarningManager(ServerWorld world, BlockPos pos) 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 world, 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) 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) static voidshriek(ServerWorld world, BlockState state, BlockPos pos) 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, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, 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 aLcmm;a:Lcsm;intermediary field_38229Lnet/minecraft/class_7268;field_38229:Lnet/minecraft/class_2746;named SHRIEKINGLnet/minecraft/block/SculkShriekerBlock;SHRIEKING:Lnet/minecraft/state/property/BooleanProperty;
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector official bLcmm;b:Lcsm;intermediary field_38230Lnet/minecraft/class_7268;field_38230:Lnet/minecraft/class_2746;named WATERLOGGEDLnet/minecraft/block/SculkShriekerBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
CAN_SUMMON
- Mappings:
Namespace Name Mixin selector official cLcmm;c:Lcsm;intermediary field_38422Lnet/minecraft/class_7268;field_38422:Lnet/minecraft/class_2746;named CAN_SUMMONLnet/minecraft/block/SculkShriekerBlock;CAN_SUMMON:Lnet/minecraft/state/property/BooleanProperty;
-
SHAPE
- Mappings:
Namespace Name Mixin selector official dLcmm;d:Ldth;intermediary field_38231Lnet/minecraft/class_7268;field_38231:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/SculkShriekerBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHRIEK_DURATION
private static final int SHRIEK_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official fLcmm;f:Iintermediary field_38233Lnet/minecraft/class_7268;field_38233:Inamed SHRIEK_DURATIONLnet/minecraft/block/SculkShriekerBlock;SHRIEK_DURATION:I
-
TOP
public static final double TOP- Mappings:
Namespace Name Mixin selector official eLcmm;e:Dintermediary field_38232Lnet/minecraft/class_7268;field_38232:Dnamed TOPLnet/minecraft/block/SculkShriekerBlock;TOP:D
-
-
Constructor Details
-
SculkShriekerBlock
- Mappings:
Namespace Name Mixin selector official <init>Lcru;<init>(Lcru$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 aLcgc;a(Lcrw$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 aLcgc;a(Lcdi;Lgk;Lcrv;Layl;)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 aLcru;a(Lcrv;Laeh;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 aLcru;a(Lcrv;Lcdi;Lgk;Lcgc;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
-
canShriek
- Mappings:
Namespace Name Mixin selector official aLcmm;a(Laeh;Lgk;Lcrv;)Zintermediary method_42315Lnet/minecraft/class_7268;method_42315(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed canShriekLnet/minecraft/block/SculkShriekerBlock;canShriek(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
shriek
- Mappings:
Namespace Name Mixin selector official aLcmm;a(Laeh;Lcrv;Lgk;)Vintermediary method_42312Lnet/minecraft/class_7268;method_42312(Lnet/minecraft/class_3218;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed shriekLnet/minecraft/block/SculkShriekerBlock;shriek(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
getClosestPlayerWarningManager
private static Optional<SculkShriekerWarningManager> getClosestPlayerWarningManager(ServerWorld world, BlockPos pos) - Mappings:
Namespace Name Mixin selector official aLcmm;a(Laeh;Lgk;)Ljava/util/Optional;intermediary method_42313Lnet/minecraft/class_7268;method_42313(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Ljava/util/Optional;named getClosestPlayerWarningManagerLnet/minecraft/block/SculkShriekerBlock;getClosestPlayerWarningManager(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-
getRenderType
- Overrides:
getRenderTypein classBlockWithEntity- Mappings:
Namespace Name Mixin selector official b_Lcru;b_(Lcrv;)Lclx;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 cLcru;c(Lcrv;Lcco;Lgk;Ldst;)Ldth;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_Lcru;b_(Lcrv;Lcco;Lgk;)Ldth;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_Lcru;g_(Lcrv;)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 aLcik;a(Lgk;Lcrv;)Lcpq;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 aLcru;a(Lcrv;Lgp;Lcrv;Lcdj;Lgk;Lgk;)Lcrv;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_Lcru;c_(Lcrv;)Ldlu;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 aLcru;a(Lcrv;Laeh;Lgk;Lbxi;)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 world, T blockEntity) - Specified by:
getGameEventListenerin interfaceBlockEntityProvider- Mappings:
Namespace Name Mixin selector official aLcik;a(Laeh;Lcpq;)Lcwc;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 aLcik;a(Lcdi;Lcrv;Lcps;)Lcpr;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;
-