Class ImageLayer
java.lang.Object
com.falkory.arcanumapi.book.layers.BookLayer
com.falkory.arcanumapi.book.layers.ImageLayer
-
Field Summary
FieldsFields inherited from class com.falkory.arcanumapi.book.layers.BookLayer
key, priority, speed, vanishZoom -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.nbt.CompoundTagdata()voidload(com.google.gson.JsonObject data, net.minecraft.resources.ResourceLocation file) Applies subclass-specific deserialization.voidrender(com.mojang.blaze3d.vertex.PoseStack stack, BookMainScreen parent, float drawSize, float tickDelta) 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, vanishZoom
-
Field Details
-
TYPE
public static net.minecraft.resources.ResourceLocation TYPE
-
-
Constructor Details
-
ImageLayer
public ImageLayer() -
ImageLayer
-
ImageLayer
-
-
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 tickDelta) 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.
-