类 GossamerCarpetBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.CarpetBlock
pers.saikel0rado1iu.spontaneousreplace.cobwebbed.block.GossamerCarpetBlock
- 所有已实现的接口:
net.fabricmc.fabric.api.block.v1.FabricBlock,net.minecraft.item.ItemConvertible,net.minecraft.resource.featuretoggle.ToggleableFeature
public class GossamerCarpetBlock
extends net.minecraft.block.CarpetBlock
覆地蛛丝方块
覆地蛛丝方块,一种苔藓类方块,踩在此方块上的非蜘蛛类实体会减速- 从以下版本开始:
- 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 extends Object> -
字段概要
字段从类继承的字段 net.minecraft.block.CarpetBlock
CODEC, SHAPE从类继承的字段 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, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier从接口继承的字段 net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonEntityCollision(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity) 在方块上减速 25%从类继承的方法 net.minecraft.block.CarpetBlock
canPlaceAt, getCodec, getOutlineShape, getStateForNeighborUpdate从类继承的方法 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, toString从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onExploded, onProjectileHit, 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
-
字段详细资料
-
DECELERATION
public static final float DECELERATION- 另请参阅:
-
-
构造器详细资料
-
GossamerCarpetBlock
public GossamerCarpetBlock(net.minecraft.block.AbstractBlock.Settings settings)
-
-
方法详细资料
-
onEntityCollision
public void onEntityCollision(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity) 在方块上减速 25%- 覆盖:
onEntityCollision在类中net.minecraft.block.AbstractBlock
-