TerraformersMC/Cinderscapes

nonOpaque block forcibly removed out of creative inventory

Closed this issue · 2 comments

Hey there,
I'm working on a mod (entirely independent from cinderscapes) that adds a block to the game like so:

	public static final Block HALITE = new GlassBlock(FabricBlockSettings.of(Material.STONE).requiresTool().strength(1.25F, 4.2F)
			.sounds(BlockSoundGroup.BASALT).nonOpaque().solidBlock(Baking::never).blockVision(Baking::never));

this block later on gets registered through this method:

	private static void registerBlock(String name, Block block, ItemGroup group) {
		Identifier id = new Identifier(ID, name);
		Registry.register(Registry.BLOCK, id, block);
		if (group != null) {
			Item item = new BlockItem(block, new Item.Settings().group(group));
			Registry.register(Registry.ITEM, id, item);
		}
	}

Everything seemingly normal, and vanilla backs this up. When I run the game the halite block appears in the creative inventory.
When cinderscapes is added to the mix this block vanishes from the creative menu. When looking at it in the tab it's under the spot where it usually is is empty, and when searching for it, only its stair, slab, and wall variants still appear. Are you guys doing something to the registry or am I doing something wrong?

I'm running on 1.16.5 fabric, with cinderscapes v1.3.3.

closing this as it's an upstream issue, related to #129 and FabricMC/fabric#1377.

Apologies for crying wolf

I'm actually going to reopen this because I'm not sure if it does relate to the two issues I've mentioned, and I'd rather be told I'm crying wolf, than silence myself and let my mod have this issue