Jump to content

Durtle02

Members
  • Posts

    59
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    Grey Goo Mod

Recent Profile Visitors

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

Durtle02's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  1. Alright my bad, thanks for the help. I just didn't know what you meant by :: . Last question, would world.provider.getDimension() work in theory?
  2. Thanks for the quick response! I'm not too familiar with lambda expressions and I like to know what I'm doing with my code. I've read though a few explanations and from what I can tell this is a Comparator Lambda, however, I still don't understand how it's used as I've never worked with them. If it's not too much ask, could you give an explanation and or usage example?
  3. If I have a variable of type World.class how would I get the ID of it? As far as I understand the dimension ID is not stored in the world object. What I need to check is if the dimension is the overworld or a custom dimension I have created. For example if I was to use onBlockActivated how would I get the ID of the world passed though as a parameter?
  4. No so much wasting time but just having little knowledge of what I'm doing, but that's why people help, so then later I can help too.
  5. Alright will do! Thanks for all the help and bearing me, I have very little clue what I'm doing and with such little preexisting resources it makes it hard to find out. I always hate asking on the forums because I feel like I'm wasting peoples time so thank you.
  6. So then to test for in other world what would I run in '//Do stuff'? Like how this world.getBlockState(posNumber).getBlock() will modify in the overworld with what I have but what would it look like for the mirrorworld?
  7. It's just an example. If I wanted to use detection like that with the other world. Pos is blocks location. public void blockSpread(World world, BlockPos posNumber) { if (world.getBlockState(posNumber).getBlock() != MirrorWorld.getBlockState(posNumber).getBlock()){ world.setBlockState(posNumber, MirrorWorld.getBlockState(posNumber)); } } Like this.
  8. And if I wanted to use it like this public void blockSpread(World world, BlockPos posNumber){ if (world.getBlockState(posNumber).getBlock() != Blocks.AIR){ } } how would I do so?
  9. Where would I go doing this? In my dimension files, correct?
  10. I don't know how to explain it but they do. Also I want players to be able to get there.
  11. You will need to be able to get to the dimension though.
  12. So you place it and it checks the surrounding blocks. If they are different, if they are it sets them as itself and turns itself to whatever the block is at it's cords in the mirror world (using random ticks). If it's not the same, it sets itself as air and doesn't change any others. Recreating this:
  13. I'm remaking an old mod and one of the blocks is regenerative of the mirror world. So it looks in mirror world, checks if blocks are same, and if not, makes it so.
  14. Hi, so I'd like to create an exact copy of the overworld so I can use a block as a regenerative thing however I don't know where to start. Could I get a quick run down of how the dimension generation works, how I can copy the world seed and where the files are that specifically handle generating the overworld are in the MC source code are? Also any UPDATED tutorials you have would be cool. Thanks. Durtle02
  15. Hi, I had just released the first version of my mod when my raw files got corrupted. I have a working version of the mod but don't have the raw code to continue development. Is there any way I can get the code back from the compiled mod?
×
×
  • Create New...

Important Information

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