#Unexpected textures

5 messages · Page 1 of 1 (latest)

timber rover
#

MC: 1.20.1
Forge: 47.4.10

Problem:
Somehow the game adds these weird Sculk/Reinforced Deepslate textures but I dont mention them anywhere in my mod or saved pngs like that, so Im really confused.

Oh, and here is the BlockRegistry (not including the imports):

public static final DeferredRegister<Block> BLOCKS =
  DeferredRegister.create(ForgeRegistries.BLOCKS, RandomReforges.MODID);
public static final DeferredRegister<Item> BLOCK_ITEMS =
  DeferredRegister.create(ForgeRegistries.ITEMS, RandomReforges.MODID);


public static final RegistryObject<Block> EMPTY_REFORGE_CAGE = BLOCKS.register(
  "empty_reforge_cage", () -> new EmptyReforgeCageBlock(
    BlockBehaviour.Properties.of().strength(2f)
  )
);

public static final RegistryObject<Block> REFORGE_CAGE = BLOCKS.register(
  "reforge_cage", () -> new ReforgeCageBlock(
    BlockBehaviour.Properties.of().strength(2f)
  )
);

And the client setup/rendertypes:

@SubscribeEvent
public static void onClientSetup(FMLClientSetupEvent event) {
  event.enqueueWork(() -> {
    ItemBlockRenderTypes.setRenderLayer(BlockRegistry.REFORGE_CAGE.get(), RenderType.cutout());
    ItemBlockRenderTypes.setRenderLayer(BlockRegistry.EMPTY_REFORGE_CAGE.get(), RenderType.cutout());
  });
}

This is my first mod with custom blocks and items, so Im kinda lost

iron creekBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

mystic geyser
#

so now the block uses textures that are next to it in the (internally generated) texture atlas

timber rover
#

Ohhh