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 named net/minecraft/block/SculkBlockintermediary net/minecraft/class_7125official drq
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
field_31023, field_31024, field_31025, field_55740, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_CALLBACKS, SKIP_DROPS, SKIP_REDRAW_AND_CALLBACKS, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, 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 TypeMethodDescriptioncom.mojang.serialization.MapCodec<SculkBlock> getCodec()private 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, createColumnShape, createColumnShape, createCubeShape, createCuboidShape, createCuboidShape, createCuboidZShape, createCuboidZShape, createCuboidZShape, createShapeArray, createShapeFunction, createShapeFunction, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getRegistryEntry, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, 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, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, isTransparent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, 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
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/block/SculkBlock;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_46433Lnet/minecraft/class_7125;field_46433:Lcom/mojang/serialization/MapCodec;official bLdrq;b:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
SculkBlock
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vofficial <init>Ldyl;<init>(Ldyl$d;)V
-
-
Method Details
-
getCodec
- Overrides:
getCodecin classExperienceDroppingBlock- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;official aLdyl;a()Lcom/mojang/serialization/MapCodec;
-
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 named 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)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)Iofficial aLdrp;a(Ldru$a;Ldhq;Ljj;Lazs;Ldru;Z)I
-
getDecay
private static int getDecay(SculkSpreadManager spreadManager, BlockPos cursorPos, BlockPos catalystPos, int charge) - Mappings:
Namespace Name Mixin selector named getDecayLnet/minecraft/block/SculkBlock;getDecay(Lnet/minecraft/block/entity/SculkSpreadManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;I)Iintermediary method_41476Lnet/minecraft/class_7125;method_41476(Lnet/minecraft/class_7128;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;I)Iofficial aLdrq;a(Ldru;Ljj;Ljj;I)I
-
getExtraBlockState
private BlockState getExtraBlockState(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) - Mappings:
Namespace Name Mixin selector 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;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;official aLdrq;a(Ldhq;Ljj;Lazs;Z)Ldym;
-
shouldNotDecay
- Mappings:
Namespace Name Mixin selector named shouldNotDecayLnet/minecraft/block/SculkBlock;shouldNotDecay(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_41474Lnet/minecraft/class_7125;method_41474(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Zofficial aLdrq;a(Ldhq;Ljj;)Z
-
shouldConvertToSpreadable
public boolean shouldConvertToSpreadable()- Specified by:
shouldConvertToSpreadablein interfaceSculkSpreadable- Mappings:
Namespace Name Mixin selector named shouldConvertToSpreadableLnet/minecraft/block/SculkSpreadable;shouldConvertToSpreadable()Zintermediary method_41472Lnet/minecraft/class_7124;method_41472()Zofficial dLdrp;d()Z
-