Class StaticPaintingVariant
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.world.painting.StaticPaintingVariant
- All Implemented Interfaces:
CopyableEntity<PaintingVariant>
,DeepComparableEntity
,MappedEntity
,PaintingVariant
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorDescriptionStaticPaintingVariant
(int width, int height, ResourceLocation assetId) StaticPaintingVariant
(@Nullable TypesBuilderData data, int width, int height, ResourceLocation assetId) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(@Nullable TypesBuilderData newData) boolean
deepEquals
(Object obj) int
int
int
getWidth()
toString()
Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticPaintingVariant
-
StaticPaintingVariant
public StaticPaintingVariant(@Nullable @Nullable TypesBuilderData data, int width, int height, ResourceLocation assetId)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceCopyableEntity<PaintingVariant>
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfacePaintingVariant
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacePaintingVariant
-
getAssetId
- Specified by:
getAssetId
in interfacePaintingVariant
-
deepEquals
- Specified by:
deepEquals
in interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCode
in interfaceDeepComparableEntity
-
toString
- Overrides:
toString
in classAbstractMappedEntity
-