Search results

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
  1. Alexiy

    Modding partnership

    Positional Spawner has been reworked, several problems were resolved, and the format of the json config was changed, resulting in more flexibility. Planning to release it on curseforge soon.
  2. Alexiy

    Blog of a lonely developer

    I finally released Underworld, but had to change the name because it was taken - now it's called "High world". You can get it here - https://minecraft.curseforge.com/projects/high-world.
  3. Alexiy

    Blog of a lonely developer

    You are probably right, when I get a chance I will release it on curseforge.
  4. Alexiy

    Modding partnership

    It was my fault, I screwed up my math. Now I changed spawning algorithm, and it works. Next version ~ But if you notice lag during this mod's work, you should decrease the "spawnRadius" variable - the higher it is, the more lag there may be ("can't keep up" messages).
  5. Alexiy

    Modding partnership

    Is there any suspicious output in the console?
  6. Alexiy

    Modding partnership

    Hmmm... I will investigate this.
  7. Alexiy

    Modding partnership

    For performance reasons, the mod doesn't search for blocks specified in the files - it rather takes a random position around the player, then checks if a block in that position is one of specified, then rolls the RNG and spawns mob on success. This means that chance of specified mobs to spawn is...
  8. Alexiy

    Modding partnership

    okay
  9. Alexiy

    Modding partnership

    A prototype is ready. I added few settings to control the spawning, and added a "max_light" key to Json config which defines the maximum light level for given group of mobs to spawn. Here is an example file: [ { "minecraft:sand" : { "chance": 50, "max_light" : 15...
  10. Alexiy

    Modding partnership

    Do you mind if I use my library for this mod? I've managed to design a block-based spawning system with a config similar to your example, but I made it in Json - this way you can define unlimited entries, for example: [ { "minecraft:sand" : { "chance": 80, "entities": [...
  11. Alexiy

    Modding partnership

    So, basically, make it possible for specified blocks turn into a custom mob spawner? For example, have a chance of random sand block be replaced by said spawner (without spread ability)?
  12. Alexiy

    Modding partnership

    Are you asking for several variants of PE blocks? Fixed mobs spawning without items.
  13. Alexiy

    Modding partnership

    New version uploaded.
  14. Alexiy

    Modding partnership

    Fixed(?) using wrong variable, and slightly changed block spread algorithm: https://drive.google.com/open?id=1kCh4GCtOsDH5SE_jUdCMol06V9J50Xwj
  15. Alexiy

    Modding partnership

    Damn, I blame variable names. There are two variables in minecraft for getting world time, one is time of day, other is time of world. But for some stupid reason in code first one is named "total world time" and second is named just "world time". Of course, I chose the "total world time"...
  16. Alexiy

    Modding partnership

    Fixed version: 0.5: fixed crash caused by zero in random rolls; added an option to cap entity count; https://drive.google.com/open?id=1NAPN2ITKKtOXrX6RKlzf65EEQr3HYLOI
  17. Alexiy

    Modding partnership

    It should work using total world time - meaning the time-based percentages will be applied taking elapsed days into account immediately. There is no entity count check currently. I recommend backing up worlds before updating to this version.
  18. Alexiy

    Modding partnership

    Alright, I hopefully implemented #3 correctly, here is a new version: 0.4: decreased minimum possible spawn and spread rates to 0 percent; fixed entities being spawned in same space; added options for increasing mob spawn and earth spread rates over time...
  19. Alexiy

    Modding partnership

    1) Yes, done. 2) Not sure - the tick count will have to be stored somewhere, either in tile entity or the chunk. Or I can make the block tickable non-randomly and add setting for time between ticks. By the way, what are you using to spawn the earth blocks? 3) This will have to be saved to world...
  20. Alexiy

    Modding partnership

    I do remember factorization, but those aren't simple ideas...