Jump to content

Recommended Posts

Posted
[19:08:42] [Render thread/FATAL] [minecraft/Minecraft]: Reported exception thrown!
net.minecraft.crash.ReportedException: Ticking block entity
	at net.minecraft.world.World.tickBlockEntities(World.java:506) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.client.world.ClientWorld.tickEntities(ClientWorld.java:175) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.tick(Minecraft.java:1485) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:954) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.run(Minecraft.java:607) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332] {}
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332] {}
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332] {}
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332] {}
	at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:38) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?] {}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {}
	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:94) [forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {}
Caused by: java.lang.NullPointerException
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:92) ~[main/:?] {re:classloading}
	at net.minecraft.world.World.tickBlockEntities(World.java:491) ~[forge-1.16.5-36.2.35_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
	... 16 more

When I place the block it instantly crashes.

Here is the code:

https://github.com/Manueh333/Marvel-MOD/blob/1.16.5/src/main/java/manueh/marvel_themod/common/entity/TimeGemBlockEntity.java

 

Thanks! :D

Posted

You are ticking the block on the client where there is no area calculated.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

Thanks, I have tried to put @OnlyIn(Dist.DEDICATED_SERVER) but the error still there

[22:36:11] [Server thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID 58d395eb-597b-4c88-9114-f856748e3ed2
[22:36:11] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Ticking block entity
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:855) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:787) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.integrated.IntegratedServer.tickServer(IntegratedServer.java:78) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:642) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:232) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_332] {}
Caused by: java.lang.NoSuchMethodError: manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlockArea()V
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:96) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.world.World.tickBlockEntities(World.java:491) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.server.ServerWorld.tick(ServerWorld.java:371) ~[forge:?] {re:classloading}
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:851) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	... 5 more
  @Override
  public void tick() {
    if (this.speed == 0 || (this.xRange == 0 && this.yRange == 0 && this.zRange == 0))
      return;
    if (this.getLevel().isClientSide())
      return;
    randomTicks = this.level.getGameRules().getInt(GameRules.RULE_RANDOMTICKING);
    tickBlockArea();
  }


  @OnlyIn(Dist.DEDICATED_SERVER)
  private void tickBlockArea() {
    this.area.forEach(this::tickBlock);
  }
@OnlyIn(Dist.DEDICATED_SERVER)
  private void tickBlock(BlockPos pos) {
    if (this.getLevel().isClientSide())
      return;
    ITickableTileEntity tickableBlockEntity;
    BlockState blockState = this.level.getBlockState(pos);
    Block block = blockState.getBlock();
    if (TimeGemAPI.INSTANCE.isBlockBlacklisted(block))
      return;

    if (this.level instanceof ServerWorld && block.isRandomlyTicking(blockState) && this.level.getRandom().nextInt(MathHelper.clamp(4096 / this.speed * 4, 1, 4096)) < randomTicks)
      blockState.randomTick((ServerWorld)this.level, pos, this.level.getRandom());
    TileEntity blockEntity = this.level.getBlockEntity(pos);
    if (blockEntity != null && !blockEntity.isRemoved() && !TimeGemAPI.INSTANCE.isBlockEntityBlacklisted(blockEntity.getType())) {
      TileEntity tileEntity = blockEntity;
      if (tileEntity instanceof ITickableTileEntity) {
        tickableBlockEntity = (ITickableTileEntity)tileEntity;
      } else {
        return;
      } 
    } else {
      return;
    } 
    for (int i = 0; i < this.speed && 
      !blockEntity.isRemoved(); i++)
      tickableBlockEntity.tick();
  }
  

 

Posted (edited)

Don't use OnlyIn. That is meant to mark vanilla code so you know which side it belongs to.

What you did is remove the method from the class on the client version of minecraft.

In your tick method add an isClientSide check.

Ticking in the client is usually only used for modifying variables related to animations.

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

Ok, I used if(level.isClientSide) and I got this error 

