moved rest of the stuff. mixins needed still

This commit is contained in:
gnembon committed 2019-05-13 01:48:00 -03:00
1 parent 394891ab5f
commit 5251bff2c7
10 files changed
+1075 -3

No files matched your search

@@ -0,0 +1,19 @@
package carpet.mixins;
import carpet.fakes.PlayerListHudInterface;
import net.minecraft.client.gui.hud.PlayerListHud;
import net.minecraft.network.chat.Component;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
@Mixin(PlayerListHud.class)
public abstract class PlayerListHudMixin implements PlayerListHudInterface
{
@Shadow private Component footer;
@Shadow private Component header;
public boolean hasFooterOrHeader()
{
return footer != null || header != null;
}
}