Jump to content

Puffy73

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Puffy73

  1. Okay i fixed my issue for the item, it was crashing because I didnt put models, however now I have an issue where when i try to place the item it crashes due to getBlockStateFromPlacement getting a nullpointer Plant public class GreasePlant extends CropsBlock { public GreasePlant() { super(Block.Properties.create(Material.PLANTS) .tickRandomly() .hardnessAndResistance(0.0f) .doesNotBlockMovement() .sound(SoundType.CROP)); setRegistryName("greaseplant"); } } Seeds public class GreaseSeeds extends BlockNamedItem { public GreaseSeeds() { super(ModBlocks.GREASE_PLANT, (new Item.Properties().maxStackSize(64))); setRegistryName("grease_seeds"); } } CrashReport
  2. Whoops! look at me being a pleb. Thanks! that helped!
  3. Hi! First-time poster, not 100% sure if this goes here but here goes. I've been trying to install forge all morning. When I run "gradlew setupDecompWorkspace" I get this: So naturally, I tried to amend the issue by declaring JAVA_HOME in my environment variables. I set it to "C:\Program Files (x86)\Java\jdk1.8.0_131". However when I run "gradlew setupDecomWorkspace" with JAVA_HOME declared I get this error How do I remedy this? Or am I doing something totally stupid?
×
×
  • Create New...

Important Information

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