Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.17.1] Help with custom fluid


uSkizzik
 Share

Recommended Posts

So, my fluid used to work perfectly but ever since I updated to 1.17, it has been causing issues.
Here's one of the errors:

Spoiler

---- Minecraft Crash Report ----
// Don't be sad, have a hug! ❤️

Time: 8/17/21, 3:14 PM
Description: Exception while updating neighbours

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.material.FlowingFluid.is(net.minecraft.tags.Tag)" because "this.fluid" is null
    at net.minecraft.world.level.block.LiquidBlock.shouldSpreadLiquid(LiquidBlock.java:131) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.block.LiquidBlock.neighborChanged(LiquidBlock.java:124) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.neighborChanged(BlockBehaviour.java:596) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.world.level.Level.neighborChanged(Level.java:348) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.updateNeighborsAt(Level.java:304) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.level.ServerLevel.blockUpdated(ServerLevel.java:1351) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.markAndNotifyBlock(Level.java:237) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.setBlock(Level.java:213) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.setBlock(Level.java:177) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.material.FlowingFluid.spreadTo(FlowingFluid.java:244) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.world.level.material.FlowingFluid.spread(FlowingFluid.java:120) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.world.level.material.FlowingFluid.tick(FlowingFluid.java:410) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.world.level.material.FluidState.tick(FluidState.java:73) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.server.level.ServerLevel.tickLiquid(ServerLevel.java:602) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.ServerTickList.tick(ServerTickList.java:78) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:341) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:882) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:818) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:85) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:683) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at java.lang.Thread.run(Thread.java:831) ~[?:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.world.level.block.LiquidBlock.shouldSpreadLiquid(LiquidBlock.java:131) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.block.LiquidBlock.neighborChanged(LiquidBlock.java:124) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.neighborChanged(BlockBehaviour.java:596) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
-- Block being updated --
Details:
    Source block type: ID #skizzik:maple_syrup (block.skizzik.maple_syrup // net.minecraft.world.level.block.LiquidBlock)
    Block: Block{skizzik:maple_syrup}[level=0]
    Block location: World: (66,58,-156), Section: (at 2,10,4 in 4,3,-10; chunk contains blocks 64,0,-160 to 79,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
    at net.minecraft.world.level.Level.neighborChanged(Level.java:348) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.updateNeighborsAt(Level.java:304) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.level.ServerLevel.blockUpdated(ServerLevel.java:1351) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.markAndNotifyBlock(Level.java:237) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.setBlock(Level.java:213) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.Level.setBlock(Level.java:177) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.level.material.FlowingFluid.spreadTo(FlowingFluid.java:244) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.world.level.material.FlowingFluid.spread(FlowingFluid.java:120) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.world.level.material.FlowingFluid.tick(FlowingFluid.java:410) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.world.level.material.FluidState.tick(FluidState.java:73) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.server.level.ServerLevel.tickLiquid(ServerLevel.java:602) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}


-- Block being ticked --
Details:
    Block location: World: (65,59,-156), Section: (at 1,11,4 in 4,3,-10; chunk contains blocks 64,0,-160 to 79,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
    at net.minecraft.world.level.ServerTickList.tick(ServerTickList.java:78) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
    at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:341) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}


-- Affected level --
Details:
    All players: 0 total; []
    Chunk stats: 2025
    Level dimension: minecraft:overworld
    Level spawn location: World: (-96,70,-160), Section: (at 0,6,0 in -6,4,-10; chunk contains blocks -96,0,-160 to -81,255,-145), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
    Level time: 7 game time, 7 day time
    Level name: Candy Plains Test #8.3
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
    Level weather: Rain time: 65383 (now: false), thunder time: 36328 (now: false)
    Known server brands: forge
    Level was modded: true
    Level storage version: 0x04ABD - Anvil
