public class BroomPartModifier extends BroomPartBase
IBroomPart.BroomPartType, IBroomPart.IBroomPartTypeModelOffsetter| Constructor and Description |
|---|
BroomPartModifier(BroomModifier modifier) |
| Modifier and Type | Method and Description |
|---|---|
int |
getModelColor() |
net.minecraft.util.text.ITextComponent |
getTooltipLine(java.lang.String prefix)
The line to be added to tooltips.
|
protected void |
registerModelResourceLocation() |
boolean |
shouldAutoRegisterMissingItem() |
getId, getTranslationKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, getRarity, getType, isEffectpublic BroomPartModifier(BroomModifier modifier)
protected void registerModelResourceLocation()
registerModelResourceLocation in class BroomPartBase@Nullable public net.minecraft.util.text.ITextComponent getTooltipLine(java.lang.String prefix)
IBroomPartgetTooltipLine in interface IBroomPartgetTooltipLine in class BroomPartBaseprefix - A line prefixpublic boolean shouldAutoRegisterMissingItem()
shouldAutoRegisterMissingItem in interface IBroomPartshouldAutoRegisterMissingItem in class BroomPartBasepublic int getModelColor()
getModelColor in interface IBroomPartgetModelColor in class BroomPartBase