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
  • Field Details

  • Constructor Details

    • FishingHookMeta

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

    • 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