Immersive Railroading

Immersive Railroading

3M Downloads

IllegalArgumentException: Fluid Volume's must have an amount greater than 0!

NGcoelho opened this issue · 0 comments

commented

Behaviour: game crashes when a steam engine achieves 100ºC and player attempts to move locomotive

---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 02/05/20, 22:05
Description: Ticking entity

java.lang.IllegalArgumentException: Fluid Volume's must have an amount greater than 0!
at alexiil.mc.lib.attributes.fluid.volume.FluidVolume.(FluidVolume.java:60)
at alexiil.mc.lib.attributes.fluid.volume.NormalFluidVolume.(NormalFluidVolume.java:23)
at alexiil.mc.lib.attributes.fluid.volume.BiomeSourcedFluidVolume.(BiomeSourcedFluidVolume.java:39)
at alexiil.mc.lib.attributes.fluid.volume.BiomeSourcedFluidVolume.(BiomeSourcedFluidVolume.java:35)
at alexiil.mc.lib.attributes.fluid.volume.WaterFluidVolume.(WaterFluidVolume.java:19)
at alexiil.mc.lib.attributes.fluid.volume.WaterFluidKey.withAmount(WaterFluidKey.java:34)
at alexiil.mc.lib.attributes.fluid.volume.WaterFluidKey.withAmount(WaterFluidKey.java:16)
at cam72cam.mod.fluid.FluidStack.(FluidStack.java:13)
at cam72cam.immersiverailroading.entity.LocomotiveSteam.onTick(LocomotiveSteam.java:676)
at cam72cam.mod.entity.ModdedEntity.method_5773(ModdedEntity.java:112)
at net.minecraft.class_3218.method_18762(class_3218.java:583)
at net.minecraft.class_1937.method_18472(class_1937.java:675)
at net.minecraft.class_3218.method_18765(class_3218.java:386)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:835)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:774)
at net.minecraft.class_1132.method_3748(class_1132.java:128)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:642)
at java.base/java.lang.Thread.run(Thread.java:834)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Server thread
Stacktrace:
at alexiil.mc.lib.attributes.fluid.volume.FluidVolume.(FluidVolume.java:60)
at alexiil.mc.lib.attributes.fluid.volume.NormalFluidVolume.(NormalFluidVolume.java:23)
at alexiil.mc.lib.attributes.fluid.volume.BiomeSourcedFluidVolume.(BiomeSourcedFluidVolume.java:39)
at alexiil.mc.lib.attributes.fluid.volume.BiomeSourcedFluidVolume.(BiomeSourcedFluidVolume.java:35)
at alexiil.mc.lib.attributes.fluid.volume.WaterFluidVolume.(WaterFluidVolume.java:19)
at alexiil.mc.lib.attributes.fluid.volume.WaterFluidKey.withAmount(WaterFluidKey.java:34)
at alexiil.mc.lib.attributes.fluid.volume.WaterFluidKey.withAmount(WaterFluidKey.java:16)
at cam72cam.mod.fluid.FluidStack.(FluidStack.java:13)
at cam72cam.immersiverailroading.entity.LocomotiveSteam.onTick(LocomotiveSteam.java:676)
at cam72cam.mod.entity.ModdedEntity.method_5773(ModdedEntity.java:112)
at net.minecraft.class_3218.method_18762(class_3218.java:583)

-- Entity being ticked --
Details:
Entity Type: immersiverailroading:locomotivesteam (cam72cam.mod.entity.ModdedEntity)
Entity ID: 61
Entity Name: entity.immersiverailroading.locomotivesteam
Entity's Exact location: -236.50, 64.37, 156.18
Entity's Block location: World: (-237,64,156), Chunk: (at 3,4,12 in -15,9; contains blocks -240,0,144 to -225,255,159), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null
Stacktrace:
at net.minecraft.class_1937.method_18472(class_1937.java:675)
at net.minecraft.class_3218.method_18765(class_3218.java:386)

