JavaScript is disabled on your browser.
All Known Implementing Classes:
NodeTreesLayer
public interface NodeLayer
An interface for making layer-held nodes accessible to parent
BookTabs
and the
BookMain as a whole.
Please implement this interface in any layer types that hold nodes, or things may break!
Method Summary
All Methods Instance Methods Abstract Methods Default Methods
getNode (net.minecraft.resources.ResourceLocation key)
Takes a ResourceLocation and returns a contained node with matching ID
Takes a
BookNode and returns a contained node with matching ID
Method Details
node
Takes a
BookNode and returns a contained node with matching ID
getNode
BookNode getNode (net.minecraft.resources.ResourceLocation key)
Takes a ResourceLocation and returns a contained node with matching ID
nodes
Returns:
A list of all nodes the layer contains.
getNodes
Map <net.minecraft.resources.ResourceLocation,BookNode > getNodes ()
Returns:
The map of the layer's nodes with IDs attached.