Jump to content

Phicksur

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Phicksur's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Those two methods (is that the right terminology?) appear to be what calculates the light levels based on changes in the time of day, and calculating the light from a block that is being lit from direct sunlight. The former might be handy, but I believe the change in the world.java class will do what I need by preventing the light level from ever exceeding 7 due to sunlight (but still exceed 7 from other non-sun sources). Ok, at this point I am lost. I have changed the world.java class and saved it, but I do not know how to actually transform it into a 'mod'. Where is the tutorial for that part?
  2. Ok, in looking through the files, I believe where I need to be editing is in the world.java class Specifically the public int getBlockLightValue_do object and if I change the default return value to 7 instead of 15, that should affect the daytime base light level. Can anyone tell me if I am on the right track?
  3. Hello, I have been doing a great deal of Visual Basic programming for some time and recently have use of a mod for a YouTube series I wish to do. Unfortunately for me, most of the videos for modding for Minecraft seem to be focused on creating/editing/changing blocks and what I want has nothing to do with blocks. I have already installed Eclipse, Forge source, made all the directories and ran Gradle and the environment seems to be properly set up. From here, though, I can't figure out what objects I need to 'attach' to to do what I want to do. I have detailed my desire below, but if the top part is too awkward, the bottom half would suffice. The Mod's Point: I just want to make it so it is always dark enough, even during the 'daytime' for mobs to spawn anywhere that hasn't been manually lit up. The former part is the first way I thought of to do it, but the latter way will work better, if it is possible to mess with that. Any pointers and suggestions will be most welcome, Phicksur What I want to do Every 10 ticks (so as not to be checked EVERY tick to reduce lag) Check time of day If Time of Day is between 13188 and 22810 do nothing else change time of day to 13188 Also (or instead of) Default maximum daytime light level is set to 7, not 15.
×
×
  • Create New...

Important Information

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