-- Affected level --
Details:
All players: 1 total; [class_3222['SenhorBruno'/243, l='New World', x=-236.68, y=65.26, z=158.61]]
Chunk stats: ServerChunkCache: 2246
Level dimension: minecraft:overworld
Level name: New World
Level seed: -8663122309863482517
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options: {}
Level spawn location: World: (-176,66,128), Chunk: (at 0,4,0 in -11,8; contains blocks -176,0,128 to -161,255,143), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 7302 game time, 7302 day time
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 22377 (now: false), thunder time: 121309 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:835)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:774)
at net.minecraft.class_1132.method_3748(class_1132.java:128)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:642)
at java.base/java.lang.Thread.run(Thread.java:834)

-- System Details --
Details:
Minecraft Version: 1.14.4
Minecraft Version ID: 1.14.4
Operating System: Linux (amd64) version 5.3.0-51-generic
Java Version: 11.0.7, Ubuntu
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Ubuntu
Memory: 872168480 bytes (831 MB) / 1644167168 bytes (1568 MB) up to 2147483648 bytes (2048 MB)
CPUs: 4
JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
blue_endless_jankson: jankson 1.1.2
cotton-energy: Cotton Energy 1.5.0+1.14.3
cotton-resources: Cotton Resources 1.4.0+1.14.4
fabric: Fabric API 0.8.0+build.250-1.14
fabric-api-base: Fabric API Base 0.1.2+28f8190f42
fabric-biomes-v1: Fabric Biomes (v1) 0.1.1+28f8190f42
fabric-command-api-v1: Fabric Command API (v1) 1.0.0+bfd4c99d42
fabric-commands-v0: Fabric Commands (v0) 0.2.0+bfd4c99d42
fabric-containers-v0: Fabric Containers (v0) 0.1.3+28f8190f42
fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.2+28f8190f42
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+28f8190f42
fabric-dimensions-v1: fabric-dimensions-v1 0.1.1+e15ff88642
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.3.0+6e76156542
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.1.1+f6e5d2dc42
fabric-item-groups-v0: Fabric Item Groups (v0) 0.1.1+28f8190f42
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.1.1+933c24c242
fabric-loot-tables-v1: Fabric Loot Tables (v1) 0.1.1+28f8190f42
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.1+28f8190f42
fabric-models-v0: Fabric Models (v0) 0.1.0+933c24c242
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.1+28f8190f42
fabric-networking-v0: Fabric Networking (v0) 0.1.4+f6e5d2dc42
fabric-object-builders-v0: Fabric Object Builders (v0) 0.1.4+6bc070c742
fabric-particles-v1: fabric-particles-v1 0.1.1+933c24c242
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.2.3+28f8190f42
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.1.1+933c24c242
fabric-renderer-indigo: Fabric Renderer - Indigo 0.1.14+e15ff88642
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.2+28f8190f42
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.3+28f8190f42
fabric-rendering-v0: Fabric Rendering (v0) 0.1.2+28f8190f42
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.1.4+28f8190f42
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 0.1.3+d423005742
fabric-textures-v0: Fabric Textures (v0) 0.1.4+933c24c242
fabricloader: Fabric Loader 0.8.2+build.194
jankson: Jankson 1.0.0+j1.1.2
javax_vecmath_vecmath: vecmath 1.5.2
libblockattributes: LibBlockAttributes 0.5.0
libblockattributes_core: LibBlockAttributes (Core) 0.5.0
libblockattributes_fluids: LibBlockAttributes (Fluids) 0.5.0
libblockattributes_items: LibBlockAttributes (Items) 0.5.0
minecraft: Minecraft 1.14.4
trackapi: Track API 1.2
universalmodcore: Universal Mod Core 1.7.3_fabric_1.14.4
Player Count: 1 / 8; [class_3222['SenhorBruno'/243, l='New World', x=-236.68, y=65.26, z=158.61]]
Data Packs: vanilla, fabric/cotton-resources, fabric/fabric-mining-levels-v0
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fabric'