-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
It would be nice if custom blocks could have defined restrictions for where they can be placed, like torches needing a solid block below them, or plants only surviving on dirt. The definition could accept 3 inputs, SOLID if it can exist on top of solid blocks, ANY if it can survive on any block (excluding air), and a crafttweaker block definition <examplemod:exampleblock> allowing a specific block or oresource definition that the block can exist on top of.
var custom_grass = VanillaFactory.createBlock("custom_grass", <blockmaterial:Plants>);
custom_grass.setBlockRestriction(<ore:dirt>);
custom_grass.register();
var custom_torch = VanillaFactory.createBlock("custom_torch", <blockmaterial:Wood>);
custom_torch.setBlockRestriction("SOLID");
custom_torch.register();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels