类 AbstractBannerBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.BlockWithEntity
-
- net.minecraft.block.AbstractBannerBlock
-
- 所有已实现的接口:
BlockEntityProvider,ItemConvertible
- 直接已知子类:
BannerBlock,WallBannerBlock
public abstract class AbstractBannerBlock extends BlockWithEntity
- Mappings:
Namespace Name official bxhintermediary net/minecraft/class_2185named net/minecraft/block/AbstractBannerBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private DyeColorcolor-
从类继承的字段 net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
-
从类继承的字段 net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractBannerBlock(DyeColor color, AbstractBlock.Settings settings)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanMobSpawnInside()BlockEntitycreateBlockEntity(BlockPos pos, BlockState state)DyeColorgetColor()ItemStackgetPickStack(BlockView world, BlockPos pos, BlockState state)voidonPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)-
从类继承的方法 net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, getRenderType, onSyncedBlockEvent
-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onUse, prepare, randomTick, rotate, scheduledTick
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.block.BlockEntityProvider
getGameEventListener, getTicker
-
-
-
-
字段详细资料
-
color
private final DyeColor color
- Mappings:
Namespace Name Mixin selector official aLbxh;a:Lbon;intermediary field_9855Lnet/minecraft/class_2185;field_9855:Lnet/minecraft/class_1767;named colorLnet/minecraft/block/AbstractBannerBlock;color:Lnet/minecraft/util/DyeColor;
-
-
构造器详细资料
-
AbstractBannerBlock
protected AbstractBannerBlock(DyeColor color, AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lbxh;<init>(Lbon;Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_2185;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBannerBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
canMobSpawnInside
public boolean canMobSpawnInside()
- 覆盖:
canMobSpawnInside在类中Block- Mappings:
Namespace Name Mixin selector official al_Lbyq;al_()Zintermediary method_9538Lnet/minecraft/class_2248;method_9538()Znamed canMobSpawnInsideLnet/minecraft/block/Block;canMobSpawnInside()Z
-
createBlockEntity
public BlockEntity createBlockEntity(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official aLcax;a(Lgb;Lcjr;)Lchp;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;
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, @Nullable @Nullable LivingEntity placer, ItemStack itemStack)
- 覆盖:
onPlaced在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbvr;Lgb;Lcjr;Lasy;Lbpr;)Vintermediary method_9567Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
getPickStack
public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state)
- 覆盖:
getPickStack在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbuv;Lgb;Lcjr;)Lbpr;intermediary method_9574Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;named getPickStackLnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
getColor
public DyeColor getColor()
- Mappings:
Namespace Name Mixin selector official bLbxh;b()Lbon;intermediary method_9303Lnet/minecraft/class_2185;method_9303()Lnet/minecraft/class_1767;named getColorLnet/minecraft/block/AbstractBannerBlock;getColor()Lnet/minecraft/util/DyeColor;
-
-