Skip to content

Commit

Permalink
moved chest textures to chests atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Jan 16, 2024
1 parent b64245d commit cb1ce7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.HashMap;
import java.util.Map;

import net.minecraft.client.renderer.Sheets;
import org.apache.commons.lang3.tuple.Pair;
import org.jetbrains.annotations.Nullable;
import org.violetmoon.quark.base.Quark;
Expand Down Expand Up @@ -45,7 +46,7 @@ public Material getMaterial(ChestBlockEntity tile, ChestType type) {
else
tex.append(choose(type, "normal", "left", "right"));

return new Material(InventoryMenu.BLOCK_ATLAS, new ResourceLocation(Quark.MOD_ID, tex.toString()));
return new Material(Sheets.CHEST_SHEET, new ResourceLocation(Quark.MOD_ID, tex.toString()));
});
}

Expand Down

0 comments on commit cb1ce7d

Please sign in to comment.