Class AbstractWindChargeMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.projectile.AbstractWindChargeMeta
- All Implemented Interfaces:
ObjectDataProvider
,ProjectileMeta
- Direct Known Subclasses:
BreezeWindChargeMeta
,WindChargeMeta
public class AbstractWindChargeMeta
extends EntityMeta
implements ObjectDataProvider, ProjectileMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ConstructorDescriptionAbstractWindChargeMeta
(@Nullable Entity entity, @NotNull MetadataHolder metadata) -
Method Summary
Modifier and TypeMethodDescriptionint
@Nullable Entity
boolean
void
setShooter
(@Nullable Entity shooter) 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
-
AbstractWindChargeMeta
public AbstractWindChargeMeta(@Nullable @Nullable Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
getShooter
- Specified by:
getShooter
in interfaceProjectileMeta
-
setShooter
- Specified by:
setShooter
in interfaceProjectileMeta
-
getObjectData
public int getObjectData()- Specified by:
getObjectData
in interfaceObjectDataProvider
-
requiresVelocityPacketAtSpawn
public boolean requiresVelocityPacketAtSpawn()- Specified by:
requiresVelocityPacketAtSpawn
in interfaceObjectDataProvider
-