Class RendererGroup
java.lang.Object
kr.toxicity.model.api.data.renderer.RendererGroup
A group of models.
-
Constructor Summary
ConstructorsConstructorDescriptionRendererGroup(@NotNull BoneName name, float scale, @Nullable org.bukkit.inventory.ItemStack itemStack, BlueprintChildren.BlueprintGroup group, @NotNull Map<BoneName, RendererGroup> children, @Nullable NamedBoundingBox box) Creates group instance. -
Method Summary
Modifier and TypeMethodDescription@NotNull RenderedBonecreate(@NotNull RenderSource<?> source, @NotNull TrackerModifier modifier) Creates entity.@NotNull Stream<RendererGroup> flatten()@NotNull TransformedItemStackGets display item.
-
Constructor Details
-
RendererGroup
public RendererGroup(@NotNull @NotNull BoneName name, float scale, @Nullable @Nullable org.bukkit.inventory.ItemStack itemStack, @NotNull BlueprintChildren.BlueprintGroup group, @NotNull @NotNull Map<BoneName, RendererGroup> children, @Nullable @Nullable NamedBoundingBox box) Creates group instance.- Parameters:
name- namescale- scaleitemStack- itemgroup- parentchildren- childrenbox- hit-box
-
-
Method Details
-
flatten
-
create
@NotNull public @NotNull RenderedBone create(@NotNull @NotNull RenderSource<?> source, @NotNull @NotNull TrackerModifier modifier) Creates entity.- Parameters:
source- source- Returns:
- entity
-
getItemStack
Gets display item.- Returns:
- item
-