Class ItemDisplayBuilder
java.lang.Object
dev.sefiraat.sefilib.entity.display.builders.ItemDisplayBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Display.Billboardprotected Display.Brightnessprotected floatprotected floatprotected Colorprotected Vectorprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected intprotected intprotected ItemDisplay.ItemDisplayTransformprotected ItemStackprotected Locationprotected floatprotected floatprotected Transformationprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDisplay(Display display) build()build(DisplayGroup group) setBillboard(Display.Billboard billboard) setBrightness(Display.Brightness brightness) setDisplayHeight(float displayHeight) setDisplayWidth(float displayWidth) setGlowColorOverride(Color glowColorOverride) setGroupParentOffset(Vector groupParentOffset) setInterpolationDelay(int interpolationDelay) setInterpolationDuration(int interpolationDuration) setItemDisplayTransform(ItemDisplay.ItemDisplayTransform itemDisplayTransform) setItemStack(ItemStack itemStack) setLocation(Location location) setShadowRadius(float shadowRadius) setShadowStrength(float shadowStrength) setTransformation(Transformation transformation) setViewRange(float viewRange)
-
Field Details
-
itemStack
-
itemDisplayTransform
-
transformation
-
interpolationDuration
protected int interpolationDuration -
hasInterpolationDuration
protected boolean hasInterpolationDuration -
interpolationDelay
protected int interpolationDelay -
hasInterpolationDelay
protected boolean hasInterpolationDelay -
viewRange
protected float viewRange -
hasViewRange
protected boolean hasViewRange -
shadowRadius
protected float shadowRadius -
hasShadowRadius
protected boolean hasShadowRadius -
shadowStrength
protected float shadowStrength -
hasShadowStrength
protected boolean hasShadowStrength -
displayWidth
protected float displayWidth -
hasDisplayWidth
protected boolean hasDisplayWidth -
displayHeight
protected float displayHeight -
hasDisplayHeight
protected boolean hasDisplayHeight -
billboard
-
glowColorOverride
-
brightness
-
location
-
groupParentOffset
-
-
Constructor Details
-
ItemDisplayBuilder
public ItemDisplayBuilder()
-
-
Method Details
-
setItemStack
-
setItemDisplayTransform
public ItemDisplayBuilder setItemDisplayTransform(@Nonnull ItemDisplay.ItemDisplayTransform itemDisplayTransform) -
build
-
build
-
setTransformation
-
setInterpolationDuration
-
setInterpolationDelay
-
setViewRange
-
setShadowRadius
-
setShadowStrength
-
setDisplayWidth
-
setDisplayHeight
-
setBillboard
-
setGlowColorOverride
-
setBrightness
-
setLocation
-
setGroupParentOffset
-
applyDisplay
-