Advertisement
Exokem

Untitled

Nov 5th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.22 KB | None | 0 0
  1. //registerBlocks
  2. e.getRegistry().registerAll(
  3.                 new MultiblockMach("centrifuge_console", Exkva.MULTIBLOCK_CENTRIFUGE) {
  4.                     @Override
  5.                     public TileEntity createTileEntity(World world, IBlockState state) {
  6.                         return new MachineTile(400000, 4000, 500, 1200, Exkva.CENTRIFUGE_RECIPES, 1, 3, 3);
  7.                     }
  8.                 }.setGui(Exkva.MULTIBLOCK_CENTRIFUGE)
  9. );
  10.  
  11. GameRegistry.registerTileEntity(MachineTile.class, new ResourceLocation(Exkva.MODID, "_centrifuge_console"));
  12.  
  13. //log
  14. [11:38:04] [Server thread/ERROR] [minecraft/TileEntity]: Failed to create block entity exkva:_centrifuge_console
  15. java.lang.InstantiationException: exokem.exkva.objects.bases.mach.MachineTile
  16.     at java.lang.Class.newInstance(Class.java:427) ~[?:1.8.0_181]
  17.     at net.minecraft.tileentity.TileEntity.create(TileEntity.java:116) [TileEntity.class:?]
  18.     at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadEntities(AnvilChunkLoader.java:530) [AnvilChunkLoader.class:?]
  19.     at net.minecraftforge.common.chunkio.ChunkIOProvider.syncCallback(ChunkIOProvider.java:101) [ChunkIOProvider.class:?]
  20.     at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:94) [ChunkIOExecutor.class:?]
  21.     at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:130) [ChunkProviderServer.class:?]
  22.     at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:101) [ChunkProviderServer.class:?]
  23.     at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:147) [ChunkProviderServer.class:?]
  24.     at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:383) [MinecraftServer.class:?]
  25.     at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:143) [IntegratedServer.class:?]
  26.     at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:160) [IntegratedServer.class:?]
  27.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:552) [MinecraftServer.class:?]
  28.     at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
  29. Caused by: java.lang.NoSuchMethodException: exokem.exkva.objects.bases.mach.MachineTile.<init>()
  30.     at java.lang.Class.getConstructor0(Class.java:3082) ~[?:1.8.0_181]
  31.     at java.lang.Class.newInstance(Class.java:412) ~[?:1.8.0_181]
  32.     ... 12 more
  33. [11:38:04] [Server thread/ERROR] [FML]: A TileEntity exkva:_centrifuge_console(exokem.exkva.objects.bases.mach.MachineTile) has thrown an exception during loading, its state cannot be restored. Report this to the mod author
  34. java.lang.InstantiationException: exokem.exkva.objects.bases.mach.MachineTile
  35.     at java.lang.Class.newInstance(Class.java:427) ~[?:1.8.0_181]
  36.     at net.minecraft.tileentity.TileEntity.create(TileEntity.java:116) [TileEntity.class:?]
  37.     at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadEntities(AnvilChunkLoader.java:530) [AnvilChunkLoader.class:?]
  38.     at net.minecraftforge.common.chunkio.ChunkIOProvider.syncCallback(ChunkIOProvider.java:101) [ChunkIOProvider.class:?]
  39.     at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:94) [ChunkIOExecutor.class:?]
  40.     at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:130) [ChunkProviderServer.class:?]
  41.     at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:101) [ChunkProviderServer.class:?]
  42.     at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:147) [ChunkProviderServer.class:?]
  43.     at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:383) [MinecraftServer.class:?]
  44.     at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:143) [IntegratedServer.class:?]
  45.     at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:160) [IntegratedServer.class:?]
  46.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:552) [MinecraftServer.class:?]
  47.     at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
  48. Caused by: java.lang.NoSuchMethodException: exokem.exkva.objects.bases.mach.MachineTile.<init>()
  49.     at java.lang.Class.getConstructor0(Class.java:3082) ~[?:1.8.0_181]
  50.     at java.lang.Class.newInstance(Class.java:412) ~[?:1.8.0_181]
  51.     ... 12 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement