Class SetCooldownInteractionResult

java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
com.pixelmonmod.pixelmon.api.npc.interaction.result.type.time.SetCooldownInteractionResult
All Implemented Interfaces:
InteractionResult

public class SetCooldownInteractionResult extends MutableInteractionResult
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SetCooldownInteractionResult> CODEC
    • player

      protected DataProvider<net.minecraft.server.level.ServerPlayer> player
    • key

      protected net.minecraft.resources.ResourceLocation key
  • Constructor Details

    • SetCooldownInteractionResult

      protected SetCooldownInteractionResult(DataProvider<net.minecraft.server.level.ServerPlayer> player, net.minecraft.resources.ResourceLocation key)
  • Method Details