Stacktrace:
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:882) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:818) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:85) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:683) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258) ~[forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
    at java.lang.Thread.run(Thread.java:831) ~[?:?] {}


-- System Details --
Details:
    Minecraft Version: 1.17.1
    Minecraft Version ID: 1.17.1
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 16.0.1, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
    Memory: 922702848 bytes (879 MiB) / 1832910848 bytes (1748 MiB) up to 4276092928 bytes (4078 MiB)
    CPUs: 12
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 5 2600 Six-Core Processor            
    Identifier: AuthenticAMD Family 23 Model 8 Stepping 2
    Microarchitecture: Zen+
    Frequency (GHz): 3.40
    Number of physical packages: 1
    Number of physical CPUs: 6
    Number of logical CPUs: 12
    Graphics card #0 name: NVIDIA GeForce GTX 1650
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 4095.00
    Graphics card #0 deviceId: 0x1f82
    Graphics card #0 versionInfo: DriverVersion=30.0.14.7141
    Memory slot #0 capacity (MB): 8192.00
    Memory slot #0 clockSpeed (GHz): 2.40
    Memory slot #0 type: DDR4
    Memory slot #1 capacity (MB): 8192.00
    Memory slot #1 clockSpeed (GHz): 2.40
    Memory slot #1 type: DDR4
    Virtual memory max (MB): 32694.69
    Virtual memory used (MB): 25636.80
    Swap memory total (MB): 16384.00
    Swap memory used (MB): 1516.61
    JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
    Player Count: 0 / 8; []
    Data Packs: vanilla (incompatible), mod:forge (incompatible), mod:skizzik (incompatible)
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'forge'
    ModLauncher: 9.0.7+91+master.8569cdf
    ModLauncher launch target: forgeclientuserdev
    ModLauncher naming: mcp
    ModLauncher services: 
         eventbus PLUGINSERVICE 
         object_holder_definalize PLUGINSERVICE 
         runtime_enum_extender PLUGINSERVICE 
         capability_inject_definalize PLUGINSERVICE 
         accesstransformer PLUGINSERVICE 
         runtimedistcleaner PLUGINSERVICE 
         fml TRANSFORMATIONSERVICE 
    FML Language Providers: 
        minecraft@1.0
        javafml@null
    Mod List: 
        forge-1.17.1-37.0.33_mapped_official_1.17.1-recomp|Minecraft                     |minecraft                     |1.17.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
                                                          |Forge                         |forge                         |37.0.33             |DONE      |Manifest: NOSIGNATURE
        main                                              |Skizzik & Co. [Project Apple] |skizzik                       |0.0NONE             |DONE      |Manifest: NOSIGNATURE
    Crash Report UUID: 30a2e54a-68f2-4776-a08e-cebfd31684a1
    FML: 37.0
    Forge: net.minecraftforge:37.0.33
#@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2021-08-17_15.14.48-server.txt
AL lib: (EE) alc_cleanup: 1 device not closed

Process finished with exit code -1
 

And here's how I register my fluid:
The block for the fluid:

public static final RegistryObject<LiquidBlock> MAPLE_SYRUP = registerNoItem("maple_syrup", () -> new LiquidBlock(PA_Fluids.MAPLE_SYRUP, BlockBehaviour.Properties.of(Material.WATER, MaterialColor.TERRACOTTA_RED).noCollission().strength(100.0F).noDrops()));

The fluid:

public static final RegistryObject<FlowingFluid> MAPLE_SYRUP = PA_Registry.FLUIDS.register("maple_syrup", () -> new MapleSyrup.Source(MapleSyrup.createProperties()));
public static final RegistryObject<FlowingFluid> FLOWING_MAPLE_SYRUP = PA_Registry.FLUIDS.register("flowing_maple_syrup", () -> new MapleSyrup.Flowing(MapleSyrup.createProperties()));

The fluid class:

public class MapleSyrup extends ForgeFlowingFluid {
    protected MapleSyrup(Properties properties) {
        super(properties);
    }

    public static ForgeFlowingFluid.Properties createProperties() {
        return new ForgeFlowingFluid.Properties(PA_Fluids.MAPLE_SYRUP, PA_Fluids.FLOWING_MAPLE_SYRUP, FluidAttributes.builder(new ResourceLocation("skizzik:block/maple_syrup_still"), new ResourceLocation("skizzik:block/maple_syrup_flow")).overlay(new ResourceLocation("skizzik:block/maple_syrup_overlay")).density(1000).viscosity(1000).luminosity(0)).canMultiply().bucket(PA_Items.MAPLE_SYRUP_BUCKET).block(PA_Blocks.MAPLE_SYRUP);
    }

    @Override
    public boolean isSource(FluidState state) {
        return false;
    }

    @Override
    public int getAmount(FluidState state) {
        return state.getValue(LEVEL);
    }
}

Any ideas for what exactly is causing the issue?

Link to comment
Share on other sites

18 minutes ago, Luis_ST said:

show this field please:
PA_Fluids.MAPLE_SYRUP

public static final RegistryObject<FlowingFluid> MAPLE_SYRUP = PA_Registry.FLUIDS.register("maple_syrup", () -> new MapleSyrup.Source(MapleSyrup.createProperties()));

Link to comment
Share on other sites

8 minutes ago, Luis_ST said:

do not use the forge LiquidBlock constructor because the constructor is broken
look at the constructor and you will see whats wrong

So I need .get()? If I use that then I get an error since as far as I know fluids are registered before blocks. What exactly do I need to do in this case?

Link to comment
Share on other sites

Just now, uSkizzik said:

So I need .get()? If I use that then I get an error since as far as I know fluids are registered before blocks. What exactly do I need to do in this case?

extends the vanilla LiquidBlock and copy the code, replace all fields 'fluid' with the method 'getFluid', this should fix the error

i will report the bug on github and i hope the problem will be fixed

Link to comment
Share on other sites

  • 4 weeks later...
On 8/18/2021 at 5:08 PM, Luis_ST said:

extends the vanilla LiquidBlock and copy the code, replace all fields 'fluid' with the method 'getFluid', this should fix the error

i will report the bug on github and i hope the problem will be fixed

Hello, I have the same problem, I have created a custom class with the LiquidBlock vanilla code and now I am getting another error when placing the fluid.

Thanks in advance.

Spoiler
---- Minecraft Crash Report ----
// My bad.

Time: 15/9/21 10:44
Description: Exception while ticking

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.block.state.BlockState.isAir()" because "p_49910_" is null
	at net.minecraft.world.level.block.Block.updateOrDestroy(Block.java:158) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateNeighbourShapes(BlockBehaviour.java:611) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.Level.markAndNotifyBlock(Level.java:246) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:213) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:177) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.material.FlowingFluid.spreadTo(FlowingFluid.java:244) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spreadToSides(FlowingFluid.java:146) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spread(FlowingFluid.java:125) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.tick(FlowingFluid.java:410) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FluidState.tick(FluidState.java:73) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tickLiquid(ServerLevel.java:602) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.ServerTickList.tick(ServerTickList.java:78) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:341) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:882) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:818) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:85) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:683) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:831) [?:?] {}


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

