Uses of Class
alexiil.mc.lib.multipart.api.AbstractPart
Package
Description
LibMultiPart's API.
-
Uses of AbstractPart in alexiil.mc.lib.multipart.api
Modifier and TypeClassDescriptionclass
A special kind ofAbstractPart
which is used whenever a part cannot be read from NBT.Modifier and TypeFieldDescriptionstatic final ParentNetIdSingle<AbstractPart>
AbstractPart.NET_ID
static final NetIdDataK<AbstractPart>
AbstractPart.NET_RENDER_DATA
static final NetIdSignalK<AbstractPart>
AbstractPart.NET_SPAWN_BREAK_PARTICLES
Modifier and TypeMethodDescriptionMultipartContainer.MultipartCreator.create
(MultipartHolder holder) default AbstractPart
MultipartContainer.getFirstPart
(Predicate<AbstractPart> filter) MultipartContainer.getPart
(long uniqueId) Retrieves the part whosegetOutlineShape()
contains the givenVec3d
.MultipartHolder.getPart()
abstract AbstractPart
PartLootParams.BrokenPart.getPart()
PartLootParams.BrokenSinglePart.getPart()
PartLootParams.BrokenSubPart.getPart()
PartDefinition.IPartNetLoader.loadFromBuffer
(PartDefinition definition, MultipartHolder holder, NetByteBuf buffer, IMsgReadCtx ctx) PartDefinition.loadFromBuffer
(MultipartHolder holder, NetByteBuf buffer, IMsgReadCtx ctx) PartDefinition.IPartNbtReader.readFromNbt
(PartDefinition definition, MultipartHolder holder, NbtCompound nbt) Reads the pipe pluggable from NBT.PartDefinition.readFromNbt
(MultipartHolder holder, NbtCompound nbt) Modifier and TypeMethodDescriptionMultipartContainer.getAllParts()
default List<AbstractPart>
MultipartContainer.getAllParts
(Predicate<AbstractPart> filter) Modifier and TypeMethodDescriptionprotected final void
AbstractPart.addRequiredPart
(AbstractPart required) void
MultipartHolder.addRequiredPart
(AbstractPart other) Makes thisAbstractPart
depend on another part.boolean
AbstractPart.canOverlapWith
(AbstractPart other) Checks to see if thisAbstractPart
can overlap with the other part.boolean
MultipartContainer.removePart
(AbstractPart part) protected final void
AbstractPart.removeRequiredPart
(AbstractPart required) void
MultipartHolder.removeRequiredPart
(AbstractPart other) Removes the requirement this has for the given part.Modifier and TypeMethodDescriptiondefault List<AbstractPart>
MultipartContainer.getAllParts
(Predicate<AbstractPart> filter) default AbstractPart
MultipartContainer.getFirstPart
(Predicate<AbstractPart> filter) -
Uses of AbstractPart in alexiil.mc.lib.multipart.api.event
Modifier and TypeFieldDescriptionfinal AbstractPart
PartAddedEvent.part
final AbstractPart
PartOfferedEvent.part
final AbstractPart
PartRemovedEvent.removed
ModifierConstructorDescriptionPartAddedEvent
(AbstractPart part) PartOfferedEvent
(AbstractPart part) PartRemovedEvent
(AbstractPart removed) -
Uses of AbstractPart in alexiil.mc.lib.multipart.api.render
Modifier and TypeMethodDescription<P extends AbstractPart>
voidPartDynamicModelRegisterEvent.DynamicModelRenderer.register
(Class<P> clazz, PartRenderer<P> renderer) Registers a renderer that will render the given class, and all of it's subclasses (unless a different renderer is registered for one of the subclasses).