You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
public class BlockEntitiesManager {
public static final DeferredRegister<BlockEntityType<?>> BLOCK_ENTITIES =
DeferredRegister.create(ForgeRegistries.BLOCK_ENTITY_TYPES, Main.MODID);
public static final RegistryObject<BlockEntityType<CreativeBlockE>> CREATIVE_BLOCK_E = BLOCK_ENTITIES.register("creative_blocke", () -> BlockEntityType.Builder.of());
public static void register(IEventBus eventBus) {
BLOCK_ENTITIES.register(eventBus);
}
}
Builder cannot be resolved or is not a field
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.