-- Head --
Thread: Server thread
Stacktrace:
	at net.minecraft.world.level.block.Block.updateOrDestroy(Block.java:158) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateNeighbourShapes(BlockBehaviour.java:611) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.Level.markAndNotifyBlock(Level.java:246) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:213) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:177) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.material.FlowingFluid.spreadTo(FlowingFluid.java:244) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spreadToSides(FlowingFluid.java:146) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spread(FlowingFluid.java:125) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.tick(FlowingFluid.java:410) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FluidState.tick(FluidState.java:73) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tickLiquid(ServerLevel.java:602) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
-- Block being ticked --
Details:
	Block location: World: (24,4,146), Section: (at 8,4,2 in 1,0,9; chunk contains blocks 16,0,144 to 31,255,159), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
	at net.minecraft.world.level.ServerTickList.tick(ServerTickList.java:78) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:341) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}


-- Affected level --
Details:
	All players: 0 total; []
	Chunk stats: 2025
	Level dimension: minecraft:overworld
	Level spawn location: World: (32,4,144), Section: (at 0,4,0 in 2,0,9; chunk contains blocks 32,0,144 to 47,255,159), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 125 game time, 125 day time
	Level name: New World
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
	Level weather: Rain time: 83025 (now: false), thunder time: 70137 (now: false)
	Known server brands: forge
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
Stacktrace:
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:882) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:818) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:85) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:683) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:831) [?:?] {}


