Skip to content

Commit

Permalink
Merge main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaMode committed Nov 22, 2023
1 parent c4dd6b9 commit 93a9b61
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 150 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private void textureUpdated() {
// update the texture in BE data
if (level != null && level.isClientSide) {
Block normalizedTexture = texture == Blocks.AIR ? null : texture;
IModelData data = getRenderAttachmentData();
IModelData data = getRenderData();
if (data.getData(RetexturedHelper.BLOCK_PROPERTY) != normalizedTexture) {
data.setData(RetexturedHelper.BLOCK_PROPERTY, normalizedTexture);
// requestModelDataUpdate();
Expand Down
8 changes: 1 addition & 7 deletions src/main/resources/hephaestus.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
"maxShiftBy": 5
},
"mixins": [
"DataFixersMixin",
"mantle.ModelHelperMixin",
"mantle.RetexturedHelperMixin",
"mantle.RetexturedModelMixin"
],
"client": [
"mantle.RetexturedModelMixin$RetexturedModelRetexturedOverrideMixin"
"DataFixersMixin"
]
}

0 comments on commit 93a9b61

Please sign in to comment.