Class NodeTreesLayer
java.lang.Object
com.falkory.arcanumapi.book.layers.BookLayer
com.falkory.arcanumapi.book.layers.NodeTreesLayer
- All Implemented Interfaces:
NodeLayer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationFields inherited from class com.falkory.arcanumapi.book.layers.BookLayer
key, priority, speed, vanishZoom -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.nbt.CompoundTagdata()getNode(net.minecraft.resources.ResourceLocation key) Takes aResourceLocationand returns a contained node with matching IDgetNodes()voidload(com.google.gson.JsonObject data, net.minecraft.resources.ResourceLocation file) Applies subclass-specific deserialization.Takes aBookNodeand returns a contained node with matching IDnodes()voidrender(com.mojang.blaze3d.vertex.PoseStack stack, BookMainScreen parent, float drawSize, float spd) Called by the book screen.net.minecraft.resources.ResourceLocationtype()Methods inherited from class com.falkory.arcanumapi.book.layers.BookLayer
deserialize, getFactory, getPassData, init, key, makeLayer, setPriority, setSpeed, setVanishZoom, speed, vanishZoomMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.falkory.arcanumapi.book.layers.NodeLayer
streamNodes
-
Field Details
-
TYPE
public static final net.minecraft.resources.ResourceLocation TYPE -
nodes
-
-
Constructor Details
-
NodeTreesLayer
public NodeTreesLayer()
-
-
Method Details
-
type
public net.minecraft.resources.ResourceLocation type() -
data
public net.minecraft.nbt.CompoundTag data() -
load
public void load(com.google.gson.JsonObject data, net.minecraft.resources.ResourceLocation file) Description copied from class:BookLayerApplies subclass-specific deserialization. -
render
public void render(com.mojang.blaze3d.vertex.PoseStack stack, BookMainScreen parent, float drawSize, float spd) Description copied from class:BookLayerCalled by the book screen. All draws will be in a GL scissor, so no worries about drawing over the frame. -
node
Description copied from interface:NodeLayerTakes aBookNodeand returns a contained node with matching ID -
nodes
-
getNode
Description copied from interface:NodeLayerTakes aResourceLocationand returns a contained node with matching ID -
getNodes
-