Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`VanillaModelEncoder#emitItemQuads` does not respect Forge/NeoForge model extensions

Đang mở
#186 6 bình luận 35 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
43/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
game-dev

Hướng nghiên cứu

Start by comparing NeoForge's ItemRenderer patch linked in the issue with Forgified FRAPI and Forgified Indigo's item quad paths, especially VanillaModelEncoder#emitItemQuads. Check how the two IBakedModelExtension methods and RenderType handling interact with FRAPI's BlendMode.DEFAULT behavior. Done means item models respect the requested render passes and types without the reported crashes or missing visuals.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

1.21.x help wanted

NeoForge patches the ItemRenderer to respect IBakedModelExtension#getRenderPasses(ItemStack, boolean) and IBakedModelExtension#getRenderTypes(ItemStack, boolean): https://github.com/neoforged/NeoForge/blob/1.21.1/patches/net/minecraft/client/renderer/entity/ItemRenderer.java.patch#L26-L27.

Neither of these methods are ever called in either Forgified FRAPI or Forgified Indigo, which leads to severe issues like crashes and missing visuals. Calling them in VanillaModelEncoder#emitItemQuads would be the best solution, but would need additional work as FRAPI does not accept RenderTypes directly; this method would need to be moved to Forgified Indigo so it can provide the RenderTypes directly. Inspection of quads with a non-standard RenderType could result in BlendMode.DEFAULT.

Ngôn ngữ chính
Java
Star
181
Fork
41
Merge trung bình
10 ngày 5 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Sinytra/ForgifiedFabricAPI

Tất cả issue của Sinytra/ForgifiedFabricAPI

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.