Package net.minecraft.block
Class DyedCarpetBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.CarpetBlock
net.minecraft.block.DyedCarpetBlock
- All Implemented Interfaces:
- ItemConvertible
A carpet that has an associated carpet color for llamas.
- Mappings:
- Namespace - Name - official - csw- intermediary - net/minecraft/class_5815- named - net/minecraft/block/DyedCarpetBlock
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.BlockBlock.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsFields inherited from class net.minecraft.block.CarpetBlockSHAPEFields inherited from class net.minecraft.block.Blockfield_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedDyedCarpetBlock(DyeColor dyeColor, AbstractBlock.Settings settings) 
- 
Method SummaryMethods inherited from class net.minecraft.block.CarpetBlockcanPlaceAt, getOutlineShape, getStateForNeighborUpdateMethods inherited from class net.minecraft.block.BlockafterBreak, appendProperties, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, 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, isTranslucent, 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.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
- 
Field Details- 
dyeColor- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcsw;b:Lbzq;- intermediary - field_28715- Lnet/minecraft/class_5815;field_28715:Lnet/minecraft/class_1767;- named - dyeColor- Lnet/minecraft/block/DyedCarpetBlock;dyeColor:Lnet/minecraft/util/DyeColor;
 
 
- 
- 
Constructor Details- 
DyedCarpetBlock- Parameters:
- dyeColor- the color of this carpet when worn by a llama
- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lcsw;<init>(Lbzq;Lcvn$c;)V- intermediary - <init>- Lnet/minecraft/class_5815;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V- named - <init>- Lnet/minecraft/block/DyedCarpetBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
 
 
- 
- 
Method Details- 
getDyeColorReturns the color of this carpet when worn by a llama.If null, the llama will not appear to be wearing the carpet. However, the carpet will remain wearable by the llama.- Returns:
- the color of this carpet when worn by a llama
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcsw;b()Lbzq;- intermediary - method_33635- Lnet/minecraft/class_5815;method_33635()Lnet/minecraft/class_1767;- named - getDyeColor- Lnet/minecraft/block/DyedCarpetBlock;getDyeColor()Lnet/minecraft/util/DyeColor;
 
 
-