Package com.falkory.arcanumapi.book
Class BookNode
java.lang.Object
com.falkory.arcanumapi.book.BookNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BookNodedeserialize(net.minecraft.nbt.CompoundTag nbt, BookTab in) booleangetAllPins(net.minecraft.world.level.Level world) Returns a stream containing all of the pins of contained pages.inthashCode()icons()net.minecraft.resources.ResourceLocationkey()meta()name()pages()parents()net.minecraft.nbt.CompoundTagserialize(net.minecraft.resources.ResourceLocation tag) tab()intx()inty()
-
Constructor Details
-
BookNode
public BookNode(net.minecraft.resources.ResourceLocation key) -
BookNode
-
-
Method Details
-
key
public net.minecraft.resources.ResourceLocation key() -
parents
-
pages
-
icons
-
meta
-
tab
-
name
-
description
-
x
public int x() -
y
public int y() -
serialize
public net.minecraft.nbt.CompoundTag serialize(net.minecraft.resources.ResourceLocation tag) -
deserialize
-
equals
-
hashCode
public int hashCode() -
getAllPins
Returns a stream containing all of the pins of contained pages.- Parameters:
world- The world the player is in.- Returns:
- A stream containing the pins of contained pages.
-