Class AbstractArrowMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.projectile.AbstractArrowMeta
- Direct Known Subclasses:
ArrowMeta
,SpectralArrowMeta
,ThrownTridentMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractArrowMeta
(@NotNull Entity entity, @NotNull MetadataHolder metadata) -
Method Summary
Modifier and TypeMethodDescriptionbyte
boolean
boolean
isNoClip()
void
setCritical
(boolean value) void
setNoClip
(boolean value) void
setPiercingLevel
(byte value) Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getMask, getMaskBit, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setMask, setMaskBit, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Field Details
-
OFFSET
public static final byte OFFSET- See Also:
-
MAX_OFFSET
public static final byte MAX_OFFSET- See Also:
-
-
Constructor Details
-
AbstractArrowMeta
protected AbstractArrowMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
isCritical
public boolean isCritical() -
setCritical
public void setCritical(boolean value) -
isNoClip
public boolean isNoClip() -
setNoClip
public void setNoClip(boolean value) -
getPiercingLevel
public byte getPiercingLevel() -
setPiercingLevel
public void setPiercingLevel(byte value)
-