Jump to content

isaiah0311

Members
  • Posts

    8
  • Joined

  • Last visited

isaiah0311's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. From what I've seen, ore generation has changed from 1.16.1 to 1.16.3. Can anyone point me in the right direction for solving this in 1.16.3? A link to a tutorial or a repo with an example I could look over maybe. Anything helps. Thanks in advance! Isaiah
  2. So I've looked into implementing custom commands but I've only found older tutorials for 1.12 or 1.14 and they don't work. How would I go about doing this in 1.16? Thanks in advance! Isaiah
  3. I got it working. Thank you to everyone!
  4. Alright so I found the onBlockActivated() in BedBlock. I see that the line to cause the explosion is inside an if statement that calls a boolean function but its obfuscated so I don't know exactly what is going on. public static boolean func_235330_a_(World world) { return world.func_230315_m_().func_241510_j_(); } I'm assuming that this will return true or false based on if the player is allowed to sleep or not in the current world. So maybe I could override this to always return false, but I'm not sure how I can do that. I can't just change the minecraft source code because that will only effect my game and not every one else's. So where in the mod code can I override this?
  5. Is there any way I can change the time for a day and a night? Preferably independently so that day is x minutes but night is y minutes. I've read that some people modify tick rates but I don't want to resort to that if it will give strange results with blocks that depend on ticks. Thank you in advance! Isaiah
  6. Sorry, I'm new to this. Where could I find the code associated with bed explosions? I'm guessing in some player or bed class, but where could I find those?
  7. How would I go about making beds explode in the overworld. I want to make it so the player can't skip night or set a spawn point. Thanks in advance! Isaiah
  8. So I just recently got into modding. I do have Java experience so I'm not completely lost. Basically I want creepers to target the player and if they can't reach the player (blocked by a wall) they blow up anyways, making a hole in the wall for other mobs to use. I've tried looking at other mods that have similar ideas but I can't figure out how they did it. Thank you, Isaiah
×
×
  • Create New...

Important Information

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