Class GeyserEntityData

java.lang.Object
org.geysermc.geyser.entity.GeyserEntityData
All Implemented Interfaces:
org.geysermc.geyser.api.entity.EntityData

public class GeyserEntityData extends Object implements org.geysermc.geyser.api.entity.EntityData
  • Constructor Details

    • GeyserEntityData

      public GeyserEntityData(GeyserSession session)
  • Method Details

    • entityByJavaId

      public @NonNull CompletableFuture<@Nullable org.geysermc.geyser.api.entity.type.GeyserEntity> entityByJavaId(@org.checkerframework.checker.index.qual.NonNegative int javaId)
      Specified by:
      entityByJavaId in interface org.geysermc.geyser.api.entity.EntityData
    • showEmote

      public void showEmote(@NonNull org.geysermc.geyser.api.entity.type.player.GeyserPlayerEntity emoter, @NonNull String emoteId)
      Specified by:
      showEmote in interface org.geysermc.geyser.api.entity.EntityData
    • playerEntity

      public @NonNull org.geysermc.geyser.api.entity.type.player.GeyserPlayerEntity playerEntity()
      Specified by:
      playerEntity in interface org.geysermc.geyser.api.entity.EntityData
    • lockMovement

      public boolean lockMovement(boolean lock, @NonNull UUID owner)
      Specified by:
      lockMovement in interface org.geysermc.geyser.api.entity.EntityData
    • isMovementLocked

      public boolean isMovementLocked()
      Specified by:
      isMovementLocked in interface org.geysermc.geyser.api.entity.EntityData
    • switchHands

      public void switchHands()
      Specified by:
      switchHands in interface org.geysermc.geyser.api.entity.EntityData