crash

Issue #438 new
Nikita Gutsenkov created an issue

Hi! I can't understand why custom biomes don't work. They worked on older versions. What changed? How to fix?

[21:48:48] [Server thread/ERROR]: Could not pass event BlockFromToEvent to EpicWorldGenerator v8.0.2
org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.FluidTypeFlowing.a(FluidTypeFlowing.java:195) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.FluidTypeFlowing.a(FluidTypeFlowing.java:167) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.FluidTypeFlowing.a(FluidTypeFlowing.java:497) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.Fluid.a(SourceFile:56) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.WorldServer.a(WorldServer.java:668) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.TickListServer.a(TickListServer.java:77) [spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.WorldServer.q(WorldServer.java:660) [spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.WorldServer.doTick(WorldServer.java:301) [spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:956) [spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NullPointerException
    at com.minelazz.epicworldgenerator.EpicWorldGenerator.k(fm:417) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.dev.jar:git-Spigot-e4d0c66-5184216]
    ... 16 more}

BIOME

{
  "enabled": true,
  "rarity": 1.0,
  "biomeType": "AQUATIC",
  "useDungeons": true,
  "dungeonChance": 8,
  "useMineShafts": false,
  "useStrongholds": false,
  "useVillages": false,
  "useTemples": false,
  "useNetherFortress": false,
  "useCaves": true,
  "useMonuments": false,
  "useRavines": true,
  "useWitchHuts": false,
  "usePyramids": false,
  "useJungleTemples": false,
  "useIgloos": false,
  "useFossils": false,
  "useWaterLakes": true,
  "useLavaLakes": false,
  "useRivers": false,
  "useNativePainting": false,
  "useNativeStructure": false,
  "fossilChance": 64,
  "lavaLakeChance": 60,
  "waterLakeChance": 100,
  "ores": [
    {
      "type": "DIRT",
      "data": 0,
      "size": 33,
      "count": 10,
      "minHeight": 0,
      "maxHeight": 256
    },
    {
      "type": "GRAVEL",
      "data": 0,
      "size": 33,
      "count": 8,
      "minHeight": 0,
      "maxHeight": 256
    },
    {
      "type": "STONE",
      "data": 1,
      "size": 33,
      "count": 10,
      "minHeight": 0,
      "maxHeight": 80
    },
    {
      "type": "STONE",
      "data": 3,
      "size": 33,
      "count": 10,
      "minHeight": 0,
      "maxHeight": 80
    },
    {
      "type": "STONE",
      "data": 5,
      "size": 33,
      "count": 10,
      "minHeight": 0,
      "maxHeight": 80
    },
    {
      "type": "COAL_ORE",
      "data": 0,
      "size": 17,
      "count": 20,
      "minHeight": 0,
      "maxHeight": 128
    },
    {
      "type": "IRON_ORE",
      "data": 0,
      "size": 9,
      "count": 20,
      "minHeight": 0,
      "maxHeight": 64
    },
    {
      "type": "GOLD_ORE",
      "data": 0,
      "size": 9,
      "count": 2,
      "minHeight": 0,
      "maxHeight": 32
    },
    {
      "type": "REDSTONE_ORE",
      "data": 0,
      "size": 8,
      "count": 8,
      "minHeight": 0,
      "maxHeight": 16
    },
    {
      "type": "DIAMOND_ORE",
      "data": 0,
      "size": 8,
      "count": 1,
      "minHeight": 0,
      "maxHeight": 16
    },
    {
      "type": "LAPIS_ORE",
      "data": 0,
      "size": 7,
      "count": 1,
      "minHeight": 0,
      "maxHeight": 32
    },
    {
      "type": "EMERALD_ORE",
      "data": 0,
      "size": 4,
      "count": 2,
      "minHeight": 4,
      "maxHeight": 32
    }
  ],
  "customTerrain": {
    "noiseLayers": [
      {
        "xDensity": 350.0,
        "yDensity": 50.0,
        "multiplier": {
          "baseMultiplier": 65.0,
          "biomeModifier": 1.0,
          "riverModifier": 1.0,
          "baseModifiers": [
            {
              "referenceLayer": -1,
              "start": 1.0E-9,
              "stop": 0.0,
              "finalCoefficient": 0.5
            }
          ]
        }
      },
      {
        "xDensity": 20.0,
        "yDensity": 20.0,
        "multiplier": {
          "baseMultiplier": 5.0,
          "biomeModifier": 0.0,
          "riverModifier": 0.0,
          "baseModifiers": [
            {
              "referenceLayer": -1,
              "start": 35.0,
              "stop": 0.0,
              "finalCoefficient": 0.2
            }
          ]
        }
      },
      {
        "xDensity": 12.0,
        "yDensity": 12.0,
        "multiplier": {
          "baseMultiplier": 3.0,
          "biomeModifier": 0.0,
          "riverModifier": 0.0,
          "baseModifiers": [
            {
              "referenceLayer": -1,
              "start": 35.0,
              "stop": 0.0,
              "finalCoefficient": 0.2
            }
          ]
        }
      },
      {
        "xDensity": 5.0,
        "yDensity": 5.0,
        "multiplier": {
          "baseMultiplier": 1.5,
          "biomeModifier": 0.0,
          "riverModifier": 0.0,
          "baseModifiers": [
            {
              "referenceLayer": -1,
              "start": 35.0,
              "stop": 0.0,
              "finalCoefficient": 0.1
            }
          ]
        }
      }
    ]
  },
  "terrainSettings": {
    "subTerrains": [
      {
        "provider": "EWG",
        "name": "Forgotten Forest",
        "xModifier": 0.2,
        "yModifer": 0.2,
        "zModifer": 0.2,
        "yOffset": 0
      },
      {
        "provider": "CUSTOM_EWG",
        "name": "FANTASY",
        "xModifier": 0.8,
        "yModifer": 0.8,
        "zModifer": 0.8,
        "yOffset": 0
      }
    ]
  },
  "overlaySettings": {
    "spawnLillypads": false,
    "spawnCactus": false,
    "spawnSnowLayers": false,
    "spawnIceOnWater": false,
    "minRiver": 2.0,
    "groundDepth": 6,
    "surfaceDepth": 1,
    "surfaceBlocks": [
      [
        [
          {
            "type": "WATER",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 100,
                "maxHeight": 256
              }
            ],
            "inclinationsConditions": [
              {
                "minInclination": 0.0,
                "maxInclination": 2.0
              }
            ]
          },
          0.015
        ],
        [
          {
            "type": "GRASS",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 63,
                "maxHeight": 66
              }
            ],
            "inclinationsConditions": [
              {
                "minInclination": 0.0,
                "maxInclination": 99.0
              }
            ]
          },
          0.9
        ],
        [
          {
            "type": "DIRT",
            "data": 3,
            "heightConditions": [
              {
                "minHeight": 63,
                "maxHeight": 66
              }
            ],
            "inclinationsConditions": [
              {
                "minInclination": 0.0,
                "maxInclination": 99.0
              }
            ]
          },
          0.4
        ],
        [
          {
            "type": "COBBLESTONE",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 120,
                "maxHeight": 200
              }
            ],
            "inclinationsConditions": [
              {
                "minInclination": 0.0,
                "maxInclination": 99.0
              }
            ]
          },
          0.7
        ],
        [
          {
            "type": "STONE",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 115,
                "maxHeight": 120
              }
            ],
            "inclinationsConditions": [
              {
                "minInclination": 2.0,
                "maxInclination": 99.0
              }
            ]
          },
          1.0
        ],
        [
          {
            "type": "STONE",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 150,
                "maxHeight": 200
              }
            ],
            "inclinationsConditions": [
              {
                "minInclination": 0.0,
                "maxInclination": 99.0
              }
            ]
          },
          0.9
        ],
        [
          {
            "type": "GRASS",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 80,
                "maxHeight": 250,
                "domaininationLevelMap": {
                  "80.0": 0.8,
                  "100.0": 0.6,
                  "110.0": 0.4,
                  "120.0": 0.2,
                  "130.0": 0.1
                }
              }
            ]
          },
          1.0
        ],
        [
          {
            "type": "STONE",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 80,
                "maxHeight": 250,
                "domaininationLevelMap": {
                  "80.0": 0.2,
                  "100.0": 0.4,
                  "110.0": 0.6,
                  "120.0": 0.8,
                  "130.0": 0.9
                }
              }
            ]
          },
          1.0
        ],
        [
          {
            "type": "GRAVEL",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 80,
                "maxHeight": 250,
                "domaininationLevelMap": {
                  "80.0": 0.2,
                  "100.0": 0.2,
                  "110.0": 0.2,
                  "120.0": 0.3,
                  "130.0": 0.4
                }
              }
            ]
          },
          1.0
        ]
      ],
      [
        [
          {
            "type": "STONE",
            "data": 0,
            "heightConditions": [
              {
                "minHeight": 80,
                "maxHeight": 250,
                "domaininationLevelMap": {
                  "80.0": 0.8,
                  "100.0": 0.85,
                  "110.0": 0.9,
                  "130.0": 0.95,
                  "170.0": 0.99
                }
              }
            ]
          },
          1.0
        ]
      ],
      [
        [
          {
            "type": "GRASS",
            "data": 1
          },
          1.0
        ]
      ]
    ],
    "oceanBlocks": [],
    "groundBlocks": [
      [
        [
          {
            "type": "DIRT",
            "data": 0
          },
          0.4
        ],
        [
          {
            "type": "STONE",
            "data": 0
          },
          0.4
        ],
        [
          {
            "type": "STONE",
            "data": 5
          },
          0.4
        ],
        [
          {
            "type": "GRASS",
            "data": 0
          },
          0.4
        ],
        [
          {
            "type": "COBBLESTONE",
            "data": 0
          },
          0.8
        ]
      ]
    ],
    "beachBlocks": [
      [
        [
          {
            "type": "DIRT",
            "data": 0
          },
          1.0
        ]
      ]
    ],
    "slabBlocks": [],
    "stairBlocks": [
      {},
      {},
      {},
      {},
      [
        [
          {
            "type": "PUMPKIN",
            "data": 0
          },
          0.002
        ]
      ]
    ],
    "plantBlocks": [
      [
        [
          {
            "type": "LONG_GRASS",
            "data": 1,
            "inclinationsConditions": []
          },
          0.5
        ]
      ]
    ],
    "riverBlocks": [],
    "leavesBlock": {
      "type": "LEAVES",
      "data": 0,
      "inclinationsConditions": [
        {
          "minInclination": 0.44999998807907104,
          "maxInclination": 0.5
        }
      ]
    }
  },
  "customTrees": [
    {
      "name": "CUSTOM_marais_1",
      "density": 0.05,
      "size": "MEDIUM",
      "type": "TREES",
      "blocksRequiredUnderneath": [
        "GRASS"
      ],
      "blacklistedDecoBlocks": [],
      "spawnOnGround": true,
      "overrideExsistingBlocks": false,
      "allowRotation": false,
      "applyPhysics": true,
      "applyAir": false,
      "fixFlyingRoots": false,
      "replaceAir": true,
      "minY": 40,
      "maxY": 70,
      "maxSlope": 0.7,
      "minSlope": 0.0,
      "snapToXGrid": -1,
      "snapToYGrid": -1,
      "gridXOffset": 0,
      "gridYOffset": 0,
      "anchorYOffset": -3
    },
    {
      "name": "CUSTOM_fantasy_island",
      "density": 3.0E-5,
      "size": "MEDIUM",
      "type": "TREES",
      "blocksRequiredUnderneath": [
        "WATER"
      ],
      "blacklistedDecoBlocks": [],
      "spawnOnGround": true,
      "overrideExsistingBlocks": false,
      "allowRotation": false,
      "applyPhysics": true,
      "applyAir": false,
      "fixFlyingRoots": false,
      "replaceAir": true,
      "minY": 62,
      "maxY": 63,
      "maxSlope": 2.0,
      "minSlope": 0.0,
      "snapToXGrid": 150,
      "snapToYGrid": 150,
      "gridXOffset": 0,
      "gridYOffset": 0,
      "anchorYOffset": 105
    },
    {
      "name": "TREES_bonsai_tiny",
      "density": 0.02,
      "size": "MEDIUM",
      "type": "TREES",
      "blocksRequiredUnderneath": [
        "GRASS"
      ],
      "blacklistedDecoBlocks": [],
      "spawnOnGround": true,
      "overrideExsistingBlocks": false,
      "allowRotation": true,
      "applyPhysics": false,
      "applyAir": false,
      "fixFlyingRoots": true,
      "replaceAir": true,
      "minY": 70,
      "maxY": 200,
      "maxSlope": 99.7,
      "minSlope": 0.6,
      "snapToXGrid": -1,
      "snapToYGrid": -1,
      "gridXOffset": 0,
      "gridYOffset": 0,
      "anchorYOffset": 0
    }
  ],
  "customStructures": [],
  "maxEWGObjectsPerChunk": 2,
  "xNoiseModifier": 1.2,
  "yNoiseModifier": 0.7,
  "zNoiseModifier": 1.2,
  "lakeDepth": 0.0,
  "baseHeight": 14,
  "nativeBiomes": [
    {
      "nativeBiome": "FOREST",
      "chance": 1.0
    }
  ],
  "entitySettings": {},
  "groundMaterials": [
    {
      "material": "STONE",
      "data": 0,
      "chance": 1.0
    }
  ]
}

Comments (0)

  1. Log in to comment