package dev.crucifixbeta.api.events.impl;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.entity.player.PlayerEntity;

@Environment(EnvType.CLIENT)
public class TotemEvent {
   private static final TotemEvent INSTANCE = new TotemEvent();
   private PlayerEntity player;

   private TotemEvent() {
   }

   public static TotemEvent get(PlayerEntity player) {
      INSTANCE.player = player;
      return INSTANCE;
   }

   public PlayerEntity getPlayer() {
      return this.player;
   }
}
