Skip to content

Commit

Permalink
chore: remove unused comment
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Mar 24, 2023
1 parent 0e7f63a commit 7ccf013
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ public void renderContainedItem(ItemStack sulfurStack, ItemDisplayContext displa
BakedModel containedModel = itemRenderer.getModel(containedStack, null, null, 0);
BakedModel labelModel = itemRenderer.getModel(labelStack, null, null, 0);
pPoseStack.pushPose();
//TODO this
//not sure why we don't have to apply transform here. Somehow label carries over, because if we do not call label our rendering is off

//now apply the transform to the contained item to make it look right in-world -> because below we render with gui transform which would mess it up
//despite this returning a model (self in fact) it actually modifies the pose stack, hence the pushPose above!
labelModel.applyTransform(displayContext, pPoseStack, isLeftHand(displayContext)); //reuse the label transform to simulate flat items even if the contained item is 3d
Expand Down

0 comments on commit 7ccf013

Please sign in to comment.