Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Kreepydude

Kreepydude

Members
 View Profile  See their activity
  • Content Count

    2
  • Joined

    October 3, 2020
  • Last visited

    17 minutes ago

Community Reputation

0 Neutral

About Kreepydude

  • Rank
    Tree Puncher
  1. Kreepydude

    lightValue of Block not working

    Kreepydude replied to Kreepydude's topic in Modder Support

    Thank you very much. Why it's called func_235838_a_, I'll never know lol. For anyone else who has the same problem, you want to use this line of code to add a property to the block, just like how you'd set hardnessAndResistance or harvestLevel. Then replace the 10 with the light level you want. .func_235838_a_((lightLevel) -> 10)
    • October 3, 2020
    • 4 replies
  2. Kreepydude Kreepydude joined the community October 3, 2020
  3. Kreepydude

    lightValue of Block not working

    Kreepydude posted a topic in Modder Support

    I've just started modding, I've read the documentation on blocks and block properties as well as tile entities and blockstates. For some reason I can't change the Block.property of lightValue for the block I've created. I attached a screenshot. Anyone know what I'm doing wrong? Feel really dumb right now haha. My IDE's saying common\blocks\RubyBlock.java:12: error: cannot find symbol .lightValue(0f) ^ symbol: method lightValue(float) location: class Properties
    • October 3, 2020
    • 4 replies
  • All Activity
  • Home
  • Kreepydude
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community