Skip to content

[Bug] BlockStatePipRenderingState.pose没有被使用 #42

Description

@Phoupraw

OS Version - 操作系统

Windows

Minecraft Version Details - Minecraft 版本信息

26.1.2

Version Details - 版本信息

2.0.0+snapshot.449

Existing behavior - 现有行为

dev.anvilcraft.lib.v2.rendering.gui.state.BlockStatePipRenderingState#pose没有被使用,导致GUI当前的变换没有被应用。

Expected behavior - 预期行为

dev.anvilcraft.lib.v2.rendering.gui.state.BlockStatePipRenderingState#pose应该被dev.anvilcraft.lib.v2.rendering.gui.renderer.BlockStatePipRenderer使用,应用GUI当前的变换。

To Reproduce - 复现问题

  1. 创建一个Toast
  2. 在其中创建BlockStatePipRenderingState并传入graphics.pose()作为dev.anvilcraft.lib.v2.rendering.gui.state.BlockStatePipRenderingState#pose
  3. 对其调用graphics.submitPictureInPictureRenderState
  4. BlockStatePipRenderingState渲染出的方块不会随着Toast移动

This issue is unique - 这个issue是唯一的

  • I have searched the issue tracker and did not find an issue describing my bug. - 我已经搜索问题追踪器并且没有发现相同的 issue。

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions