Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Gemul

Members
  • Posts

    1
  • Joined

  • Last visited

Gemul's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. import com.pupil.cringe_mod.CringeMod; import net.minecraft.block.AbstractBlock; import net.minecraft.block.Block; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class ModItems { public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, CringeMod.MOD_ID); public static final RegistryObject<Block> EXAMPLEBLOCK = BLOCKS.register("exampleblock", ()-> new Block(Block.Properties.create(Material.IRON));/* in this line, when i print Block.Properties it's auto-changing on AbstractBlock.Properties and it hasn't create() method */ }
×
×
  • Create New...

Important Information

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