Jump to content

Fly_25R

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Fly_25R

  1. Hi! I am new, but I have read around here a bit and I cant figure out what is wrong. I am using the tutorial by silentchaos512 and in modblocks.java and it doesn't like "Supplier" or "registerNoItem". package com.StarGazerz.tutorial.setup; import net.minecraft.block.Block; import net.minecraftforge.fml.RegistryObject; public class ModBlocks { static void register () {} private static <T extends Block> RegistryObject<T> register(String name, Supplier<T> block) { RegistryObject<T> ret = registerNoItem(name, block); } } Maybe I just don't know enough about java? if so can you recommend where to go to learn. Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.