Class EntityDataBehaviorRegistry

java.lang.Object
org.geysermc.geyser.entity.EntityDataBehaviorRegistry

public final class EntityDataBehaviorRegistry extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Set<org.cloudburstmc.protocol.bedrock.data.entity.EntityDataType<?>>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> @Nullable T
    get(@NonNull Entity entity, @NonNull org.geysermc.geyser.api.entity.data.GeyserEntityDataType<T> type)
     
    static <T> void
    update(@NonNull Entity entity, @NonNull org.geysermc.geyser.api.entity.data.GeyserEntityDataType<T> type, @Nullable T value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TRACKED_ENTITY_DATA

      public static final Set<org.cloudburstmc.protocol.bedrock.data.entity.EntityDataType<?>> TRACKED_ENTITY_DATA
  • Method Details

    • update

      public static <T> void update(@NonNull Entity entity, @NonNull org.geysermc.geyser.api.entity.data.GeyserEntityDataType<T> type, @Nullable T value)
    • get

      public static <T> @Nullable T get(@NonNull Entity entity, @NonNull org.geysermc.geyser.api.entity.data.GeyserEntityDataType<T> type)