-- System Details --
Details:
	Minecraft Version: 1.17.1
	Minecraft Version ID: 1.17.1
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 16.0.1, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
	Memory: 1560485960 bytes (1488 MiB) / 2099249152 bytes (2002 MiB) up to 4276092928 bytes (4078 MiB)
	CPUs: 16
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 7 2700X Eight-Core Processor         
	Identifier: AuthenticAMD Family 23 Model 8 Stepping 2
	Microarchitecture: Zen+
	Frequency (GHz): 3,69
	Number of physical packages: 1
	Number of physical CPUs: 8
	Number of logical CPUs: 16
	Graphics card #0 name: NVIDIA GeForce GTX 1050 Ti
	Graphics card #0 vendor: NVIDIA (0x10de)
	Graphics card #0 VRAM (MB): 4095,00
	Graphics card #0 deviceId: 0x1c82
	Graphics card #0 versionInfo: DriverVersion=27.21.14.5671
	Memory slot #0 capacity (MB): 8192,00
	Memory slot #0 clockSpeed (GHz): 2,67
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 8192,00
	Memory slot #1 clockSpeed (GHz): 2,67
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 20981,20
	Virtual memory used (MB): 11234,24
	Swap memory total (MB): 4676,44
	Swap memory used (MB): 35,92
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -XX:+ShowCodeDetailsInExceptionMessages
	Player Count: 0 / 8; []
	Data Packs: vanilla, mod:arkanemagicka (incompatible), mod:forge
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'forge'
	ModLauncher: 9.0.7+91+master.8569cdf
	ModLauncher launch target: forgeclientuserdev
	ModLauncher naming: mcp
	ModLauncher services: 
		 eventbus PLUGINSERVICE 
		 object_holder_definalize PLUGINSERVICE 
		 runtime_enum_extender PLUGINSERVICE 
		 capability_inject_definalize PLUGINSERVICE 
		 accesstransformer PLUGINSERVICE 
		 runtimedistcleaner PLUGINSERVICE 
		 fml TRANSFORMATIONSERVICE 
	FML Language Providers: 
		minecraft@1.0
		javafml@null
	Mod List: 
		forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp|Minecraft                     |minecraft                     |1.17.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
		main                                              |Arkane Magicka                |arkanemagicka                 |0.0NONE             |DONE      |Manifest: NOSIGNATURE
		                                                  |Forge                         |forge                         |37.0.53             |DONE      |Manifest: NOSIGNATURE
	Crash Report UUID: 973aa1fa-d21c-4b9c-8f79-c8e983c47897
	FML: 37.0
	Forge: net.minecraftforge:37.0.53

 

 

Edited by furiusmax55
Link to comment
Share on other sites

3 minutes ago, uSkizzik said:

It's not the same problem...

comes from the same problem but now that error happens

a previous log with the error

Spoiler
---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 12/9/21 20:42
Description: Exception while ticking

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.material.FlowingFluid.getTickDelay(net.minecraft.world.level.LevelReader)" because "this.fluid" is null
	at net.minecraft.world.level.block.LiquidBlock.updateShape(LiquidBlock.java:117) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at furiusmax.blocks.CustomLiquidBlock.updateShape(CustomLiquidBlock.java:127) ~[%2378!:?] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateShape(BlockBehaviour.java:669) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateNeighbourShapes(BlockBehaviour.java:610) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.Level.markAndNotifyBlock(Level.java:246) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:213) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:177) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.material.FlowingFluid.spreadTo(FlowingFluid.java:244) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spreadToSides(FlowingFluid.java:146) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spread(FlowingFluid.java:125) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.tick(FlowingFluid.java:410) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FluidState.tick(FluidState.java:73) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tickLiquid(ServerLevel.java:602) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.ServerTickList.tick(ServerTickList.java:78) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:341) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:882) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:818) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:85) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:683) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:831) [?:?] {}


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

-- Head --
Thread: Server thread
Stacktrace:
	at net.minecraft.world.level.block.LiquidBlock.updateShape(LiquidBlock.java:117) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at furiusmax.blocks.CustomLiquidBlock.updateShape(CustomLiquidBlock.java:127) ~[%2378!:?] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateShape(BlockBehaviour.java:669) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateNeighbourShapes(BlockBehaviour.java:610) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.Level.markAndNotifyBlock(Level.java:246) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:213) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.Level.setBlock(Level.java:177) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.material.FlowingFluid.spreadTo(FlowingFluid.java:244) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spreadToSides(FlowingFluid.java:146) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.spread(FlowingFluid.java:125) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FlowingFluid.tick(FlowingFluid.java:410) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.world.level.material.FluidState.tick(FluidState.java:73) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tickLiquid(ServerLevel.java:602) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