[23:19:21] [Server thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID b818d581-ffad-496b-9a66-bbc378a5caba
[23:19:21] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Ticking block entity
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:855) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:787) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.integrated.IntegratedServer.tickServer(IntegratedServer.java:78) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:642) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:232) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_332] {}
Caused by: java.lang.StackOverflowError
	at net.minecraft.util.math.BlockPos.lambda$betweenClosed$5(BlockPos.java:322) ~[forge:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:74) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_332] {}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tick(TimeGemBlockEntity.java:99) ~[?:?] {re:classloading}
	at manueh.marvel_themod.common.entity.TimeGemBlockEntity.tickBlock(TimeGemBlockEntity.java:129) ~[?:?] {re:classloading}
  @Override
  public void tick() {
    if (this.speed == 0 || (this.xRange == 0 && this.yRange == 0 && this.zRange == 0))
      return;

    if(!level.isClientSide) {
    randomTicks = this.level.getGameRules().getInt(GameRules.RULE_RANDOMTICKING);
    this.area.forEach(this::tickBlock);

    }}


  private void tickBlock(BlockPos pos) {
    if (level.isClientSide)
      return;
    ITickableTileEntity tickableBlockEntity;
    BlockState blockState = this.level.getBlockState(pos);
    Block block = blockState.getBlock();
    if (TimeGemAPI.INSTANCE.isBlockBlacklisted(block))
      return;

    if (this.level instanceof ServerWorld && block.isRandomlyTicking(blockState) && this.level.getRandom().nextInt(MathHelper.clamp(4096 / this.speed * 4, 1, 4096)) < randomTicks)
      blockState.randomTick((ServerWorld)this.level, pos, this.level.getRandom());
    TileEntity blockEntity = this.level.getBlockEntity(pos);
    if (blockEntity != null && !blockEntity.isRemoved()) {
      TileEntity tileEntity = blockEntity;
      if (tileEntity instanceof ITickableTileEntity) {
        tickableBlockEntity = (ITickableTileEntity)tileEntity;
      } else {
        return;
      } 
    } else {
      return;
    }
    if(!level.isClientSide) {
    for (int i = 0; i < this.speed && 
      !blockEntity.isRemoved(); i++)
      tickableBlockEntity.tick();

    }
    }

 

Posted

Read the error message. You have recursive death.

Your tickableBlockEntity.tick() call is calling tick() on yourself, and so round and round it goes... 🙂

You also only need one isClientSide check. tick() is the main entry point. The others are redundant.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted (edited)

I would make your check

if (!(tickableBlockEntity instanceof TimeGemBlockEntity))
{
    for (int i = 0; i < this.speed && 
      !tickableBlockEntity.isRemoved(); i++)
      tickableBlockEntity.tick();
}

so 2 of your blocks placed next to each other don't tick each other. Otherwise you will have the same problem.

 

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

You are still going to get the same problem if somebody else makes a block like yours and somebody places that block next to yours.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

Compare a stored worldtime to the last-checked world time.

If different, you know it hasn't ticked any times, if it has, it's ticked at least once.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted (edited)

A "dirty fix" is to catch the StackOverFlowException and then disable your block.

Print an error in the log when this happens. Maybe give some indication graphically that the block is not working.

At least that way you won't break people's worlds.

If it crashes as soon as they get in the game, they can't fix it.

 

Something like:

private boolean stopped = false;

@Override
public void tick() {
    if (stopped) return;
    try {

        // Your normal code

    } catch (StackOverFlowError e) {
       if (!stopped)
           log.error("Detected tick accelaration conflict, stopping! x=" + worldPosition.getX() + " y=" + worldPosition.getY() + " z=" + worldPosition.getZ(), e);
       stopped = true;
    }
}

I added a !stopped checked to avoid duplicate logging.

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

I added a !stopped checked to avoid duplicate logging.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted
Quote

Compare a stored worldtime to the last-checked world time.

If different, you know it hasn't ticked any times, if it has, it's ticked at least once.

Or even simpler, just reject re-entrant calls?

private boolean inTick = false;

@Override
public void tick() {
    if (inTick) return;
    inTick = true; 

    // Your code

    inTick = false;
}

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted
11 hours ago, diesieben07 said:

This. Catching StackOverflowError is a bad idea (like with any Error).

Kinda sorta.
Don't catch fatal errors. Don't create boneheaded errors in the first place so you don't need to catch them.

Exogenous you must catch, while vexing are...well, vexing: the product of unfortunate design decisions that may (or may not) have a Try alternative that doesn't throw an exception when there's a problem, but if not, the exception must be caught.

https://ericlippert.com/2008/09/10/vexing-exceptions/

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

In general you shouldn't catch Errors yes, they signal a potential unrecoverable corrupted state, that's why I called it a "dirty fix".

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.