net.minecraft.world.level.block

public class WoolCarpetBlock

extends CarpetBlock implements Equipable

All mapped superinterfaces:

FeatureElement, ItemLike, Equipable

dpu
net.minecraft.world.level.block.WoolCarpetBlock
net.minecraft.class_5815
net.minecraft.block.DyedCarpetBlock
net.minecraft.src.C_1971_
net.minecraft.world.level.block.BlockCarpet

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WoolCarpetBlock>
c
CODEC
field_46506
CODEC
f_302801_
private final DyeColor
d
color
field_28715
dyeColor
f_58288_

Constructor summary

ModifierConstructor
protected (DyeColor dyeColor, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<WoolCarpetBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public DyeColor
b()
getColor()
method_33635()
getDyeColor()
m_58309_()
public EquipmentSlot
m()
getEquipmentSlot()
method_7685()
getSlotType()
m_40402_()
public Holder<SoundEvent>
n()
getEquipSound()
method_31570()
getEquipSound()
m_150681_()