Limited number of advancements ?

Started by BlueFeline on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Limited number of advancements ?

I am creating a mod with a lot of advancements (precisely 18). Unfortunately, the last 4 do not want to appear in the personalized tab of my advancements or in the /advancement command ; and when I try to activate the procedure that unlocks them, the game crashes. Too bad because my mod is based on advancements. : /

BlueFeline

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It’s weird. Can we have your…
Fri, 02/28/2020 - 12:47

It’s weird. Can we have your workspace to check in it or give some screenshots ?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I send the workspace…
Fri, 02/28/2020 - 16:48

How can I send the workspace to you?

Here is the crash report:

---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 28/02/20 17:29
Description: Ticking player

java.lang.NullPointerException: Ticking player
    at net.minecraft.advancements.PlayerAdvancements.startProgress(PlayerAdvancements.java:323) ~[forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
    at net.minecraft.advancements.PlayerAdvancements.getProgress(PlayerAdvancements.java:316) ~[forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.executeProcedure(MCreatorUndergroundChallengeCondition.java:614) ~[main/:?] {re:classloading}
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.onPlayerTick(MCreatorUndergroundChallengeCondition.java:644) ~[main/:?] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_21_MCreatorUndergroundChallengeCondition_onPlayerTick_PlayerTickEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.fml.hooks.BasicEventHooks.onPlayerPostTick(BasicEventHooks.java:89) ~[?:?] {re:classloading}
    at net.minecraft.entity.player.PlayerEntity.tick(PlayerEntity.java:282) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.entity.player.ServerPlayerEntity.playerTick(ServerPlayerEntity.java:381) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.network.play.ServerPlayNetHandler.tick(ServerPlayNetHandler.java:183) ~[?:?] {re:classloading}
    at net.minecraft.network.NetworkManager.tick(NetworkManager.java:245) ~[?:?] {re:classloading}
    at net.minecraft.network.NetworkSystem.tick(NetworkSystem.java:148) ~[?:?] {re:classloading}
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:882) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:800) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:646) [?:?] {re:classloading,pl:accesstransformer:B}
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232] {}

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

-- Head --
Thread: Server thread
Stacktrace:
    at net.minecraft.advancements.PlayerAdvancements.startProgress(PlayerAdvancements.java:323)
    at net.minecraft.advancements.PlayerAdvancements.getProgress(PlayerAdvancements.java:316)
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.executeProcedure(MCreatorUndergroundChallengeCondition.java:614)
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.onPlayerTick(MCreatorUndergroundChallengeCondition.java:644)
    at net.minecraftforge.eventbus.ASMEventHandler_21_MCreatorUndergroundChallengeCondition_onPlayerTick_PlayerTickEvent.invoke(.dynamic)
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
    at net.minecraftforge.fml.hooks.BasicEventHooks.onPlayerPostTick(BasicEventHooks.java:89)
    at net.minecraft.entity.player.PlayerEntity.tick(PlayerEntity.java:282)

-- Player being ticked --
Details:
    Entity Type: minecraft:player (net.minecraft.entity.player.ServerPlayerEntity)
    Entity ID: 32
    Entity Name: Dev
    Entity's Exact location: 104.31, 58.00, 21.02
    Entity's Block location: World: (104,58,21), Chunk: (at 8,3,5 in 6,1; contains blocks 96,0,16 to 111,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.entity.player.ServerPlayerEntity.playerTick(ServerPlayerEntity.java:381)
    at net.minecraft.network.play.ServerPlayNetHandler.tick(ServerPlayNetHandler.java:183)
    at net.minecraft.network.NetworkManager.tick(NetworkManager.java:245)

-- Ticking connection --
Details:
    Connection: net.minecraft.network.NetworkManager@6da38c8b
Stacktrace:
    at net.minecraft.network.NetworkSystem.tick(NetworkSystem.java:148)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:882)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:800)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:646)
    at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Mac OS X (x86_64) version 10.15.3
    Java Version: 1.8.0_232, BellSoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), BellSoft
    Memory: 684635848 bytes (652 MB) / 1638400000 bytes (1562 MB) up to 3817865216 bytes (3641 MB)
    CPUs: 8
    JVM Flags: 1 total; -Xss1M
    ModLauncher: 4.1.0+62+5bfa59b
    ModLauncher launch target: fmluserdevclient
    ModLauncher naming: mcp
    ModLauncher services: 
        /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.1-milestone.0.1+94458e7-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar fml TRANSFORMATIONSERVICE 
    FML: 28.1
    Forge: net.minecraftforge:28.1.117
    FML Language Providers: 
        javafml@28.1
        minecraft@1
    Mod List: 
        client-extra.jar Minecraft {minecraft@1.14.4 DONE}
        forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-recomp.jar Forge {forge@28.1.117 DONE}
        main Adventure of Challenges {adventure_of_challenges@1.0.0 DONE}
    Player Count: 1 / 8; [ServerPlayerEntity['Dev'/32, l='New World', x=104.31, y=58.00, z=21.02]]
    Data Packs: vanilla, mod:adventure_of_challenges, mod:forge
    Type: Integrated Server (map_client.txt)
   Is Modded: Definitely; Client brand changed to 'forge'

The procedure that triggers the advancements

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had already adapted my…
Fri, 02/28/2020 - 17:27

