Package net.minecraft.block
Class AbstractBannerBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.AbstractBannerBlock
- All Implemented Interfaces:
BlockEntityProvider
,ItemConvertible
- Direct Known Subclasses:
BannerBlock
,WallBannerBlock
- Mappings:
Namespace Name official cbi
intermediary net/minecraft/class_2185
named net/minecraft/block/AbstractBannerBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, 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, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractBannerBlock
(DyeColor color, AbstractBlock.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionboolean
createBlockEntity
(BlockPos pos, BlockState state) getColor()
getPickStack
(BlockView world, BlockPos pos, BlockState state) void
onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, getRenderType, onSyncedBlockEvent
Methods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, appendStacks, appendTooltip, asBlock, asItem, cannotConnect, createCuboidShape, dropExperience, dropStack, 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
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onUse, prepare, randomTick, rotate, scheduledTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.BlockEntityProvider
getGameEventListener, getTicker
-
Field Details
-
color
- Mappings:
Namespace Name Mixin selector official a
Lcbi;a:Lbst;
intermediary field_9855
Lnet/minecraft/class_2185;field_9855:Lnet/minecraft/class_1767;
named color
Lnet/minecraft/block/AbstractBannerBlock;color:Lnet/minecraft/util/DyeColor;
-
-
Constructor Details
-
AbstractBannerBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lcbi;<init>(Lbst;Lcnu$c;)V
intermediary <init>
Lnet/minecraft/class_2185;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBannerBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
canMobSpawnInside
public boolean canMobSpawnInside()- Overrides:
canMobSpawnInside
in classBlock
- Mappings:
Namespace Name Mixin selector official X_
Lccr;X_()Z
intermediary method_9538
Lnet/minecraft/class_2248;method_9538()Z
named canMobSpawnInside
Lnet/minecraft/block/Block;canMobSpawnInside()Z
-
createBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcey;a(Lgh;Lcnv;)Lcls;
intermediary method_10123
Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
named createBlockEntity
Lnet/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) - Overrides:
onPlaced
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lccr;a(Lbzw;Lgh;Lcnv;Laxa;Lbtx;)V
intermediary method_9567
Lnet/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;)V
named onPlaced
Lnet/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
- Overrides:
getPickStack
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lccr;a(Lbzc;Lgh;Lcnv;)Lbtx;
intermediary method_9574
Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;
named getPickStack
Lnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
getColor
- Mappings:
Namespace Name Mixin selector official b
Lcbi;b()Lbst;
intermediary method_9303
Lnet/minecraft/class_2185;method_9303()Lnet/minecraft/class_1767;
named getColor
Lnet/minecraft/block/AbstractBannerBlock;getColor()Lnet/minecraft/util/DyeColor;
-