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

ViceCraft Modded server, certien mods crash server


BlueDeDolphin
 Share

Recommended Posts

hi there, so im making a vive server to play with my friends

and the modes that i have will be shown below but these are the mods that are crashing the server launcher=

- Tinkers Construct

- Sync

- Storage Drawers

- Morph

- jei (just enough items)

- ichun util

- e-vaporate

and when those mods are not in there i run fine

 

explorer_rPxcERw4rC.jpg

 

Edited by BlueDeDolphin
Link to comment
Share on other sites

idkk why but cant post crash report so here

____________________________________________________________

---- Minecraft Crash Report ----

WARNING: coremods are present:
  Vivecraft Forge Extensions Core (VivecraftForgeExtensions-1.12.2-0.2.4.13.jar)
Contact their authors BEFORE contacting forge

// Quite honestly, I wouldn't worry myself about that.

Time: 8/6/19 10:47 PM
Description: Exception in server tick loop

Missing Mods:
    unknown : need [14.23.5.2781,99999.24.0.0): have 14.23.5.2768

Missing Mods:
    unknown : need [14.23.5.2816,): have 14.23.5.2768

net.minecraftforge.fml.common.MultipleModsErrored
    at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:298)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:570)
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
    at java.lang.Thread.run(Unknown Source)


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

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_211, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 908749072 bytes (866 MB) / 1020264448 bytes (973 MB) up to 3801088000 bytes (3625 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2768 33 mods loaded, 33 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID                           | Version           | Source                                       | Signature                                |
    |:----- |:---------------------------- |:----------------- |:-------------------------------------------- |:---------------------------------------- |
    | U     | minecraft                    | 1.12.2            | minecraft.jar                                | None                                     |
    | U     | mcp                          | 9.42              | minecraft.jar                                | None                                     |
    | U     | FML                          | 8.0.99.99         | forge-1.12.2-14.23.5.2768-universal.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | U     | forge                        | 14.23.5.2768      | forge-1.12.2-14.23.5.2768-universal.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | U     | vivecraftforgeextensionscore | 0.2.4.13          | minecraft.jar                                | None                                     |
    | U     | bibliocraft                  | 2.4.5             | BiblioCraft-1.12.2.jar                       | None                                     |
    | U     | bibliotheca                  | 1.3.6-1.12.2      | Bibliotheca-1.12.2.jar                       | None                                     |
    | U     | buildinggadgets              | 2.6.8             | Building-Gadgets-Mod-1.12.2.jar              | None                                     |
    | U     | chameleon                    | 1.12-4.1.3        | Chameleon-Library-1.12.jar                   | None                                     |
    | U     | codechickenlib               | 3.2.2.353         | CodeChickenLib-1.12.2.jar                    | None                                     |
    | U     | cookingforblockheads         | 6.4.44            | Cooking-for-Blockheads-Mod-1.12.2.jar        | None                                     |
    | U     | idk                          | 4.20.69           | E-Vaporate-4.20.69.jar                       | None                                     |
    | U     | ichunutil                    | 7.2.1             | iChun-Util-Mod-1.12.2.jar                    | None                                     |
    | U     | ironchest                    | 1.12.2-7.0.67.844 | Iron-Chests-Mod-1.12.2.jar                   | None                                     |
    | U     | jei                          | 4.15.0.287        | jei_1.12.2-4.15.0.287.jar                    | None                                     |
    | U     | journeymap                   | 1.12.2-5.5.3      | JourneyMap-1.12.2.jar                        | None                                     |
    | U     | lucky                        | 7.6.0             | Lucky-Block-Mod-1.12.2.zip                   | None                                     |
    | U     | mantle                       | 1.12-1.3.3.55     | Mantle-Mod-1.12.2 (1).jar                    | None                                     |
    | U     | mca                          | 1.12.2-5.3.1      | MCA-1.12.jar                                 | None                                     |
    | U     | mobends                      | 0.24              | Mo-Bends-1.12.jar                            | None                                     |
    | U     | morph                        | 7.1.2             | Morph-1.12.2.jar                             | None                                     |
    | U     | radixcore                    | 1.12.x-2.2.1      | RadixCore-1.12.2.jar                         | None                                     |
    | U     | refinedstorage               | 1.6.3             | Refined-Storage-Mod-1.12.2.jar               | None                                     |
    | U     | silentgear                   | 0.6.2             | Silent-Gear-Mod-1.12.2.jar                   | None                                     |
    | U     | silentlib                    | 3.0.13            | SilentLib-1.12.2-3.0.13+167.jar              | None                                     |
    | U     | storagedrawers               | 1.12-5.2.5        | Storage-Drawers-Mod-1.12.jar                 | None                                     |
    | U     | sync                         | 7.1.0             | Sync-Mod-1.12.2.jar                          | None                                     |
    | U     | tconstruct                   | 1.12.2-2.12.0.115 | Tinkers-Construct-Mod-1.12.2.jar             | None                                     |
    | U     | bspkrscore                   | at_0.9            | TreeCapitator-Mod-1.12.jar                   | None                                     |
    | U     | treecapitator                | at_0.9            | TreeCapitator-Mod-1.12.jar                   | None                                     |
    | U     | twilightforest               | 3.9.851           | Twilight-Forest-1.12.jar                     | None                                     |
    | U     | vivecraftforgeextensions     | 0.2.4.13          | VivecraftForgeExtensions-1.12.2-0.2.4.13.jar | None                                     |
    | U     | wearablebackpacks            | 3.1.3             | WearableBackpacks-1.12.jar                   | None                                     |

    Loaded coremods (and transformers):
Vivecraft Forge Extensions Core (VivecraftForgeExtensions-1.12.2-0.2.4.13.jar)
  com.techjar.vivecraftforge.core.asm.ClassTransformer
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml,forge'
    Type: Dedicated Server (map_server.txt)

Link to comment
Share on other sites

---- Minecraft Crash Report ----

WARNING: coremods are present:
  Vivecraft Forge Extensions Core (VivecraftForgeExtensions-1.12.2-0.2.4.13.jar)
Contact their authors BEFORE contacting forge

// Quite honestly, I wouldn't worry myself about that.

Time: 8/7/19 12:54 AM
Description: Exception in server tick loop

Missing Mods:
    unknown : need [14.23.5.2781,99999.24.0.0): have 14.23.5.2768

net.minecraftforge.fml.common.MissingModsException: Mod ichunutil (iChunUtil) requires [forge@[14.23.5.2781,99999.24.0.0)]
    at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:264)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:570)
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
    at java.lang.Thread.run(Unknown Source)


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

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_211, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 841857632 bytes (802 MB) / 967835648 bytes (923 MB) up to 3801088000 bytes (3625 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2768 30 mods loaded, 30 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID                           | Version           | Source                                       | Signature                                |
    |:----- |:---------------------------- |:----------------- |:-------------------------------------------- |:---------------------------------------- |
    | U     | minecraft                    | 1.12.2            | minecraft.jar                                | None                                     |
    | U     | mcp                          | 9.42              | minecraft.jar                                | None                                     |
    | U     | FML                          | 8.0.99.99         | forge-1.12.2-14.23.5.2768-universal.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | U     | forge                        | 14.23.5.2768      | forge-1.12.2-14.23.5.2768-universal.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | U     | vivecraftforgeextensionscore | 0.2.4.13          | minecraft.jar                                | None                                     |
    | U     | bibliocraft                  | 2.4.5             | BiblioCraft-1.12.2.jar                       | None                                     |
    | U     | bibliotheca                  | 1.3.6-1.12.2      | Bibliotheca-1.12.2.jar                       | None                                     |
    | U     | buildinggadgets              | 2.6.8             | Building-Gadgets-Mod-1.12.2.jar              | None                                     |
    | U     | carryon                      | 1.12.2            | CarryOn+MC1.12.2+v1.12.2.jar                 | None                                     |
    | U     | chameleon                    | 1.12-4.1.3        | Chameleon-Library-1.12.jar                   | None                                     |
    | U     | codechickenlib               | 3.2.2.353         | CodeChickenLib-1.12.2.jar                    | None                                     |
    | U     | cookingforblockheads         | 6.4.44            | Cooking-for-Blockheads-Mod-1.12.2.jar        | None                                     |
    | U     | ichunutil                    | 7.2.1             | iChunUtil-1.12.2-7.2.1.jar                   | None                                     |
    | U     | ironchest                    | 1.12.2-7.0.67.844 | Iron-Chests-Mod-1.12.2.jar                   | None                                     |
    | U     | journeymap                   | 1.12.2-5.5.3      | JourneyMap-1.12.2.jar                        | None                                     |
    | U     | lucky                        | 7.6.0             | Lucky-Block-Mod-1.12.2.zip                   | None                                     |
    | U     | mantle                       | 1.12-1.3.3.55     | Mantle-Mod-1.12.2 (1).jar                    | None                                     |
    | U     | mca                          | 1.12.2-5.3.1      | MCA-1.12.jar                                 | None                                     |
    | U     | mobends                      | 0.24              | Mo-Bends-1.12.jar                            | None                                     |
    | U     | radixcore                    | 1.12.x-2.2.1      | RadixCore-1.12.2.jar                         | None                                     |
    | U     | refinedstorage               | 1.6.3             | Refined-Storage-Mod-1.12.2.jar               | None                                     |
    | U     | silentgear                   | 0.6.2             | Silent-Gear-Mod-1.12.2.jar                   | None                                     |
    | U     | silentlib                    | 3.0.13            | SilentLib-1.12.2-3.0.13+167.jar              | None                                     |
    | U     | storagedrawers               | 1.12-5.3.5        | StorageDrawers-1.12.2-5.3.8.jar              | None                                     |
    | U     | sync                         | 7.1.0             | Sync-1.12.2-7.1.0.jar                        | None                                     |
    | U     | bspkrscore                   | at_0.9            | TreeCapitator-Mod-1.12.jar                   | None                                     |
    | U     | treecapitator                | at_0.9            | TreeCapitator-Mod-1.12.jar                   | None                                     |
    | U     | twilightforest               | 3.9.851           | Twilight-Forest-1.12.jar                     | None                                     |
    | U     | vivecraftforgeextensions     | 0.2.4.13          | VivecraftForgeExtensions-1.12.2-0.2.4.13.jar | None                                     |
    | U     | wearablebackpacks            | 3.1.3             | WearableBackpacks-1.12.jar                   | None                                     |

    Loaded coremods (and transformers):
Vivecraft Forge Extensions Core (VivecraftForgeExtensions-1.12.2-0.2.4.13.jar)
  com.techjar.vivecraftforge.core.asm.ClassTransformer
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml,forge'
    Type: Dedicated Server (map_server.txt)

Link to comment
Share on other sites

Here i change the modes and guess what there still crashing

 

---- Minecraft Crash Report ----

WARNING: coremods are present:
  PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50.jar)
  Vivecraft Forge Extensions Core (VivecraftForgeExtensions-1.12.2-0.2.4.13.jar)
  CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
