Class SmallFireballMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.item.SmallFireballMeta
- All Implemented Interfaces:
ObjectDataProvider
,ProjectileMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull ItemStack
getItem()
int
@Nullable Entity
boolean
void
void
setShooter
(@Nullable Entity shooter) Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Constructor Details
-
SmallFireballMeta
public SmallFireballMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
getItem
-
setItem
-
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
-