I had already adapted my advancements to the update and I have already tried to re-create the advancements, but my game continues to crash :(

An example of my advancements

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
All crash reports? (Sorry if…
Sat, 02/29/2020 - 10:39

All crash reports? (Sorry if I don't understand everything, I'm new to Mcreator)

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, go into the Run folder…
Sat, 02/29/2020 - 11:39

No, go into the Run folder of your Workspace folder. After go into Crash Reports (He speaks of the full Minecraft crash report) and then take the last file (crash report, not latest.txt).

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found that : ----…
Sat, 02/29/2020 - 13:12

I found that :

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 29/02/20 11:30
Description: Ticking player

java.lang.NullPointerException: Ticking player
    at net.minecraft.advancements.PlayerAdvancements.startProgress(PlayerAdvancements.java:323) ~[forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
    at net.minecraft.advancements.PlayerAdvancements.getProgress(PlayerAdvancements.java:316) ~[forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.executeProcedure(MCreatorUndergroundChallengeCondition.java:614) ~[main/:?] {re:classloading}
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.onPlayerTick(MCreatorUndergroundChallengeCondition.java:644) ~[main/:?] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_21_MCreatorUndergroundChallengeCondition_onPlayerTick_PlayerTickEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.fml.hooks.BasicEventHooks.onPlayerPostTick(BasicEventHooks.java:89) ~[?:?] {re:classloading}
    at net.minecraft.entity.player.PlayerEntity.tick(PlayerEntity.java:282) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.entity.player.ServerPlayerEntity.playerTick(ServerPlayerEntity.java:381) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.network.play.ServerPlayNetHandler.tick(ServerPlayNetHandler.java:183) ~[?:?] {re:classloading}
    at net.minecraft.network.NetworkManager.tick(NetworkManager.java:245) ~[?:?] {re:classloading}
    at net.minecraft.network.NetworkSystem.tick(NetworkSystem.java:148) ~[?:?] {re:classloading}
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:882) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:800) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:646) [?:?] {re:classloading,pl:accesstransformer:B}
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232] {}

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

-- Head --
Thread: Server thread
Stacktrace:
    at net.minecraft.advancements.PlayerAdvancements.startProgress(PlayerAdvancements.java:323)
    at net.minecraft.advancements.PlayerAdvancements.getProgress(PlayerAdvancements.java:316)
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.executeProcedure(MCreatorUndergroundChallengeCondition.java:614)
    at net.mcreator.adventure_of_challenges.MCreatorUndergroundChallengeCondition.onPlayerTick(MCreatorUndergroundChallengeCondition.java:644)
    at net.minecraftforge.eventbus.ASMEventHandler_21_MCreatorUndergroundChallengeCondition_onPlayerTick_PlayerTickEvent.invoke(.dynamic)
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
    at net.minecraftforge.fml.hooks.BasicEventHooks.onPlayerPostTick(BasicEventHooks.java:89)
    at net.minecraft.entity.player.PlayerEntity.tick(PlayerEntity.java:282)

-- Player being ticked --
Details:
    Entity Type: minecraft:player (net.minecraft.entity.player.ServerPlayerEntity)
    Entity ID: 171
    Entity Name: Dev
    Entity's Exact location: -6.57, 59.33, 21.82
    Entity's Block location: World: (-7,59,21), Chunk: (at 9,3,5 in -1,1; contains blocks -16,0,16 to -1,255,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: 0.04, 0.00, -0.12
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.entity.player.ServerPlayerEntity.playerTick(ServerPlayerEntity.java:381)
    at net.minecraft.network.play.ServerPlayNetHandler.tick(ServerPlayNetHandler.java:183)
    at net.minecraft.network.NetworkManager.tick(NetworkManager.java:245)

-- Ticking connection --
Details:
    Connection: net.minecraft.network.NetworkManager@1414dce4
Stacktrace:
    at net.minecraft.network.NetworkSystem.tick(NetworkSystem.java:148)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:882)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:800)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:646)
    at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Mac OS X (x86_64) version 10.15.3
    Java Version: 1.8.0_232, BellSoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), BellSoft
    Memory: 854168064 bytes (814 MB) / 1893728256 bytes (1806 MB) up to 3817865216 bytes (3641 MB)
    CPUs: 8
    JVM Flags: 1 total; -Xss1M
    ModLauncher: 4.1.0+62+5bfa59b
    ModLauncher launch target: fmluserdevclient
    ModLauncher naming: mcp
    ModLauncher services: 
        /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.1-milestone.0.1+94458e7-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-launcher.jar fml TRANSFORMATIONSERVICE 
    FML: 28.1
    Forge: net.minecraftforge:28.1.117
    FML Language Providers: 
        javafml@28.1
        minecraft@1
    Mod List: 
        client-extra.jar Minecraft {minecraft@1.14.4 DONE}
        forge-1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3-recomp.jar Forge {forge@28.1.117 DONE}
        main Adventure of Challenges {adventure_of_challenges@1.0.0 DONE}
    Player Count: 1 / 8; [ServerPlayerEntity['Dev'/171, l='New World', x=-6.57, y=59.33, z=21.82]]
    Data Packs: vanilla, mod:adventure_of_challenges, mod:forge
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'forge'

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello ! I finally managed to…
Sat, 02/29/2020 - 14:45

Hello ! I finally managed to solve my strange problem by erasing all the advancements and re-creating them exactly as they were! Thanks for helping me and have a nice day,
BlueFeline