Package de.slikey.effectlib.effect
Class TextEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.TextEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionFont to create the Textprotected BufferedImageContains an image version of the StringbooleanInvert the textbooleanSet this only to true if you are working with changing text.floatScale the font downintEach stepX pixel will be shown.intEach stepY pixel will be shown.Text to displayFields inherited from class de.slikey.effectlib.Effect
arrivalTime, asynchronous, autoOrient, blockData, blockDuration, callback, color, colorList, colors, delay, disappearWithOriginEntity, disappearWithTargetEntity, duration, effectManager, iterations, material, materialData, maxIterations, offset, origin, particle, particleCount, particleData, particleOffsetX, particleOffsetY, particleOffsetZ, particleSize, period, pitch, pitchOffset, probability, relativeOffset, sculkChargeRotation, shriekDelay, speed, subEffect, subEffectClass, target, targetOffset, targetPlayers, toColor, toColorList, toColors, type, updateDirections, updateLocations, visibleRange, yaw, yawOffset -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.slikey.effectlib.Effect
cancel, cancel, canDisappearWithOriginEntity, canDisappearWithTargetEntity, canUpdateDirections, display, display, display, display, display, getArrivalTime, getBlockData, getBlockDuration, getCallback, getColor, getColorList, getColors, getDelay, getDuration, getDynamicOrigin, getDynamicTarget, getEffectManager, getEntity, getIterations, getLocation, getMaterial, getMaterialData, getMaxIterations, getOffset, getOrigin, getParticle, getParticleCount, getParticleData, getParticleOffsetX, getParticleOffsetY, getParticleOffsetZ, getParticleSize, getPeriod, getPitch, getPitchOffset, getProbability, getRelativeOffset, getSculkChargeRotation, getShriekDelay, getSpeed, getStartTime, getSubEffect, getSubEffectClass, getTarget, getTargetEntity, getTargetOffset, getTargetPlayer, getTargetPlayers, getToColor, getToColorList, getToColors, getType, getVisibleRange, getYaw, getYawOffset, infinite, initialize, isAsynchronous, isAutoOrient, isDone, isPlaying, isUpdateLocations, onDone, parseColorList, prepare, reloadParameters, reset, run, setBlockData, setBlockDuration, setDynamicOrigin, setDynamicTarget, setEntity, setLocation, setMaterial, setMaterialData, setMaxIterations, setOrigin, setParticleCount, setParticleOffsetX, setParticleOffsetY, setParticleOffsetZ, setParticleSize, setStartTime, setTarget, setTargetEntity, setTargetLocation, setTargetPlayer, setTargetPlayers, setType, start, updateDuration, updateLocation, updateTarget, validate
-
Field Details
-
text
Text to display -
invert
public boolean invertInvert the text -
stepX
public int stepXEach stepX pixel will be shown. Saves packets for lower fontsizes. -
stepY
public int stepYEach stepY pixel will be shown. Saves packets for lower fontsizes. -
size
public float sizeScale the font down -
realtime
public boolean realtimeSet this only to true if you are working with changing text. I'll advice the parser to recalculate the BufferedImage every iteration. Recommended FALSE -
font
Font to create the Text -
image
Contains an image version of the String
-
-
Constructor Details
-
TextEffect
-
-
Method Details