fabrossmann

Mixin Class

Oct 27th, 2021
767
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import net.minecraft.network.play.server.SPlayerListHeaderFooterPacket;
  2. import net.minecraft.util.text.ITextComponent;
  3. import org.spongepowered.asm.mixin.Mixin;
  4. import org.spongepowered.asm.mixin.gen.Accessor;
  5.  
  6. @Mixin(SPlayerListHeaderFooterPacket.class)
  7. public interface SPlayerListHeaderFooterPacketAccessor {
  8.  
  9.     @Accessor("header")
  10.     void setHeader(ITextComponent text);
  11.  
  12.     @Accessor("footer")
  13.     void setFooter(ITextComponent text);
  14. }
  15.  
RAW Paste Data