Package org.cyclops.evilcraft.core.broom
Class BroomPartCapMetal
java.lang.Object
org.cyclops.evilcraft.core.broom.BroomPartBase
org.cyclops.evilcraft.core.broom.BroomPartCapMetal
- All Implemented Interfaces:
IBroomPart
A broom part for a metal cap
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cyclops.evilcraft.api.broom.IBroomPart
IBroomPart.BroomPartType, IBroomPart.IBroomPartTypeModelOffsetter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected voidMethods inherited from class org.cyclops.evilcraft.core.broom.BroomPartBase
getId, getTooltipLine, getTranslationKey, shouldAutoRegisterMissingItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.evilcraft.api.broom.IBroomPart
getLength, getRarity, getType, isEffect
-
Constructor Details
-
BroomPartCapMetal
public BroomPartCapMetal(net.minecraft.resources.ResourceLocation id, int color)
-
-
Method Details
-
registerModelResourceLocation
protected void registerModelResourceLocation()- Overrides:
registerModelResourceLocationin classBroomPartBase
-
getModelColor
public int getModelColor()- Specified by:
getModelColorin interfaceIBroomPart- Overrides:
getModelColorin classBroomPartBase- Returns:
- The tint of this part's model.
-