Class FishingHookMeta

java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.other.FishingHookMeta
All Implemented Interfaces:
ObjectDataProvider

public class FishingHookMeta extends EntityMeta implements ObjectDataProvider
  • Constructor Details

    • FishingHookMeta

      public FishingHookMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
  • Method Details

    • getHookedEntityId

      public int getHookedEntityId()
    • setHookedEntityId

      @Internal public void setHookedEntityId(int value)
    • getHookedEntity

      @Nullable public @Nullable Entity getHookedEntity()
    • setHookedEntity

      public void setHookedEntity(@Nullable @Nullable Entity value)
    • isCatchable

      public boolean isCatchable()
    • setCatchable

      public void setCatchable(boolean value)
    • getOwnerEntity

      @Nullable public @Nullable Entity getOwnerEntity()
    • setOwnerEntity

      public void setOwnerEntity(@Nullable @Nullable Entity value)
    • getObjectData

      public int getObjectData()
      Specified by:
      getObjectData in interface ObjectDataProvider
    • requiresVelocityPacketAtSpawn

      public boolean requiresVelocityPacketAtSpawn()
      Specified by:
      requiresVelocityPacketAtSpawn in interface ObjectDataProvider