Package net.minecraft.block
Class SculkBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.ExperienceDroppingBlock
net.minecraft.block.SculkBlock
- All Implemented Interfaces:
SculkSpreadable,ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name official cwbintermediary net/minecraft/class_7125named net/minecraft/block/SculkBlock
-
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.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
Fields 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, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.block.SculkSpreadable
VEIN_ONLY_SPREADERFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intgetDecay(SculkSpreadManager spreadManager, BlockPos cursorPos, BlockPos catalystPos, int charge) private BlockStategetExtraBlockState(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) booleanprivate static booleanshouldNotDecay(WorldAccess world, BlockPos pos) intspread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) Methods inherited from class net.minecraft.block.ExperienceDroppingBlock
onStacksDroppedMethods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, 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, isTransparent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.SculkSpreadable
getDecay, getUpdate, method_41470, spread, spreadAtSamePositionMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
SculkBlock
- Mappings:
Namespace Name Mixin selector official <init>Ldbx;<init>(Ldbx$d;)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
-
spread
public int spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) - Specified by:
spreadin interfaceSculkSpreadable- Mappings:
Namespace Name Mixin selector official aLcwa;a(Lcwf$a;Lcml;Lgu;Lapf;Lcwf;Z)Iintermediary method_41471Lnet/minecraft/class_7124;method_41471(Lnet/minecraft/class_7128$class_7129;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_7128;Z)Inamed spreadLnet/minecraft/block/SculkSpreadable;spread(Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/block/entity/SculkSpreadManager;Z)I
-
getDecay
private static int getDecay(SculkSpreadManager spreadManager, BlockPos cursorPos, BlockPos catalystPos, int charge) - Mappings:
Namespace Name Mixin selector official aLcwb;a(Lcwf;Lgu;Lgu;I)Iintermediary method_41476Lnet/minecraft/class_7125;method_41476(Lnet/minecraft/class_7128;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;I)Inamed getDecayLnet/minecraft/block/SculkBlock;getDecay(Lnet/minecraft/block/entity/SculkSpreadManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;I)I
-
getExtraBlockState
private BlockState getExtraBlockState(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) - Mappings:
Namespace Name Mixin selector official aLcwb;a(Lcml;Lgu;Lapf;Z)Ldby;intermediary method_41475Lnet/minecraft/class_7125;method_41475(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Z)Lnet/minecraft/class_2680;named getExtraBlockStateLnet/minecraft/block/SculkBlock;getExtraBlockState(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Z)Lnet/minecraft/block/BlockState;
-
shouldNotDecay
- Mappings:
Namespace Name Mixin selector official aLcwb;a(Lcml;Lgu;)Zintermediary method_41474Lnet/minecraft/class_7125;method_41474(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Znamed shouldNotDecayLnet/minecraft/block/SculkBlock;shouldNotDecay(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
-
shouldConvertToSpreadable
public boolean shouldConvertToSpreadable()- Specified by:
shouldConvertToSpreadablein interfaceSculkSpreadable- Mappings:
Namespace Name Mixin selector official cLcwa;c()Zintermediary method_41472Lnet/minecraft/class_7124;method_41472()Znamed shouldConvertToSpreadableLnet/minecraft/block/SculkSpreadable;shouldConvertToSpreadable()Z
-