接口 ClientPlatformMethods
- 所有已知实现类:
ForgeClientPlatformMethods
public interface ClientPlatformMethods
-
方法概要
修饰符和类型方法说明voidaddClientPostTickCallback(Consumer<net.minecraft.client.Minecraft> action) voidapplyItemTransform(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.resources.model.BakedModel model, net.minecraft.world.item.ItemDisplayContext context, boolean applyLeftHandTransform) static ClientPlatformMethodsget()intgetDepthFormat(com.mojang.blaze3d.pipeline.RenderTarget fb) voidsyncStencilState(com.mojang.blaze3d.pipeline.RenderTarget from, com.mojang.blaze3d.pipeline.RenderTarget to)
-
方法详细资料
-
get
-
getDepthFormat
int getDepthFormat(com.mojang.blaze3d.pipeline.RenderTarget fb) -
syncStencilState
void syncStencilState(com.mojang.blaze3d.pipeline.RenderTarget from, com.mojang.blaze3d.pipeline.RenderTarget to) -
applyItemTransform
void applyItemTransform(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.resources.model.BakedModel model, net.minecraft.world.item.ItemDisplayContext context, boolean applyLeftHandTransform) -
addClientPostTickCallback
-