Fabric API

Fabric API

106M Downloads

new Block(FabricBlockSettings.copyOf(Blocks.OAK_LOG)) throws an error

Miloszp22 opened this issue ยท 1 comments

commented

I'm trying to create a new log type block but I don't know why the new Block(FabricBlockSettings.copyOf(Blocks.OAK_LOG)) throws an error. Here is the code if needed:

public class main implements ModInitializer {
    public static String MOD_ID = "(Here mod id that i don't want to share)";
    public static final FabricBlockSettings Setting = FabricBlockSettings.copyOf(Blocks.OAK_LOG);
    public static final Block Log = new Block(Setting);
    ...
}
commented

๐Ÿ‘‹ We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.