Upgrade back to 1.19.4
Increment API version + LibAC - Lightmans Currency - Parchment (Temporary)
This commit is contained in:
parent
00ea4681d8
commit
c6ff1afbdc
16 changed files with 99 additions and 32 deletions
|
@ -1,7 +1,7 @@
|
|||
package dev.zontreck.libzontreck.chat;
|
||||
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.network.chat.HoverEvent;
|
||||
import net.minecraft.network.chat.TextComponent;
|
||||
import net.minecraft.network.chat.HoverEvent.Action;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
|
||||
|
@ -17,7 +17,7 @@ public class HoverTip {
|
|||
*/
|
||||
public static HoverEvent get(String text)
|
||||
{
|
||||
return new HoverEvent(Action.SHOW_TEXT, new TextComponent(text));
|
||||
return new HoverEvent(Action.SHOW_TEXT, Component.literal(text));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue