fix a dumb

This commit is contained in:
GiantLuigi4 2023-09-22 17:37:02 -04:00
parent 583fcc7be8
commit 42421a031a
3 changed files with 1 additions and 21 deletions

View File

@ -596,18 +596,6 @@ public class ClientProxy extends SharedProxy implements CefDisplayHandler/*, IJS
/**************************************** EVENT METHODS ****************************************/
@SubscribeEvent
public void onStitchTextures(TextureStitchEvent ev) {
TextureAtlas texMap = ev.getAtlas();
if (texMap.location().equals(TextureAtlas.LOCATION_BLOCKS)) {
for (Material materialsSide : ScreenModelLoader.MATERIALS_SIDES) {
// TODO: what?
// texMap.addSprite(materialsSide.texture());
}
}
}
// @SubscribeEvent
// public void onBakeModel(ModelBakeEvent ev) {
// for(ResourceModelPair pair : modelBakers)

View File

@ -21,7 +21,7 @@ import java.util.function.Function;
public class ScreenModelLoader implements IGeometryLoader<ScreenModelLoader.ScreenModelGeometry> {
public static final ResourceLocation SCREEN_LOADER = new ResourceLocation("webdisplays", "screen_loader");
public static final ResourceLocation SCREEN_SIDE = new ResourceLocation("webdisplays", "blocks/screen");
public static final ResourceLocation SCREEN_SIDE = new ResourceLocation("webdisplays", "block/screen");
private static final ResourceLocation[] SIDES = new ResourceLocation[16];
public static final Material[] MATERIALS_SIDES = new Material[16];

View File

@ -1,8 +0,0 @@
{
"sources": [
{
"type": "single",
"resource": "block/screen0"
}
]
}