Contact their authors BEFORE contacting forge

// I feel sad now :(

Time: 8/8/19 12:27 AM
Description: Exception in server tick loop

Missing Mods:
    unknown : need [14.23.5.2781,99999.24.0.0): have 14.23.5.2768

Missing Mods:
    unknown : need [14.23.5.2813,): have 14.23.5.2768

net.minecraftforge.fml.common.MultipleModsErrored
    at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:298)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:570)
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
    at java.lang.Thread.run(Unknown Source)


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

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_211, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1471985792 bytes (1403 MB) / 1613758464 bytes (1539 MB) up to 3801088000 bytes (3625 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2768 36 mods loaded, 36 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID                           | Version           | Source                                        | Signature                                |
    |:----- |:---------------------------- |:----------------- |:--------------------------------------------- |:---------------------------------------- |
    | U     | minecraft                    | 1.12.2            | minecraft.jar                                 | None                                     |
    | U     | mcp                          | 9.42              | minecraft.jar                                 | None                                     |
    | U     | FML                          | 8.0.99.99         | forge-1.12.2-14.23.5.2768-universal.jar       | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | U     | forge                        | 14.23.5.2768      | forge-1.12.2-14.23.5.2768-universal.jar       | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | U     | vivecraftforgeextensionscore | 0.2.4.13          | minecraft.jar                                 | None                                     |
    | U     | aether                       | 0.2.5             | aether_ii-1.12.2-0.2.5+build121-universal.jar | None                                     |
    | U     | baubles                      | 1.5.2             | Baubles-1.12-1.5.2.jar                        | None                                     |
    | U     | bibliocraft                  | 2.4.5             | BiblioCraft[v2.4.5][MC1.12.2].jar             | None                                     |
    | U     | bibliotheca                  | 1.3.6-1.12.2      | bibliotheca-1.3.6-1.12.2.jar                  | None                                     |
    | U     | carryon                      | 1.12.2            | CarryOn+MC1.12.2+v1.12.2.jar                  | None                                     |
    | U     | chameleon                    | 1.12-4.1.3        | Chameleon-1.12-4.1.3.jar                      | None                                     |
    | U     | chisel                       | MC1.12.2-0.2.1.35 | Chisel-MC1.12.2-0.2.1.35.jar                  | None                                     |
    | U     | cookingforblockheads         | 6.4.71            | CookingForBlockheads_1.12.2-6.4.71.jar        | None                                     |
    | U     | idk                          | 4.20.69           | E-Vaporate-4.20.69.jar                        | None                                     |
    | U     | extrautils2                  | 1.0               | extrautils2-1.12-1.9.9.jar                    | None                                     |
    | U     | ichunutil                    | 7.2.1             | iChunUtil-1.12.2-7.2.1.jar                    | None                                     |
    | U     | ironchest                    | 1.12.2-7.0.67.844 | ironchest-1.12.2-7.0.72.847.jar               | None                                     |
    | U     | jei                          | 4.15.0.268        | jei_1.12.2-4.15.0.268.jar                     | None                                     |
    | U     | journeymap                   | 1.12.2-5.5.5      | journeymap-1.12.2-5.5.5.jar                   | None                                     |
    | U     | lucky                        | 7.6.0             | Lucky-Block-Mod-1.12.2.zip                    | None                                     |
    | U     | mantle                       | 1.12-1.3.3.55     | Mantle-1.12-1.3.3.55.jar                      | None                                     |
    | U     | mca                          | 6.0.0             | MCA-1.12.2-6.0.0-universal.jar                | None                                     |
    | U     | mobends                      | 0.24              | mobends-0.24_for_MC-1.12.jar                  | None                                     |
    | U     | harvestcraft                 | 1.12.2zb          | Pam's+HarvestCraft+1.12.2ze.jar               | None                                     |
    | U     | refinedstorage               | 1.6.15            | refinedstorage-1.6.15.jar                     | None                                     |
    | U     | silentgear                   | 0.6.2             | SilentGear-1.12.2-0.6.4+72.jar                | None                                     |
    | U     | silentlib                    | 3.0.13            | SilentLib-1.12.2-3.0.13+167.jar               | None                                     |
    | U     | storagedrawers               | 1.12-5.3.5        | StorageDrawers-1.12.2-5.3.8.jar               | None                                     |
    | U     | storagedrawersextra          | @VERSION@         | StorageDrawersExtras-1.12-3.1.0.jar           | None                                     |
    | U     | sync                         | 7.1.0             | Sync-1.12.2-7.1.0.jar                         | None                                     |
    | U     | tconstruct                   | 1.12.2-2.12.0.157 | TConstruct-1.12.2-2.12.0.157.jar              | None                                     |
    | U     | twilightforest               | 3.9.984           | twilightforest-1.12.2-3.9.984-universal.jar   | None                                     |
    | U     | vivecraftforgeextensions     | 0.2.4.13          | VivecraftForgeExtensions-1.12.2-0.2.4.13.jar  | None                                     |
    | U     | wearablebackpacks            | 3.1.3             | WearableBackpacks-1.12.2-3.1.3.jar            | None                                     |
    | U     | orbis-lib                    | 0.2.0             | orbis-lib-1.12.2-0.2.0+build121.jar           | None                                     |
    | U     | phosphor-lighting            | 1.12.2-0.2.6      | phosphor-1.12.2-0.2.6+build50.jar             | None                                     |

    Loaded coremods (and transformers):
PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50.jar)
 
