Interface IInteractionResponseHandlerDataManager

All Known Implementing Classes:
InteractionResponseHandlerManager

public interface IInteractionResponseHandlerDataManager
The data manager of the interaction handler.
  • Method Details

    • getInstance

    • createFrom

      @Nullable @Nullable IInteractionResponseHandler createFrom(@NotNull @NotNull ICitizen citizen, @NotNull @NotNull net.minecraft.nbt.CompoundTag compound)
      Create an interactionResponseHandler from saved CompoundTag data.
      Parameters:
      citizen - The citizen that owns the interaction response handler..
      compound - The CompoundTag containing the saved interaction data.
      Returns:
      New InteractionResponseHandler created from the data, or null.