接口 ClientPlatformMethods

所有已知实现类:
ForgeClientPlatformMethods

public interface ClientPlatformMethods
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    addClientPostTickCallback(Consumer<net.minecraft.client.Minecraft> action)
     
    void
    applyItemTransform(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.resources.model.BakedModel model, net.minecraft.world.item.ItemDisplayContext context, boolean applyLeftHandTransform)
     
    get()
     
    int
    getDepthFormat(com.mojang.blaze3d.pipeline.RenderTarget fb)
     
    void
    syncStencilState(com.mojang.blaze3d.pipeline.RenderTarget from, com.mojang.blaze3d.pipeline.RenderTarget to)
     
  • 方法详细资料

    • get

      static ClientPlatformMethods 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

      void addClientPostTickCallback(Consumer<net.minecraft.client.Minecraft> action)