Class BedrockGuiActorContext
java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockGuiActorContext
- All Implemented Interfaces:
AutoCloseable
One retained GUI perspective. World playback and world effect dispatch remain separate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcamera(float pitch, float yaw) voidclose()intcompositeColor(int color) Java composites the finished GUI texture with premultiplied alpha.static voidcorrectPose(com.mojang.blaze3d.vertex.PoseStack pose, float width, int guiScale) static BedrockGuiActorContextcurrent()emote()static voidextracted(net.minecraft.client.renderer.entity.state.AvatarRenderState state) static voidextracted(net.minecraft.client.renderer.entity.state.EntityRenderState state) static BedrockGuiActorContextframe(net.minecraft.client.renderer.entity.state.EntityRenderState state) static booleanvoidopacity(float opacity) booleanvoidparticle(BedrockActorAnimation.ParticleCue particle) static <T> TMarks texture-backed GUI submission independently of native camera and actor playback.voidpose(float pitch, float yaw, float bodyYaw, float headYaw, org.joml.Matrix4fc modelTransform) void<T> T<T> Tfloatseconds()voidselection(BedrockPlayerControllers.Selection selection) voidsounds()voidtransform(com.mojang.blaze3d.vertex.PoseStack pose) floatyaw()
-
Constructor Details
-
BedrockGuiActorContext
-
-
Method Details
-
correctPose
public static void correctPose(com.mojang.blaze3d.vertex.PoseStack pose, float width, int guiScale) -
requireSupportedEffects
public void requireSupportedEffects() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
owns
-
opacity
public void opacity(float opacity) -
compositeColor
public int compositeColor(int color) Java composites the finished GUI texture with premultiplied alpha. -
picture
Marks texture-backed GUI submission independently of native camera and actor playback. -
inPicture
public static boolean inPicture() -
current
-
frame
public static BedrockGuiActorContext frame(net.minecraft.client.renderer.entity.state.EntityRenderState state) -
scoped
-
camera
public void camera(float pitch, float yaw) -
pose
public void pose(float pitch, float yaw, float bodyYaw, float headYaw, org.joml.Matrix4fc modelTransform) -
transform
public void transform(com.mojang.blaze3d.vertex.PoseStack pose) -
extracted
public static void extracted(net.minecraft.client.renderer.entity.state.AvatarRenderState state) -
extracted
public static void extracted(net.minecraft.client.renderer.entity.state.EntityRenderState state) -
playback
-
resource
-
yaw
public float yaw() -
seconds
public float seconds() -
emote
-
sound
-
particle
-
sounds
-
particles
-
selection
-
selection
-