Interface PaintingVariant
- All Superinterfaces:
CopyableEntity<PaintingVariant>
,DeepComparableEntity
,MappedEntity
- All Known Implementing Classes:
StaticPaintingVariant
public interface PaintingVariant
extends MappedEntity, CopyableEntity<PaintingVariant>, DeepComparableEntity
-
Method Summary
Modifier and TypeMethodDescriptionstatic PaintingVariant
decode
(NBT nbt, ClientVersion version, @Nullable TypesBuilderData data) static NBT
encode
(PaintingVariant variant, ClientVersion version) int
int
getWidth()
static PaintingVariant
readDirect
(PacketWrapper<?> wrapper) static void
writeDirect
(PacketWrapper<?> wrapper, PaintingVariant variant) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.CopyableEntity
copy
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.DeepComparableEntity
deepEquals, deepHashCode
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
getWidth
int getWidth() -
getHeight
int getHeight() -
getAssetId
ResourceLocation getAssetId() -
readDirect
-
writeDirect
-
decode
static PaintingVariant decode(NBT nbt, ClientVersion version, @Nullable @Nullable TypesBuilderData data) -
encode
-