Class PaintingMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.other.PaintingMeta
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Direction@NotNull PaintingMeta.MotivevoidsetDirection(@NotNull Direction direction) Sets direction of a painting.voidsetMotive(@NotNull PaintingMeta.Motive motive) Sets motive of a painting.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
-
PaintingMeta
-
-
Method Details
-
getMotive
-
setMotive
Sets motive of a painting. This is possible only before spawn packet is sent.- Parameters:
motive- motive of a painting.
-
getDirection
-
setDirection
Sets direction of a painting. This is possible only before spawn packet is sent.- Parameters:
direction- direction of a painting.
-