public interface IBroomPartRegistry
extends org.cyclops.cyclopscore.init.IRegistry
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ResourceLocation |
getPartModel(IBroomPart part)
Get the model resource location of the given part.
|
java.util.Collection<net.minecraft.util.ResourceLocation> |
getPartModels()
Get all registered model resource locations for the parts.
|
java.util.Collection<IBroomPart> |
getParts() |
java.util.Collection<IBroomPart> |
getParts(IBroomPart.BroomPartType type) |
<P extends IBroomPart> |
registerPart(P part)
Register a new broom part.
|
void |
registerPartModel(IBroomPart part,
net.minecraft.util.ResourceLocation modelLocation)
Register a model resource location for the given part.
|
<P extends IBroomPart> P registerPart(P part)
P - The type of part.part - The part.java.util.Collection<IBroomPart> getParts()
java.util.Collection<IBroomPart> getParts(IBroomPart.BroomPartType type)
type - The type of parts to retrieve.void registerPartModel(IBroomPart part, net.minecraft.util.ResourceLocation modelLocation)
part - The partmodelLocation - The model resource location.net.minecraft.util.ResourceLocation getPartModel(IBroomPart part)
part - The part.java.util.Collection<net.minecraft.util.ResourceLocation> getPartModels()