Jump to content

Liahim

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by Liahim

  1. In order not to receive the LayerLightEventListener 256 times, but to receive it only once. Could you point me to where the light data is being retrieved? Perhaps I can somehow intercept this packet or add a mixin call to it. I really need to know this exactly at the time of loading the chunk, since I am making a lightmap. Maybe I should ask the forge team to add a special event for this? Or is it easier for me to add my own ticker for each chunk and retrieve data one tick after loading? ๐Ÿ˜„
  2. This is exactly what you said. If we look into the Level#getBrightness method, we can see the same thing. default int getBrightness(LightLayer type, BlockPos pos) { return this.getLightEngine().getLayerListener(type).getLightValue(pos); } For example: @SubscribeEvent public void playerTick(PlayerTickEvent event) { if (event.side == LogicalSide.CLIENT && event.phase == Phase.START ) { if (event.player.tickCount % 20 == 0) { Level world = event.player.level; LayerLightEventListener sky = world.getLightEngine().getLayerListener(LightLayer.SKY); BlockPos pos = new BlockPos(event.player.blockPosition()); MutableBlockPos mPos = BlockPos.ZERO.mutable(); for (int x = 0; x < 16; ++x) { for (int z = 0; z < 16; ++z) { int s = sky.getLightValue(mPos.set(pos).move(x, 0, z)); System.out.println(pos + "_" + s); } } } } } It doesn't matter where and how to do it. I see incorrect data only during the chunk load event. And this happens only at 1.18.x
  3. No, that doesn't work either. @SubscribeEvent public void onChunkLoaded(ChunkEvent.Load event) { if (event.getWorld().isClientSide()) { if (event.getWorld() instanceof Level) { Level world = (Level) event.getWorld(); LayerLightEventListener sky = world.getLightEngine().getLayerListener(LightLayer.SKY); BlockPos pos = new BlockPos(event.getChunk().getPos().getWorldPosition().above(70)); //Tried at different heights MutableBlockPos mPos = BlockPos.ZERO.mutable(); for (int x = 0; x < 16; ++x) { for (int z = 0; z < 16; ++z) { int s = sky.getLightValue(mPos.set(pos).move(x, 0, z)); System.out.println(pos + "_" + s); } } } } } Location? I've tried this in a lot of locations. It outputs either zero or 15 (obviously in empty chunk sections) to the console...
  4. I am trying to do this: @OnlyIn(Dist.CLIENT) @SubscribeEvent public void onChunkLoaded(ChunkEvent.Load event) { if (event.getWorld().isClientSide()) { if (event.getWorld() instanceof Level) { Level world = (Level) event.getWorld(); DataLayer sky = world.getLightEngine().getLayerListener(LightLayer.SKY).getDataLayerData(SectionPos.of(event.getChunk().getPos().x, 64 >> 4, event.getChunk().getPos().z)); if (sky != null) System.out.println(sky.get(8, 8, 8)); } } } But I get zero all the time. If I try to do this at any other time after loading the chunk, the result will be correct. In addition, everything worked correctly on version 1.17.x
  5. I fixed it! The point was that I worked with different instances of the cap in this place: public SimpleCapProvider(Capability<C> capa, NonNullSupplier<C> instance) { this.capa = capa; this.instance = instance.get(); this.capOptional = LazyOptional.of(instance); // <----------- } But this is correct: public SimpleCapProvider(Capability<C> capa, NonNullSupplier<C> instance) { this.capa = capa; this.instance = instance.get(); this.capOptional = LazyOptional.of(() -> this.instance); // <----------- }
  6. public class MistCapaHandler extends ItemStackHandler implements IMistCapaHandler { private Player player; private int pollution; private int toxic; public MistCapaHandler() {} // ... @Override public CompoundTag serializeNBT() { CompoundTag nbt = super.serializeNBT(); nbt.putInt("Pollution", this.pollution); nbt.putInt("Toxic", this.toxic); return nbt; } @Override public void deserializeNBT(CompoundTag nbt) { super.deserializeNBT(nbt); this.pollution = nbt.getInt("Pollution"); this.toxic = nbt.getInt("Toxic"); } // ... }
  7. Yes, indeed. You're right. But why can't I save the information? What am I doing wrong?
  8. But capa didn't save during restarting the game. All events are subscribed in my main class. As I wrote in this message All methods work fine and information is saved when I use event.addListener(provider.capOptional::invalidate); But I am getting NullPointerException when going from dimension to dimension when trying to get a cap on the EntityJoinWorldEvent.
  9. But how can I save information when restarting the game? I use this example: https://github.com/VazkiiMods/Botania/blob/0c1138252901ea646f6f97f9427f62ccd258e9d3/src/main/java/vazkii/botania/common/capability/SimpleCapProvider.java#L42 public class SimpleCapProvider<C extends INBTSerializable<CompoundTag>> implements ICapabilityProvider, INBTSerializable<CompoundTag> { private final C instance; private final LazyOptional<C> capOptional; private final Capability<C> capa; public SimpleCapProvider(Capability<C> capa, NonNullSupplier<C> instance) { this.capa = capa; this.instance = instance.get(); this.capOptional = LazyOptional.of(instance); } @Nonnull @Override public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { return capa.orEmpty(cap, capOptional); } @Override public CompoundTag serializeNBT() { return this.instance.serializeNBT(); } @Override public void deserializeNBT(CompoundTag nbt) { this.instance.deserializeNBT(nbt); } public static <C extends INBTSerializable<CompoundTag>> void attach(AttachCapabilitiesEvent<?> event, ResourceLocation key, Capability<C> cap, NonNullSupplier<C> capInstance) { SimpleCapProvider<C> provider = new SimpleCapProvider<>(cap, capInstance); event.addCapability(key, provider); //event.addListener(provider.capOptional::invalidate); //TODO Capa invalidate } } And this is my capa registration public class MistCaps { @CapabilityInject(IMistCapaHandler.class) public static Capability<IMistCapaHandler> CAPABILITY_MIST; @CapabilityInject(ISkillCapaHandler.class) public static Capability<ISkillCapaHandler> CAPABILITY_SKILL; @CapabilityInject(IFoodHandler.class) public static Capability<IFoodHandler> CAPABILITY_FOOD; private static final List<CapaEntry<? extends INBTSerializable<CompoundTag>>> capaList = Lists.newArrayList(); public static void init(RegisterCapabilitiesEvent event) { register(event, "player_capa", IMistCapaHandler.class, () -> CAPABILITY_MIST, MistCapaHandler::new); register(event, "skill_capa", ISkillCapaHandler.class, () -> CAPABILITY_SKILL, SkillCapaHandler::new); register(event, "food_capa", IFoodHandler.class, () -> CAPABILITY_FOOD, FoodCapaHandler::new); Mist.LOGGER.info("Misty caps has been registered!"); } //////////////////////////////////////////////////////// MAGIC //////////////////////////////////////////////////////// private static <C extends INBTSerializable<CompoundTag>> void register(RegisterCapabilitiesEvent event, String name, Class<C> clazz, NonNullSupplier<Capability<C>> capa, NonNullSupplier<C> instance) { event.register(clazz); capaList.add(new CapaEntry<C>(Mist.resLoc(name), capa, instance)); } @SubscribeEvent public void attachCapabilitiesPlayer(AttachCapabilitiesEvent<Entity> event) { if (event.getObject() instanceof Player) capaList.forEach(entry -> attach(event, entry)); } @SubscribeEvent public void cloneCapabilitiesEvent(PlayerEvent.Clone event) { capaList.forEach(entry -> clone(event, entry)); } private static <C extends INBTSerializable<CompoundTag>> void attach(AttachCapabilitiesEvent<?> event, CapaEntry<C> entry) { SimpleCapProvider.attach(event, entry.res, entry.capa.get(), entry.instance); if (event.getCapabilities().get(entry.res) == null) { Mist.LOGGER.error("Player didn't attach [" + entry.capa.get().getName() + "] capa"); } else Mist.LOGGER.info("Player has attached [" + entry.capa.get().getName() + "] capa"); } private static <C extends INBTSerializable<CompoundTag>> void clone(PlayerEvent.Clone event, CapaEntry<C> entry) { try { //event.getOriginal().reviveCaps(); C original = event.getOriginal().getCapability(entry.capa.get()).orElseThrow(NullPointerException::new); CompoundTag nbt = original.serializeNBT(); C clone = event.getPlayer().getCapability(entry.capa.get()).orElseThrow(NullPointerException::new); clone.deserializeNBT(nbt); //event.getOriginal().invalidateCaps(); } catch (Exception e) { Mist.LOGGER.error("Could not clone capability [" + entry.capa.get().getName() + "] when player [" + event.getOriginal().getName() + "] changing dimensions"); } } private static class CapaEntry<C extends INBTSerializable<CompoundTag>> { private final ResourceLocation res; private final NonNullSupplier<C> instance; private final NonNullSupplier<Capability<C>> capa; public CapaEntry(ResourceLocation res, NonNullSupplier<Capability<C>> capa, NonNullSupplier<C> instance) { this.res = res; this.instance = instance; this.capa = capa; } } }
  10. The information is saved if I add listeners in AttachCapabilitiesEvent: event.addCapability(key, provider); event.addListener(provider.capOptional::invalidate); However, I get NullPointerException when going from dimension to dimension at this line in EntityJoinWorldEvent. player.getCapability(MistCaps.CAPABILITY_MIST).orElseThrow(() -> new NullPointerException("Player has no mist capability")); If I do not add listeners, then everything works fine when changing the dimension, but the information is not saved when I restart the game. Of course I have tried using reviveCaps(). No result.
  11. Hello! Tell me, did anyone find a solution to this problem? I have the same.
  12. Fixed! On version 1.16.5, before loading the image, you must reset the following parameters: GlStateManager._pixelStore(GL11.GL_UNPACK_SKIP_PIXELS, 0); GlStateManager._pixelStore(GL11.GL_UNPACK_SKIP_ROWS, 0);
  13. Hello! I am unable to load the texture from the IntBuffer. Sequencing: I create a texture with a certain size and write it to the IntBuffer. Then I load it into GL using the method: GL11.glTexSubImage2D() At certain points, the texture size changes... Then, I recreate the IntBuffer, re-bind the texture and load it again. static int offset; static int size; // offset changes at some point // after that I call prepareImage() public static void prepareImage() { size = (offset * 2 + 1) << 4; buf = BufferUtils.createIntBuffer(size * size); TextureUtil.prepareImage(textureId, size, size); ... // create a texture again and write to the buffer upload(0, 0, size, size); } private static void upload(int xOffset, int yOffset, int width, int height) { if (RenderSystem.isOnRenderThreadOrInit()) uploadImage(xOffset, yOffset, width, height); else RenderSystem.recordRenderCall(() -> uploadImage(xOffset, yOffset, width, height)); } private static void uploadImage(int xOffset, int yOffset, int width, int height) { bindTexture(); boolean offset = xOffset > 0 || yOffset > 0; if (offset) { setPosition(xOffset, yOffset); GL11.glPixelStorei(GL11.GL_UNPACK_ROW_LENGTH, size); } GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_WRAP_S, GL12.GL_CLAMP_TO_EDGE); GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_WRAP_T, GL12.GL_CLAMP_TO_EDGE); GL11.glTexSubImage2D(GL11.GL_TEXTURE_2D, 0, xOffset, yOffset, width, height, GL11.GL_RGBA, GL12.GL_UNSIGNED_INT_8_8_8_8_REV, buf); // crash here if (offset) { setPosition(0, 0); GL11.glPixelStorei(GL11.GL_UNPACK_ROW_LENGTH, 0); } } private static void setPosition(int x, int y) { buf.position(y * size + x); } Crash doesn't always happen. Sometimes it works and sometimes it doesn't. Also, if I load only a part of the texture with an offset, the loaded piece eventually jumps and turns out to be in a different position each time. As if the parameter GL11.GL_UNPACK_ROW_LENGTH changes every time. A very strange message is displayed in the console: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005f4749e0, pid=7740, tid=0x0000000000001c38 # # JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [nvoglv64.DLL+0xaf49e0] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # E:\Mod\1.16.5\run\hs_err_pid7740.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # This is what is in this file: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005f4749e0, pid=7740, tid=0x0000000000001c38 # # JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [nvoglv64.DLL+0xaf49e0] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x00000000021ec000): JavaThread "Render thread" [_thread_in_native, id=7224, stack(0x0000000002440000,0x0000000002540000)] siginfo: ExceptionCode=0xc0000005, reading address 0x000000003d5b1000 Registers: RAX=0x000000003d5b1020, RBX=0x000000003d5b0c80, RCX=0x000000003d6cbd60, RDX=0x000000003d5b0c80 RSP=0x000000000253d0d8, RBP=0x0000000000000840, RSI=0x0000000000000000, RDI=0x000000003d6cb9c0 R8 =0x0000000000000013, R9 =0x0000000000000000, R10=0x0000000026a7ee94, R11=0x0000000000000002 R12=0x0000000000000000, R13=0x0000000000000000, R14=0x000000000253d330, R15=0x0000000000000000 RIP=0x000000005f4749e0, EFLAGS=0x0000000000010202 Top of Stack: (sp=0x000000000253d0d8) 0x000000000253d0d8: 000000005f474650 000000000000001e 0x000000000253d0e8: 0000000400000000 0000000000000000 0x000000000253d0f8: 0000021000000800 0000000000000001 0x000000000253d108: 000000005f0bbf00 000000003d6cb9c0 0x000000000253d118: 0000000000000210 000000003d5b0c80 0x000000000253d128: 000000005efc2b83 000000001c620000 0x000000000253d138: 0000000000000000 0000000000000000 0x000000000253d148: 000000005efc2953 000000005f48b040 0x000000000253d158: 0000000000000000 000000005efc2b00 0x000000000253d168: 000000005efcc6d4 00000000242f24d0 0x000000000253d178: 000000005ee45c22 000000000253d330 0x000000000253d188: 0000000000000009 000000005efcc680 0x000000000253d198: 000000001c620000 0000000000000001 0x000000000253d1a8: 000000005efcec7d 000000000253d330 0x000000000253d1b8: 0000000000000001 00000000241392e0 0x000000000253d1c8: 0000000000000004 0000005200000052 Instructions: (pc=0x000000005f4749e0) 0x000000005f4749c0: 11 49 c0 0f 11 41 d0 49 83 e8 01 75 d3 c3 4d 85 0x000000005f4749d0: c0 74 3a 48 83 c1 20 48 8d 42 20 0f 1f 44 00 00 0x000000005f4749e0: 0f 10 58 e0 48 8d 49 40 0f 10 50 f0 0f 10 08 0f 0x000000005f4749f0: 10 40 10 48 8d 40 40 0f 11 59 a0 0f 11 51 b0 0f Register to memory mapping: RAX=0x000000003d5b1020 is an unknown value RBX=0x000000003d5b0c80 is an unknown value RCX=0x000000003d6cbd60 is an unknown value RDX=0x000000003d5b0c80 is an unknown value RSP=0x000000000253d0d8 is pointing into the stack for thread: 0x00000000021ec000 RBP=0x0000000000000840 is an unknown value RSI=0x0000000000000000 is an unknown value RDI=0x000000003d6cb9c0 is an unknown value R8 =0x0000000000000013 is an unknown value R9 =0x0000000000000000 is an unknown value R10=0x0000000026a7ee94 is an unknown value R11=0x0000000000000002 is an unknown value R12=0x0000000000000000 is an unknown value R13=0x0000000000000000 is an unknown value R14=0x000000000253d330 is pointing into the stack for thread: 0x00000000021ec000 R15=0x0000000000000000 is an unknown value Stack: [0x0000000002440000,0x0000000002540000], sp=0x000000000253d0d8, free space=1012k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [nvoglv64.DLL+0xaf49e0] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 12933 org.lwjgl.opengl.GL11C.nglTexSubImage2D(IIIIIIIIJ)V (0 bytes) @ 0x0000000003d749bc [0x0000000003d74940+0x7c] J 22607 C1 ru.liahim.mist.client.shader.FogTexture.uploadImage(IIII)V (99 bytes) @ 0x0000000003c5eb94 [0x0000000003c5e760+0x434] j ru.liahim.mist.client.shader.FogTexture.upload(IIII)V+10 j ru.liahim.mist.client.shader.FogTexture.createFogTexture(Lnet/minecraft/world/World;II)V+74 J 24664 C1 ru.liahim.mist.handlers.Fog.prepareFogParameters(Lcom/mojang/blaze3d/matrix/MatrixStack;Lnet/minecraft/util/math/vector/Matrix4f;F)V (435 bytes) @ 0x0000000005ff1404 [0x0000000005ff0860+0xba4] J 24343 C1 ru.liahim.mist.handlers.Fog.prepare(Lcom/mojang/blaze3d/matrix/MatrixStack;Lnet/minecraft/util/math/vector/Matrix4f;F)V (43 bytes) @ 0x0000000005c6c2bc [0x0000000005c6bba0+0x71c] J 24241 C2 net.minecraft.client.renderer.WorldRenderer.renderLevel(Lcom/mojang/blaze3d/matrix/MatrixStack;FJZLnet/minecraft/client/renderer/ActiveRenderInfo;Lnet/minecraft/client/renderer/GameRenderer;Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/util/math/vector/Matrix4f;)V (2872 bytes) @ 0x0000000006259f84 [0x0000000006259f20+0x64] J 24416 C1 net.minecraft.client.renderer.GameRenderer.renderLevel(FJLcom/mojang/blaze3d/matrix/MatrixStack;)V (614 bytes) @ 0x000000000630762c [0x0000000006302040+0x55ec] J 13341 C1 net.minecraft.client.renderer.GameRenderer.render(FJZ)V (856 bytes) @ 0x000000000495d52c [0x000000000495bfa0+0x158c] J 25014 C2 net.minecraft.client.Minecraft.runTick(Z)V (994 bytes) @ 0x000000000658c314 [0x000000000658aa60+0x18b4] j net.minecraft.client.Minecraft.run()V+68 j net.minecraft.client.main.Main.main([Ljava/lang/String;)V+1379 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 J 1863 C1 sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (10 bytes) @ 0x0000000002e25c0c [0x0000000002e25b00+0x10c] J 1862 C1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0x0000000002e26874 [0x0000000002e26480+0x3f4] j net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(Lcpw/mods/modlauncher/api/ITransformingClassLoader;[Ljava/lang/String;)Ljava/lang/Void;+65 j net.minecraftforge.userdev.FMLUserdevClientLaunchProvider$$Lambda$453.call()Ljava/lang/Object;+12 j cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch([Ljava/lang/String;Lcpw/mods/modlauncher/api/ITransformingClassLoader;)V+11 j cpw.mods.modlauncher.LaunchServiceHandler.launch(Ljava/lang/String;[Ljava/lang/String;Lcpw/mods/modlauncher/TransformingClassLoader;Lcpw/mods/modlauncher/LaunchPluginHandler;)V+57 j cpw.mods.modlauncher.LaunchServiceHandler.launch(Lcpw/mods/modlauncher/ArgumentHandler;Lcpw/mods/modlauncher/TransformingClassLoader;Lcpw/mods/modlauncher/LaunchPluginHandler;)V+19 j cpw.mods.modlauncher.Launcher.run([Ljava/lang/String;)V+116 j cpw.mods.modlauncher.Launcher.main([Ljava/lang/String;)V+37 j net.minecraftforge.userdev.LaunchTesting.main([Ljava/lang/String;)V+422 v ~StubRoutines::call_stub
  14. Hello! How can I get the seed from common world settings to set it to the custom Biome Provider and Chunk Generator during they initialization? Currently the seed comes from the codec and dimention.json. But I don't need stable seed. I need a random or seed from the world settings. Thanks for answer
  15. Oh! There is the debug.log [15ัะตะฝ2020 10:13:10.086] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [-- gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.2.36, --fml.mcpVersion, 20200515.085601, -- fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge] [15ัะตะฝ2020 10:13:10.090] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.1.2+70+master.2845bb9 starting: java version 1.8.0_131 by Oracle Corporation [15ัะตะฝ2020 10:13:10.099] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,testharness,fmlclient,fmlserver] [15ัะตะฝ2020 10:13:10.111] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [] [15ัะตะฝ2020 10:13:10.122] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcl eaner] [15ัะตะฝ2020 10:13:10.134] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [15ัะตะฝ2020 10:13:10.143] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [] [15ัะตะฝ2020 10:13:10.157] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml] [15ัะตะฝ2020 10:13:10.157] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [15ัะตะฝ2020 10:13:10.158] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [15ัะตะฝ2020 10:13:10.158] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR. [15ัะตะฝ2020 10:13:10.161] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 31.2 [15ัะตะฝ2020 10:13:10.161] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 31.2 loading [15ัะตะฝ2020 10:13:10.161] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 5.1.2+70+master.2845bb9 [15ัะตะฝ2020 10:13:10.162] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Initializing modjar URL handler [15ัะตะฝ2020 10:13:10.162] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 2.1.3+56+master.cd48380 [15ัะตะฝ2020 10:13:10.163] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 2.2.0+59+master.4f71e48 [15ัะตะฝ2020 10:13:10.163] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner [15ัะตะฝ2020 10:13:10.166] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 2.0.3+8+master.ca72757 [15ัะตะฝ2020 10:13:10.166] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 3.0.0+10+master.d73b00c [15ัะตะฝ2020 10:13:10.167] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 3 [15ัะตะฝ2020 10:13:10.435] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [15ัะตะฝ2020 10:13:10.435] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [15ัะตะฝ2020 10:13:10.438] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [15ัะตะฝ2020 10:13:10.448] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [15ัะตะฝ2020 10:13:10.449] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [15ัะตะฝ2020 10:13:10.449] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories [15ัะตะฝ2020 10:13:10.450] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2 [15ัะตะฝ2020 10:13:10.450] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users \Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2 [15ัะตะฝ2020 10:13:10.451] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\mods [15ัะตะฝ2020 10:13:10.451] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users \Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\mods [15ัะตะฝ2020 10:13:10.451] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\config [15ัะตะฝ2020 10:13:10.451] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users \Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\config [15ัะตะฝ2020 10:13:10.451] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users \Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\config\fml.toml [15ัะตะฝ2020 10:13:10.451] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration [15ัะตะฝ2020 10:13:10.498] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing default config directory directory : C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\defaultconfigs [15ัะตะฝ2020 10:13:10.498] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing ModFile [15ัะตะฝ2020 10:13:10.502] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing launch handler [15ัะตะฝ2020 10:13:10.502] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Using fmlserver as launch service [15ัะตะฝ2020 10:13:10.511] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Received command line version data : MC Version: '1.15.2' MCP Version: '20200515.085601' Forge Version: '31.2.36' Forge group: 'net.minecraftforge' [15ัะตะฝ2020 10:13:10.512] [main/DEBUG] [net.minecraftforge.fml.loading.LibraryFinder/CORE]: Found JAR asm at path ๐Ÿ˜„ \Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\org\ow2\asm\asm\7.2\asm-7.2.jar [15ัะตะฝ2020 10:13:10.512] [main/DEBUG] [net.minecraftforge.fml.loading.LibraryFinder/CORE]: Found probable library path C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries [15ัะตะฝ2020 10:13:10.513] [main/DEBUG] [net.minecraftforge.fml.loading.LibraryFinder/CORE]: Found forge path C:\Users \Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraftforge\forge\1.15.2-31.2.36\forge-1.15.2-31.2.36-universal.jar is present [15ัะตะฝ2020 10:13:10.513] [main/DEBUG] [net.minecraftforge.fml.loading.LibraryFinder/CORE]: SRG MC at C:\Users\Liahim \Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraft\server\1.15.2-20200515.085601\server-1.15.2-20200515.085601-srg.jar is present [15ัะตะฝ2020 10:13:10.514] [main/DEBUG] [net.minecraftforge.fml.loading.LibraryFinder/CORE]: MC Extras at C:\Users \Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraft\server\1.15.2\server-1.15.2-extra.jar is present [15ัะตะฝ2020 10:13:10.514] [main/DEBUG] [net.minecraftforge.fml.loading.LibraryFinder/CORE]: Forge patches at C:\Users \Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraftforge\forge\1.15.2-31.2.36\forge-1.15.2-31.2.36-server.jar is present [15ัะตะฝ2020 10:13:10.518] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found 0 language providers [15ัะตะฝ2020 10:13:10.519] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Adding forge as a language from C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraftforge\forge\1.15.2-31.2.36\forge-1.15.2 -31.2.36-universal.jar [15ัะตะฝ2020 10:13:10.521] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Adding file:/C:/Users/Liahim/Desktop/ะกะตั€ะฒะตั€%201.15.2/libraries/net/minecraftforge/forge/1.15.2-31.2.36/forge-1.15.2-31.2.36 -universal.jar to languageloader classloader [15ัะตะฝ2020 10:13:10.579] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found 2 language providers [15ัะตะฝ2020 10:13:10.579] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider javafml, version 31.2 [15ัะตะฝ2020 10:13:10.582] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1 [15ัะตะฝ2020 10:13:10.585] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [15ัะตะฝ2020 10:13:10.585] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'srg' [15ัะตะฝ2020 10:13:10.586] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {} [15ัะตะฝ2020 10:13:10.586] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [15ัะตะฝ2020 10:13:10.586] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [15ัะตะฝ2020 10:13:10.587] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan [15ัะตะฝ2020 10:13:10.605] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: [] [15ัะตะฝ2020 10:13:10.631] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null) [15ัะตะฝ2020 10:13:10.654] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\mods\saltmod-1.13.0.2.jar [15ัะตะฝ2020 10:13:10.692] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file saltmod-1.13.0.2.jar with {saltmod} mods - versions {1.13.0.2} [15ัะตะฝ2020 10:13:10.692] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\mods\saltmod-1.13.0.2.jar with language javafml [15ัะตะฝ2020 10:13:10.693] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraftforge\forge\1.15.2- 31.2.36\forge-1.15.2-31.2.36-universal.jar [15ัะตะฝ2020 10:13:10.694] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file forge-1.15.2-31.2.36-universal.jar with {forge} mods - versions {31.2.36} [15ัะตะฝ2020 10:13:10.695] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraftforge\forge\1.15.2-31.2.36\forge-1.15.2-31.2.36- universal.jar with language javafml [15ัะตะฝ2020 10:13:10.726] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod fieldtomethodtransformers with Javascript path META-INF/fieldtomethodtransformers.js [15ัะตะฝ2020 10:13:10.726] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod META-INF/fieldtomethodtransformers.js [15ัะตะฝ2020 10:13:10.726] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraftforge\forge\1.15.2- 31.2.36\forge-1.15.2-31.2.36-server.jar [15ัะตะฝ2020 10:13:10.730] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file forge-1.15.2-31.2.36-server.jar with {minecraft} mods - versions {1.15.2} [15ัะตะฝ2020 10:13:10.730] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\libraries\net\minecraftforge\forge\1.15.2-31.2.36\forge-1.15.2-31.2.36- server.jar with language minecraft [15ัะตะฝ2020 10:13:10.741] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 0 mandatory requirements [15ัะตะฝ2020 10:13:10.742] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 0 mandatory mod requirements missing [15ัะตะฝ2020 10:13:11.264] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml [15ัะตะฝ2020 10:13:11.264] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers [15ัะตะฝ2020 10:13:11.265] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml [15ัะตะฝ2020 10:13:11.265] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading coremod transformers [15ัะตะฝ2020 10:13:11.265] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from META- INF/fieldtomethodtransformers.js [15ัะตะฝ2020 10:13:11.401] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully [15ัะตะฝ2020 10:13:11.408] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@42f3156d to Target : CLASS {Lnet/minecraft/potion/EffectInstance;} {} {V} [15ัะตะฝ2020 10:13:11.409] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@2c7d121c to Target : CLASS {Lnet/minecraft/block/FlowingFluidBlock;} {} {V} [15ัะตะฝ2020 10:13:11.409] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@65aa6596 to Target : CLASS {Lnet/minecraft/item/BucketItem;} {} {V} [15ัะตะฝ2020 10:13:11.409] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@67389cb8 to Target : CLASS {Lnet/minecraft/block/StairsBlock;} {} {V} [15ัะตะฝ2020 10:13:11.409] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@419a20a6 to Target : CLASS {Lnet/minecraft/block/FlowerPotBlock;} {} {V} [15ัะตะฝ2020 10:13:11.410] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@533377b to Target : CLASS {Lnet/minecraft/item/FishBucketItem;} {} {V} [15ัะตะฝ2020 10:13:11.410] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml [15ัะตะฝ2020 10:13:11.422] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, .] [15ัะตะฝ2020 10:13:13.471] [main/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/block/FlowingFluidBlock [15ัะตะฝ2020 10:13:13.789] [main/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/block/StairsBlock [15ัะตะฝ2020 10:13:13.908] [main/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/block/FlowerPotBlock [15ัะตะฝ2020 10:13:20.092] [main/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/item/BucketItem [15ัะตะฝ2020 10:13:20.121] [main/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/item/FishBucketItem [15ัะตะฝ2020 10:13:20.499] [main/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/potion/EffectInstance [15ัะตะฝ2020 10:13:24.137] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [15ัะตะฝ2020 10:13:24.140] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [15ัะตะฝ2020 10:13:24.185] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [15ัะตะฝ2020 10:13:24.187] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [15ัะตะฝ2020 10:13:24.190] [main/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [15ัะตะฝ2020 10:13:25.045] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Starting minecraft server version 1.15.2 [15ัะตะฝ2020 10:13:25.184] [Server console handler/ERROR] [net.minecraft.server.dedicated.DedicatedServer/]: Exception handling console input java.io.IOException: ะะตะฒะตั€ะฝั‹ะน ะดะตัะบั€ะธะฟั‚ะพั€ at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_131] at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_131] at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_131] at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_131] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_131] at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_131] at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_131] at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_131] at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_131] at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_131] at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_131] at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:105) [?:?] [15ัะตะฝ2020 10:13:25.218] [Server thread/DEBUG] [net.minecraftforge.fml.ForgeI18n/CORE]: Loading I18N data entries: 4536 [15ัะตะฝ2020 10:13:25.952] [Server thread/DEBUG] [net.minecraftforge.fml.ModLoader/CORE]: Loading Network data for FML net version: FML2 [15ัะตะฝ2020 10:13:25.985] [Server thread/DEBUG] [net.minecraftforge.fml.ModList/LOADING]: Using 8 threads for parallel mod-loading [15ัะตะฝ2020 10:13:25.992] [Server thread/DEBUG] [net.minecraftforge.fml.ModLoader/LOADING]: ModContainer is cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.009] [Server thread/DEBUG] [net.minecraftforge.fml.ModLoader/LOADING]: ModContainer is cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.015] [Server thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider/LOADING]: Loading FMLModContainer from classloader cpw.mods.modlauncher.TransformingClassLoader@267f474e - got cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.016] [Server thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Creating FMLModContainer instance for net.minecraftforge.common.ForgeMod with classLoader cpw.mods.modlauncher.TransformingClassLoader@267f474e & cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.108] [Server thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Loaded modclass net.minecraftforge.common.ForgeMod with cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.108] [Server thread/DEBUG] [net.minecraftforge.fml.ModLoader/LOADING]: ModContainer is cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.108] [Server thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider/LOADING]: Loading FMLModContainer from classloader cpw.mods.modlauncher.TransformingClassLoader@267f474e - got cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.108] [Server thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Creating FMLModContainer instance for ru.liahim.saltmod.SaltyMod with classLoader cpw.mods.modlauncher.TransformingClassLoader@267f474e & cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.124] [Server thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Loaded modclass ru.liahim.saltmod.SaltyMod with cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.141] [Server thread/DEBUG] [net.minecraftforge.fml.ModList/LOADING]: Dispatching parallel event LifecycleEvent:CONSTRUCT [15ัะตะฝ2020 10:13:26.215] [modloading-worker-1/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Loading mod instance forge of type net.minecraftforge.common.ForgeMod [15ัะตะฝ2020 10:13:26.216] [modloading-worker-1/DEBUG] [net.minecraftforge.versions.forge.ForgeVersion/CORE]: Forge Version package package net.minecraftforge.versions.forge, Forge, version 31.2 from cpw.mods.modlauncher.TransformingClassLoader@267f474e [15ัะตะฝ2020 10:13:26.217] [modloading-worker-1/DEBUG] [net.minecraftforge.versions.forge.ForgeVersion/CORE]: Found Forge version 31.2.36 [15ัะตะฝ2020 10:13:26.217] [modloading-worker-1/DEBUG] [net.minecraftforge.versions.forge.ForgeVersion/CORE]: Found Forge spec 31.2 [15ัะตะฝ2020 10:13:26.218] [modloading-worker-1/DEBUG] [net.minecraftforge.versions.forge.ForgeVersion/CORE]: Found Forge group net.minecraftforge [15ัะตะฝ2020 10:13:26.223] [modloading-worker-1/DEBUG] [net.minecraftforge.versions.mcp.MCPVersion/CORE]: Found MC version information 1.15.2 [15ัะตะฝ2020 10:13:26.223] [modloading-worker-1/DEBUG] [net.minecraftforge.versions.mcp.MCPVersion/CORE]: Found MCP version information 20200515.085601 [15ัะตะฝ2020 10:13:26.223] [modloading-worker-1/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 31.2.36, for MC 1.15.2 with MCP 20200515.085601 [15ัะตะฝ2020 10:13:26.224] [modloading-worker-1/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v31.2.36 Initialized [15ัะตะฝ2020 10:13:26.269] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Loading mod instance saltmod of type ru.liahim.saltmod.SaltyMod [15ัะตะฝ2020 10:13:26.460] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Config file saltmod-common.toml for saltmod tracking [15ัะตะฝ2020 10:13:26.699] [modloading-worker-1/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Config file forge-client.toml for forge tracking [15ัะตะฝ2020 10:13:26.700] [modloading-worker-1/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Config file forge-server.toml for forge tracking [15ัะตะฝ2020 10:13:26.704] [modloading-worker-1/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Loaded mod instance forge of type net.minecraftforge.common.ForgeMod [15ัะตะฝ2020 10:13:26.704] [modloading-worker-1/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Injecting Automatic event subscribers for forge [15ัะตะฝ2020 10:13:26.718] [modloading-worker-1/DEBUG] [net.minecraftforge.fml.AutomaticEventSubscriber/LOADING]: Attempting to inject @EventBusSubscriber classes into the eventbus for forge [15ัะตะฝ2020 10:13:26.727] [modloading-worker-1/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Completed Automatic event subscribers for forge [15ัะตะฝ2020 10:13:27.034] [modloading-worker-2/FATAL] [cpw.mods.modlauncher.TransformerClassWriter/]: Class net/minecraft/entity/IRendersAsItem unable to find resource null [15ัะตะฝ2020 10:13:27.035] [modloading-worker-2/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: saltmod, class ru.liahim.saltmod.SaltyMod java.lang.ExceptionInInitializerError: null at ru.liahim.saltmod.SaltyMod.<init>(SaltyMod.java:71) ~[?:1.13.0.2] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_131] at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:131) ~[?:31.2] at java.util.function.Consumer.lambda$andThen$0(Unknown Source) ~[?:1.8.0_131] at java.util.function.Consumer.lambda$andThen$0(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) ~[?:?] at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:135) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) [?:1.8.0_131] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) [?:1.8.0_131] at java.util.stream.AbstractPipeline.copyInto(Unknown Source) [?:1.8.0_131] at java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source) [?:1.8.0_131] at java.util.concurrent.CountedCompleter.exec(Unknown Source) [?:1.8.0_131] at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_131] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_131] at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_131] at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_131] Caused by: java.lang.RuntimeException: Failed to load hierarchy member net/minecraft/entity/IRendersAsItem at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:86) ~ [modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35) ~[modlauncher- 5.1.2.jar:?] at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.lambda$visit$0 (TransformerClassWriter.java:136) ~[modlauncher-5.1.2.jar:?] at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_131] at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) ~[?:1.8.0_131] at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:135) ~[modlauncher-5.1.2.jar:?] at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:340) ~[asm-tree-7.2.jar:7.2] at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:74) ~ [modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformerClassWriter.<init>(TransformerClassWriter.java:48) ~[modlauncher- 5.1.2.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass (TransformingClassLoader.java:247) ~[modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:134) ~[modlauncher- 5.1.2.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:96) ~[modlauncher- 5.1.2.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131] at ru.liahim.saltmod.init.ModEntities.<clinit>(ModEntities.java:22) ~[?:1.13.0.2] ... 20 more Caused by: java.io.IOException: Class not found at org.objectweb.asm.ClassReader.readStream(ClassReader.java:310) ~[asm-7.2.jar:7.2] at org.objectweb.asm.ClassReader.<init>(ClassReader.java:283) ~[asm-7.2.jar:7.2] at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:82) ~ [modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35) ~[modlauncher- 5.1.2.jar:?] at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.lambda$visit$0 (TransformerClassWriter.java:136) ~[modlauncher-5.1.2.jar:?] at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_131] at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) ~[?:1.8.0_131] at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:135) ~[modlauncher-5.1.2.jar:?] at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:340) ~[asm-tree-7.2.jar:7.2] at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:74) ~ [modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformerClassWriter.<init>(TransformerClassWriter.java:48) ~[modlauncher- 5.1.2.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass (TransformingClassLoader.java:247) ~[modlauncher-5.1.2.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:134) ~[modlauncher- 5.1.2.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:96) ~[modlauncher- 5.1.2.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131] at ru.liahim.saltmod.init.ModEntities.<clinit>(ModEntities.java:22) ~[?:1.13.0.2] ... 20 more [15ัะตะฝ2020 10:13:27.124] [Server thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: Failed to complete lifecycle event CONSTRUCT, 1 errors found [15ัะตะฝ2020 10:13:27.125] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [ Salty Mod (saltmod) has failed to load correctly ยง7null ] at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:218) ~[?:?] at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:200) ~[?:?] at net.minecraftforge.fml.server.ServerModLoader.begin(ServerModLoader.java:45) ~[?:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:122) ~[?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:613) [?:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] [15ัะตะฝ2020 10:13:27.231] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: This crash report has been saved to: C:\Users\Liahim\Desktop\ะกะตั€ะฒะตั€ 1.15.2\.\crash-reports\crash-2020-09-15_10.13.27-server.txt [15ัะตะฝ2020 10:13:27.256] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server [15ัะตะฝ2020 10:13:27.256] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds [15ัะตะฝ2020 10:13:27.257] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Exception stopping the server java.lang.RuntimeException: The server has failed to initialize correctly due to mod loading errors. Examine the crash report for more details. at net.minecraftforge.common.DimensionManager.getWorld(DimensionManager.java:195) ~[?:?] at net.minecraft.server.MinecraftServer.func_71218_a(MinecraftServer.java:1004) ~[?:?] at net.minecraft.server.MinecraftServer.func_213211_a(MinecraftServer.java:536) ~[?:?] at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:568) ~[?:?] at net.minecraft.server.dedicated.DedicatedServer.func_71260_j(DedicatedServer.java:550) ~[?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:676) [?:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] [15ัะตะฝ2020 10:13:27.259] [Server thread/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing serverconfig directory : .\world\serverconfig [15ัะตะฝ2020 10:13:27.259] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Unloading configs type SERVER And the ModEntities.class https://github.com/Liahim85/SaltyMod/blob/1.15.2/src/main/java/ru/liahim/saltmod/init/ModEntities.java
  16. Everything works well in a development environment and in a single-player game. However, when trying to start the server, a crash occurs. ---- Minecraft Crash Report ---- // Why did you do that? Time: 15.09.20 8:54 Description: Exception in server tick loop net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [ Salty Mod (saltmod) has failed to load correctly ยง7null ] at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:218) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:200) ~[?:?] {re:classloading} at net.minecraftforge.fml.server.ServerModLoader.begin(ServerModLoader.java:45) ~[?:?] {re:classloading} at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:122) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:613) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.15.2 Minecraft Version ID: 1.15.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_131, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 470981736 bytes (449 MB) / 1308098560 bytes (1247 MB) up to 2863661056 bytes (2731 MB) CPUs: 8 JVM Flags: 0 total; ModLauncher: 5.1.2+70+master.2845bb9 ModLauncher launch target: fmlserver ModLauncher naming: srg ModLauncher services: /eventbus-2.2.0-service.jar eventbus PLUGINSERVICE /forge-1.15.2-31.2.36.jar object_holder_definalize PLUGINSERVICE /forge-1.15.2-31.2.36.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-2.1.3-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.15.2-31.2.36.jar capability_inject_definalize PLUGINSERVICE /forge-1.15.2-31.2.36.jar runtimedistcleaner PLUGINSERVICE /forge-1.15.2-31.2.36.jar fml TRANSFORMATIONSERVICE FML: 31.2 Forge: net.minecraftforge:31.2.36 FML Language Providers: [email protected] minecraft@1 Mod List: forge-1.15.2-31.2.36-server.jar Minecraft {[email protected] CREATE_REGISTRIES} forge-1.15.2-31.2.36-universal.jar Forge {[email protected] CREATE_REGISTRIES} saltmod-1.13.0.2.jar Salty Mod {[email protected] ERROR} Data Packs: Is Modded: Definitely; Server brand changed to 'forge' Type: Dedicated Server (map_server.txt)
  17. "type": "forge:nbt", "item": "minecraft:potion", "nbt": "{Potion:'minecraft:water'}"
  18. And this means that for each such item I have to create a model with my hands? There is no other way? The goal was to automate the process. I cannot know which mod will be installed with mine.
  19. What if I don't know the name of an item (for example, it's an item from another mod) to create a JSON model file for it?
  20. 1. I register my items in the RegistryEvent.Register<Item>. 2. At the moment I already have the required list of names and these are constants. 3. I register my item models in the ModelBakeEvent. 4. Everything works well. The result is spam...
  21. I don't want a random name, I want to register the model via code. And no spam to the console. How can I do this?
  22. Based on an external json-file. And I don't know what can be written into it.
  23. Hi! I am creating several items with a random name and want to assign a model to them. In the ModelBakeEvent I register a model for them. And everything works well. But the registry event fires earlier and it spammy my console: [Server-Worker-3/WARN] [minecraft/ModelBakery]: Unable to load model: 'mod:item1#inventory' referenced from: mod:item1#inventory: java.io.FileNotFoundException: mod:models/item/item1.json How can I prevent this? Note: I can't create a .json model because the name is random.
×
×
  • Create New...

Important Information

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