Package appeng.api.parts
Interface IPartModel
public interface IPartModel
A container to store a collection of
ResourceLocation
as models for a part as well as other properties.-
Method Summary
Modifier and TypeMethodDescriptiondefault List
<net.minecraft.resources.ResourceLocation> A collection ofResourceLocation
used as models for a part.default boolean
A solidIPartModel
indicates that the rendering requires a cable connection, which will also result in creating an intersection for the cable.
-
Method Details
-
requireCableConnection
default boolean requireCableConnection()A solidIPartModel
indicates that the rendering requires a cable connection, which will also result in creating an intersection for the cable. This should be true for pretty much all parts.- Returns:
- true for a solid part.
-
getModels
A collection ofResourceLocation
used as models for a part.- Returns:
- a collection of models, never null.
-