goauth

Fabric plugin for enhanced whitelists
git clone git://git.bain.cz/goauth.git
Log | Files | Refs | README | LICENSE

PlayerManagerAccessor.java (551B)


      1 package cz.bain.plugins.goauth.mixin;
      2 
      3 import net.minecraft.server.PlayerManager;
      4 import net.minecraft.server.network.ServerPlayerEntity;
      5 import net.minecraft.util.registry.DynamicRegistryManager;
      6 import org.spongepowered.asm.mixin.Mixin;
      7 import org.spongepowered.asm.mixin.gen.Accessor;
      8 import org.spongepowered.asm.mixin.gen.Invoker;
      9 
     10 @Mixin(PlayerManager.class)
     11 public interface PlayerManagerAccessor {
     12     @Invoker
     13     void callSavePlayerData(ServerPlayerEntity player);
     14 
     15     @Accessor
     16     DynamicRegistryManager.Immutable getRegistryManager();
     17 }