类 TreacherousSacBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
pers.saikel0rado1iu.spontaneousreplace.terriforest.block.TreacherousSacBlock
- 所有已实现的接口:
net.fabricmc.fabric.api.block.v1.FabricBlock,net.minecraft.item.ItemConvertible,net.minecraft.resource.featuretoggle.ToggleableFeature
public class TreacherousSacBlock
extends pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
诡谲囊
一种特殊的植株方块,在受到强烈击打时会爆炸- 从以下版本开始:
- 1.0.0
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.block.Block
net.minecraft.block.Block.NeighborGroup从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
net.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.ContextPredicate, net.minecraft.block.AbstractBlock.Offsetter, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Settings, net.minecraft.block.AbstractBlock.TypedContextPredicate<A> -
字段概要
字段从类继承的字段 net.minecraft.block.Block
field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManager从类继承的字段 net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier从接口继承的字段 net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected pers.saikel0rado1iu.silk.api.spore.TntLikeEntitycreateEntity(net.minecraft.world.World world, double x, double y, double z, Optional<net.minecraft.entity.LivingEntity> igniter) protected com.mojang.serialization.MapCodec<? extends pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock> getCodec()voidneighborUpdate(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.Block sourceBlock, net.minecraft.util.math.BlockPos sourcePos, boolean notify) voidonBlockAdded(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState oldState, boolean notify) voidonLandedUpon(net.minecraft.world.World world, net.minecraft.block.BlockState state, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity, float fallDistance) 如果在方块上跳跃则有概率会爆炸voidonProjectileHit(net.minecraft.world.World world, net.minecraft.block.BlockState state, net.minecraft.util.hit.BlockHitResult hit, net.minecraft.entity.projectile.ProjectileEntity projectile) 如果被弹射物击中protected net.minecraft.util.ItemActionResultonUseWithItem(net.minecraft.item.ItemStack stack, net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.util.hit.BlockHitResult hit) 如果被斧右键使用则会爆炸protected voidprimeTnt(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, Optional<net.minecraft.entity.LivingEntity> igniter) voidrandomDisplayTick(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random) 随机酸气粒子效果从类继承的方法 pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
appendProperties, onBreak, onBreakSuper, onDestroyedByExplosion, onUseWithItemSuper, primeTnt, shouldDropItemsOnExplosion从类继承的方法 net.minecraft.block.Block
afterBreak, 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, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBroken, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, sideCoversSmallSquare, spawnBreakParticles, toString从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, isTransparent, mirror, onBlockBreakStart, onEntityCollision, onExploded, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 net.fabricmc.fabric.api.block.v1.FabricBlock
getAppearance从接口继承的方法 net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
字段详细资料
-
CODEC
-
-
构造器详细资料
-
TreacherousSacBlock
public TreacherousSacBlock(net.minecraft.block.AbstractBlock.Settings settings)
-
-
方法详细资料
-
primeTnt
protected void primeTnt(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, Optional<net.minecraft.entity.LivingEntity> igniter) - 覆盖:
primeTnt在类中pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
-
randomDisplayTick
public void randomDisplayTick(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random) 随机酸气粒子效果- 覆盖:
randomDisplayTick在类中net.minecraft.block.Block
-
onLandedUpon
public void onLandedUpon(net.minecraft.world.World world, net.minecraft.block.BlockState state, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity, float fallDistance) 如果在方块上跳跃则有概率会爆炸- 覆盖:
onLandedUpon在类中net.minecraft.block.Block
-
onUseWithItem
protected net.minecraft.util.ItemActionResult onUseWithItem(net.minecraft.item.ItemStack stack, net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.util.hit.BlockHitResult hit) 如果被斧右键使用则会爆炸- 覆盖:
onUseWithItem在类中pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
-
onProjectileHit
public void onProjectileHit(net.minecraft.world.World world, net.minecraft.block.BlockState state, net.minecraft.util.hit.BlockHitResult hit, net.minecraft.entity.projectile.ProjectileEntity projectile) 如果被弹射物击中- 覆盖:
onProjectileHit在类中pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
-
onBlockAdded
public void onBlockAdded(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState oldState, boolean notify) - 覆盖:
onBlockAdded在类中pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
-
neighborUpdate
public void neighborUpdate(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.Block sourceBlock, net.minecraft.util.math.BlockPos sourcePos, boolean notify) - 覆盖:
neighborUpdate在类中pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
-
createEntity
protected pers.saikel0rado1iu.silk.api.spore.TntLikeEntity createEntity(net.minecraft.world.World world, double x, double y, double z, Optional<net.minecraft.entity.LivingEntity> igniter) - 指定者:
createEntity在类中pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
-
getCodec
protected com.mojang.serialization.MapCodec<? extends pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock> getCodec()- 指定者:
getCodec在类中pers.saikel0rado1iu.silk.api.magiccube.TntLikeBlock
-