Class BlockDisplayBuilder
java.lang.Object
dev.sefiraat.sefilib.entity.display.builders.BlockDisplayBuilder
- All Implemented Interfaces:
DisplayInteractable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Display.Billboardprotected BlockDataprotected Display.Brightnessprotected floatprotected floatprotected Colorprotected Vectorprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected intprotected intprotected Locationprotected floatprotected floatprotected Transformationprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDisplay(Display display) build()build(DisplayGroup group) setBillboard(Display.Billboard billboard) setBlockData(BlockData blockData) setBrightness(Display.Brightness brightness) setDisplayHeight(float displayHeight) setDisplayWidth(float displayWidth) setGlowColorOverride(Color glowColorOverride) setGroupParentOffset(Vector groupParentOffset) setInterpolationDelay(int interpolationDelay) setInterpolationDuration(int interpolationDuration) setLocation(Location location) setShadowRadius(float shadowRadius) setShadowStrength(float shadowStrength) setTransformation(Transformation transformation) setViewRange(float viewRange)
-
Field Details
-
blockData
-
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
-
BlockDisplayBuilder
public BlockDisplayBuilder()
-
-
Method Details
-
setBlockData
-
build
-
build
-
setTransformation
-
setInterpolationDuration
-
setInterpolationDelay
-
setViewRange
-
setShadowRadius
-
setShadowStrength
-
setDisplayWidth
-
setDisplayHeight
-
setBillboard
-
setGlowColorOverride
-
setBrightness
-
setLocation
-
setGroupParentOffset
-
applyDisplay
-