Jump to content

Drizzs

Members
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Drizzs's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. I have working structures in one of my mods, basically it just spawns islands in the sky in the end and the overworld. Works. You should be able to figure out what everything does pretty simply from what i have written. https://github.com/drizzs/GrassWorld-1.14/tree/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/features
  2. So i'm trying to get a structure to spawn in my mod using an NBT structure i created but its not actually spawning. So i was able to register the structure and i'm pretty confident its in there in code but for some reason i cant use a structure block to spawn it. What would i need to do to get this working. Here is my git with the files and the NBT files from my GIT Any idea's on where i can go or what i can try would be helpful! https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/features/GrassIslandPiece.java https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/features/GrassIslandStructure.java https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/features/GrassIslandVariant.java https://github.com/drizzs/GrassWorld-1.14/tree/1.14.4-rewrite/src/main/resources/data/grassworld/structures only the dirtisland variant is being used. i'm assuming its not loading my template possibly https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/registries/GrassFeatures.java this is how i register it and such
  3. When the game boots up. Do you mean in your dev instance? In your dev instance i believe it sets your configs to default every time because you build every time. So i suggest you try to load it up in a real environment. Also, where is the rest of it? There should be some kind of Config handler that has your builder and the actual variables being set by your configs.
  4. My mod has an item that currently stops changes the weather, actually theres 1 that makes it clear one that makes it rain and one that makes thunder. its called xp plus. Its open source maybe that can help you figure out what you can do.
  5. You can also check if getSource() instanceof DamageSource you can create your own damage source pretty easily. Also its PlayerEntity
  6. Yeah i did that, nvm i figured it out! thanks though
  7. I'm using isReplaceable, in 1.12.2 this worked. if (stateAt.getBlock().isReplaceable(player.world, target)) Now its asking for a blockstate and a blockitemusecontext is there an alternative to isReplaceable or a way to make what i need work. This is the method https://pastebin.com/2jXjrT0T
  8. Diesieben -- Sorry that was from 1.10 i think not 1.12 I tried passing negative values to add experience but it didnt work I did end up getting it working, i made a "experience reduction class" where i just made my own methods. They work!
  9. You used to be able to do EnityPlayer#removeExperienceLevel but that is no longer an option What would you guys suggest?
  10. we tried changing EntityPlayer#noClip to true and it didnt work. is there an alternative
  11. yeah i get what you mean you're right i'm just super bad i'll see if i can get it working properly! Thanks
  12. So i'm trying to make an event on a block so basically what happens is when the block's damage (i made a custom damage source) kills a mob the block spreads to another block. I'm still very new to this so any help would be appreciated. This doesn't work at all, it does damage to the mobs but it doesn't do anything else! My Block Class. https://pastebin.com/VWfiT4Mf damage source(its not a big one) https://pastebin.com/VrCq4TfB
  13. I'm still having this issue, still unable to find my biomes. Everything registers. theres 16 biomes so realistically i should of seen 1 by now
  14. did you check see if this was a valid json? I dont think it is! this is a working recipe https://pastebin.com/5NCRb90u
  15. So, I'm trying to make an end Biome with a custom surface. Everything registers everything loads up. There doesn't seem to be any errors. But the biome doesnt appear. I made a bunch of biomes actually they're all the same right now just to see how often they generate to adjust spawn density but none are spawning. In the github i posted its all the biome stuff i did, and i'm curious if maybe its my surface builder thats not working. Anyways this is my biggest question is having Category.TheEnd enough to make it spawn in the end or do i need to do something else? Is what i have enough or am i missing a step? https://github.com/drizzs/GrassWorld-1.14/tree/master/src/main/java/com/drizzs/grassworld/biomes
×
×
  • Create New...

Important Information

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