-- Block being ticked --
Details:
	Block location: World: (-95,4,-66), Section: (at 1,4,14 in -6,0,-5; chunk contains blocks -96,0,-80 to -81,255,-65), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Stacktrace:
	at net.minecraft.world.level.ServerTickList.tick(ServerTickList.java:78) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading}
	at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:341) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}


-- Affected level --
Details:
	All players: 1 total; [ServerPlayer['Dev'/13, l='ServerLevel[New World]', x=-95.27, y=4.00, z=-68.32]]
	Chunk stats: 2254
	Level dimension: minecraft:overworld
	Level spawn location: World: (-96,4,-48), Section: (at 0,4,0 in -6,0,-3; chunk contains blocks -96,0,-48 to -81,255,-33), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
	Level time: 471 game time, 471 day time
	Level name: New World
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
	Level weather: Rain time: 85832 (now: false), thunder time: 128954 (now: false)
	Known server brands: forge
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
Stacktrace:
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:882) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:818) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:85) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:683) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258) ~[forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp.jar%2374!:?] {re:classloading,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:831) [?:?] {}


-- System Details --
Details:
	Minecraft Version: 1.17.1
	Minecraft Version ID: 1.17.1
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 16.0.1, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
	Memory: 843198416 bytes (804 MiB) / 2034237440 bytes (1940 MiB) up to 4276092928 bytes (4078 MiB)
	CPUs: 16
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 7 2700X Eight-Core Processor         
	Identifier: AuthenticAMD Family 23 Model 8 Stepping 2
	Microarchitecture: Zen+
	Frequency (GHz): 3,69
	Number of physical packages: 1
	Number of physical CPUs: 8
	Number of logical CPUs: 16
	Graphics card #0 name: NVIDIA GeForce GTX 1050 Ti
	Graphics card #0 vendor: NVIDIA (0x10de)
	Graphics card #0 VRAM (MB): 4095,00
	Graphics card #0 deviceId: 0x1c82
	Graphics card #0 versionInfo: DriverVersion=27.21.14.5671
	Memory slot #0 capacity (MB): 8192,00
	Memory slot #0 clockSpeed (GHz): 2,67
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 8192,00
	Memory slot #1 clockSpeed (GHz): 2,67
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 22107,09
	Virtual memory used (MB): 14829,56
	Swap memory total (MB): 5802,33
	Swap memory used (MB): 192,52
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -XX:+ShowCodeDetailsInExceptionMessages
	Player Count: 1 / 8; [ServerPlayer['Dev'/13, l='ServerLevel[New World]', x=-95.27, y=4.00, z=-68.32]]
	Data Packs: vanilla, mod:arkanemagicka (incompatible), mod:forge
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'forge'
	ModLauncher: 9.0.7+91+master.8569cdf
	ModLauncher launch target: forgeclientuserdev
	ModLauncher naming: mcp
	ModLauncher services: 
		 eventbus PLUGINSERVICE 
		 object_holder_definalize PLUGINSERVICE 
		 runtime_enum_extender PLUGINSERVICE 
		 capability_inject_definalize PLUGINSERVICE 
		 accesstransformer PLUGINSERVICE 
		 runtimedistcleaner PLUGINSERVICE 
		 fml TRANSFORMATIONSERVICE 
	FML Language Providers: 
		minecraft@1.0
		javafml@null
	Mod List: 
		forge-1.17.1-37.0.53_mapped_official_1.17.1-recomp|Minecraft                     |minecraft                     |1.17.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
		main                                              |Arkane Magicka                |arkanemagicka                 |0.0NONE             |DONE      |Manifest: NOSIGNATURE
		                                                  |Forge                         |forge                         |37.0.53             |DONE      |Manifest: NOSIGNATURE
	Crash Report UUID: 9c15cc97-0f03-444a-8984-1d3b55ecc8ad
	FML: 37.0
	Forge: net.minecraftforge:37.0.53

 

 

Edited by furiusmax55
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.