public interface IBroomPart
| Modifier and Type | Interface and Description |
|---|---|
static class |
IBroomPart.BroomPartType
All types of broom parts.
|
static interface |
IBroomPart.IBroomPartTypeModelOffsetter |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ResourceLocation |
getId() |
float |
getLength() |
int |
getModelColor() |
net.minecraft.item.EnumRarity |
getRarity() |
java.lang.String |
getTooltipLine(java.lang.String prefix)
The line to be added to tooltips.
|
java.lang.String |
getTranslationKey() |
IBroomPart.BroomPartType |
getType() |
boolean |
isEffect() |
boolean |
shouldAutoRegisterMissingItem() |
IBroomPart.BroomPartType getType()
net.minecraft.util.ResourceLocation getId()
java.lang.String getTranslationKey()
@Nullable java.lang.String getTooltipLine(java.lang.String prefix)
prefix - A line prefixfloat getLength()
net.minecraft.item.EnumRarity getRarity()
boolean isEffect()
int getModelColor()
boolean shouldAutoRegisterMissingItem()