Class FoliosNetwork
java.lang.Object
net.ixdarklord.folios.internal.FoliosNetwork
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable net.minecraft.resources.IdentifierbookOf(net.minecraft.world.item.ItemStack stack) The book a stack opens: a guide book item's, or any stack's that names one.static voidchanged(net.minecraft.server.level.ServerPlayer player, net.minecraft.advancements.AdvancementHolder advancement, boolean done) Called by PlayerAdvancementsMixin when an advancement of a player's becomes done or no longer done.static voidinit()static booleanisRead(net.minecraft.world.entity.Entity holder, net.minecraft.world.item.ItemStack stack) Whether a stack is the one its holder is reading now; a mark on any other stack is left over and goes.static voidopen(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier book, @Nullable String entry)
-
Method Details
-
init
public static void init() -
open
public static void open(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier book, @Nullable String entry) -
bookOf
public static @Nullable net.minecraft.resources.Identifier bookOf(net.minecraft.world.item.ItemStack stack) The book a stack opens: a guide book item's, or any stack's that names one. -
isRead
public static boolean isRead(net.minecraft.world.entity.Entity holder, net.minecraft.world.item.ItemStack stack) Whether a stack is the one its holder is reading now; a mark on any other stack is left over and goes. -
changed
public static void changed(net.minecraft.server.level.ServerPlayer player, net.minecraft.advancements.AdvancementHolder advancement, boolean done) Called by PlayerAdvancementsMixin when an advancement of a player's becomes done or no longer done.
-