Vivecraft Forge Extensions Core (VivecraftForgeExtensions-1.12.2-0.2.4.13.jar)
  com.techjar.vivecraftforge.core.asm.ClassTransformer
CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
  team.chisel.ctm.client.asm.CTMTransformer
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml,forge'
    Type: Dedicated Server (map_server.txt)

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Got the rotation working. I had to look at LivingEntityRenderer#render and setupRotations a little more closely, and I realized that I needed to change the custom entity's yBodyRot and yBodyRotO.  private static boolean renderingCustomEntity = false; private static CustomEntity customEntity; private static void refreshCustomEntity(LocalPlayer localPlayer, LivingEntity livingEntity) { if (customEntity == null || customEntity.isRemoved()) { customEntity = ModEntities.CUSTOM_ENTITY.get().create(localPlayer.clientLevel); } if (!customEntity.level.dimension().equals(livingEntity.level.dimension())) { customEntity.discard(); } } @SubscribeEvent public static void replaceMobModel(RenderLivingEvent.Pre<LivingEntity, EntityModel<LivingEntity>> event) { LocalPlayer localPlayer = Minecraft.getInstance().player; if (localPlayer != null && event.getEntity() instanceof Mob mob) { if (/* put your own condition here */) { if (!renderingCustomEntity) { try { renderingCustomEntity = true; event.setCanceled(true); refreshCustomEntity(localPlayer, mob); // (truth be told, my custom entity does not have a "head", so these lines aren't needed) // customEntity.setYHeadRot(mob.getYHeadRot()); // customEntity.yHeadRotO = mob.yHeadRotO; customEntity.setYBodyRot(mob.yBodyRot); customEntity.yBodyRotO = mob.yBodyRotO; customEntity.setPose(mob.getPose()); Minecraft.getInstance().getEntityRenderDispatcher().getRenderer(customEntity).render( customEntity, customEntity.yBodyRot, event.getPartialTick(), event.getPoseStack(), event.getMultiBufferSource(), event.getPackedLight() ); } finally { renderingCustomEntity = false; } } } } }   As shown in my code, if the mob whose model is replaced moves to a different dimension, I unload the custom entity with Entity#discard and then reinitialize it on the next tick. I wonder if I also have to unload the custom entity when the mob it is "replacing" dies.
    • Thank you for the video, but I found the issue. I had to update the Gradle from 7.2 to 7.3 in gradle/wrapper/gradle-wrapper.properties.
    • Some zip managers like to take control of the .jar file extension away from Java. Make sure you have Java installed and try running Jarfix once, then try the installer again.
    • Whenever i try and download forge specifically 1.18.2 it will download as a JAR file as a note page and theirs no way to install it i have watched a few videos but none show how to fix this problem
    • Hello, I dont really understand why the nbt tag in the code below is not attached to the item. @Override public InteractionResult interactLivingEntity(ItemStack pStack, Player pPlayer, LivingEntity pInteractionTarget, InteractionHand pUsedHand) { if (pPlayer.getLevel().isClientSide()) { if (pInteractionTarget instanceof Mob mob) { System.out.println("ITEMSTACK " + pStack); CompoundTag nbtTag = null; System.out.println("nbt tag " + nbtTag); if (!(pStack.hasTag())) { nbtTag = new CompoundTag(); CompoundTag nbtMobTag = new CompoundTag(); mob.save(nbtMobTag); nbtTag.put("mob", nbtMobTag); System.out.println("IN NBT NULL " + nbtTag); pStack.setTag(nbtTag); System.out.println("AFTER TAG SET " + pStack.hasTag()); pPlayer.sendMessage(new TextComponent("Shard used on " + mob.getDisplayName().getString()), pPlayer.getUUID()); } else { nbtTag = pStack.getTag(); System.out.println("item has tag"); System.out.println(nbtTag.contains("mob")); } } } return InteractionResult.PASS; } @Override public void appendHoverText(ItemStack pStack, @Nullable Level pLevel, List<Component> pTooltipComponents, TooltipFlag pIsAdvanced) { CompoundTag nbtTag = pStack.getTag(); if (nbtTag != null) { if (nbtTag.contains("mob")) { Mob targetMob = null; targetMob.deserializeNBT(nbtTag.getCompound("mob")); pTooltipComponents.add(new TextComponent("Mob : " + targetMob.getDisplayName().getString())); } } } Everytime I right click with the Item on a LivingEntity, It goes on the if(!pStack.hasTag()), but It shouldn't because we set the tag on the first right click on an Entity   Do you have a solution ?
  • Topics

×
×
  • Create New...

Important Information

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