Jump to content

How to ose non cubic model as mod-item?


Drachenbauer

Recommended Posts

Hello

i just cheated a pyramid-shaped umbrella in blender.

I also fitted it´s uv-mat to a minecraft-like texture.

Now i have the model as .blend and .obj-file and the texture as .png-file.

How can i use this umbrella as an item in a minecraft-mod?

Can i export it as .json?

.329560993_umbrella3d.png.fdb05be96033037f8962362f97b56bb5.png

Edited by Drachenbauer
Link to comment
Share on other sites

if i make an item-class for the umbrella, what must i put into it to use an .obi-modelloader insted of the normal json stuff?

 

And where in the ressource-folders must i place my obj-model and it´s textures?

 

Now i have got the basic mod setup with 16 items for different colored umbrellas registered.

And i have .obj-models and .png-textures for all 16 colors in the resource-folders.

how do i now load the models into the items?

 

And how can i control, how such an item looks in an inventory-slot, thrown on the ground, pinned in an item-frame and equipped in first and third person view?

Edited by Drachenbauer
Link to comment
Share on other sites

2 hours ago, diesieben07 said:

A TESR is not necessary for rendering OBJs.

That is true, but if DrachenBauer wants this

Quote

And how can i control, how such an item looks in an inventory-slot, thrown on the ground, pinned in an item-frame and equipped in first and third person view?

then (s)he may need to use an ItemStackTileEntityRenderer.

 

mbe81 uses item json for wavefront rendering (no TER), eg

 

mbe81b_boomerang_registry_name.json

{
  "loader": "forge:obj",
  "model" : "minecraftbyexample:models/entity/mbe81b_boomerang.obj",
  "flip-v": true,
  "detectCullableFaces": false,
  "diffuseLighting": true,
  "ambientToFullbright": false,
  "materialLibraryOverride": "minecraftbyexample:models/entity/mbe81b_boomerang.mtl",
  "__comment": "flip-v may be required if your texture appears mirrored.  See OBJloader::read() for other flags.  currently the available options are",
  "__comment1": "detectCullableFaces (default true) = try to convert faces to Directional Quads (EAST, WEST, etc) instead of just general quads",
  "__comment2": "diffuseLighting (default false) = attempt to apply the direction-dependent lighting as per vanilla blocks.  Currently does nothing.",
  "__comment3": "flipV (default false) = mirror the texture sheet top-->bottom (if your textures appear upside-down)",
  "__comment4": "ambientToFullbright (default true) = always render at maximum world illumination (combinedLight) regardless of the actual skylight or blocklight present",
  "__comment5": "materialLibraryOverrideLocation (default null) = use this path/filename for the material library file .mtl",
  "display": {
    "thirdperson_righthand": {
      "rotation": [ 180, 0, 90 ],
      "translation": [ 0.00, 3.50, -1.75 ],
      "scale": [ 0.04, 0.04, 0.04]
    },
    "thirdperson_lefthand": {
      "rotation": [ 90, 0, 90 ],
      "translation": [ 0.00, 3.50, -1.75 ],
      "scale": [ 0.04, 0.04, 0.04]
    },
    "firstperson_righthand": {
      "rotation": [ 188, 0, 90 ],
      "translation": [ 0.00, 5.25, -2.25 ],
      "scale": [ 0.05, 0.05, 0.05]
    },
    "firstperson_lefthand": {
      "rotation": [ 90, 0, 90 ],
      "translation": [ 0.00, 5.25, -2.25 ],
      "scale": [ 0.05, 0.05, 0.05]
    },
    "gui": {
      "rotation": [ 82, 0, 0 ],
      "translation": [ 0.75, -1.00, 0.00 ],
      "scale": [ 0.06, 0.06, 0.06]
    },
    "head": {
      "rotation": [ 0, 0, 0 ],
      "translation": [ 0.00, 0.00, 0.00 ],
      "scale": [ 0.05, 0.05, 0.05]
    },
    "fixed": {
      "rotation": [ 270, 162, 0 ],
      "translation": [ 0.00, 0.00, 0.25 ],
      "scale": [ 0.06, 0.06, 0.06]
    },
    "ground": {
      "rotation": [ 90, 278, 0 ],
      "translation": [ 0.00, 9.00, 0.00 ],
      "scale": [ 0.05, 0.05, 0.05]
    }
  }
}

 

Link to comment
Share on other sites

7 minutes ago, TheGreyGhost said:

That is true, but if DrachenBauer wants this

Quote

And how can i control, how such an item looks in an inventory-slot, thrown on the ground, pinned in an item-frame and equipped in first and third person view?

then (s)he may need to use an ItemStackTileEntityRenderer.

The forge:separate-perspective loader can be used to specify an entirely separate, embedded model for each perspective. See SeparatePerspectiveModel for some more info.

Link to comment
Share on other sites

As i thested it, i got this error:

Quote

java.util.concurrent.CompletionException: net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: D:\\Mods\\1_15_1\\UmbrellaMod\\src\\main\\resources\\assets\\umbrellamod\\textures\\model\\black_umbrella.png

and it was stuck in a circle of crashing and reloading.

But i see nothing uppercase or other stuff after the folder "src"...

Edited by Drachenbauer
Link to comment
Share on other sites

Quote

[m[36m[15:57:25] [Render thread/DEBUG] [ne.mi.fm.cl.ClientModLoader/CORE]: Generating PackInfo named mod:umbrellamod for mod file D:\Mods\1_15_1\UmbrellaMod\bin\main
[m[36m[15:57:25] [Render thread/DEBUG] [ne.mi.fm.cl.ClientModLoader/CORE]: Generating PackInfo named mod:forge for mod file C:\Users\Besitzer\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.15.2-31.1.18_mapped_snapshot_20200312-1.15.1\forge-1.15.2-31.1.18_mapped_snapshot_20200312-1.15.1-recomp.jar
[m[32m[15:57:25] [Render thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, Mod Resources
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Loading configs type CLIENT
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Loading config file type CLIENT at forge-client.toml for forge
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Built TOML config for D:\Mods\1_15_1\UmbrellaMod\run\config\forge-client.toml
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file D:\Mods\1_15_1\UmbrellaMod\run\config\forge-client.toml
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Watching TOML config file D:\Mods\1_15_1\UmbrellaMod\run\config\forge-client.toml for changes
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.co.ForgeConfig/FORGEMOD]: Loaded forge config file forge-client.toml
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Loading configs type COMMON
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.ModList/LOADING]: Dispatching parallel event LifecycleEvent:COMMON_SETUP
[m[36m[15:57:25] [Server-Worker-15/DEBUG] [ne.mi.fm.ModList/LOADING]: Dispatching parallel event LifecycleEvent:SIDED_SETUP
[m[32m[15:57:29] [Render thread/INFO] [minecraft/Minecraft]: Caught error loading resourcepacks, removing all selected resourcepacks
java.util.concurrent.CompletionException: net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: D:\\Mods\\1_15_1\\UmbrellaMod\\src\\main\\resources\\assets\\umbrellamod\\textures\\model\\black_umbrella.png
    at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_271] {}
Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: D:\\Mods\\1_15_1\\UmbrellaMod\\src\\main\\resources\\assets\\umbrellamod\\textures\\model\\black_umbrella.png
    at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:28) ~[?:?] {re:classloading}
    at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:35) ~[?:?] {re:classloading}
    at net.minecraftforge.client.model.ModelLoaderRegistry.blockMaterial(ModelLoaderRegistry.java:167) ~[?:?] {re:classloading}
    at net.minecraftforge.client.model.ModelLoaderRegistry.resolveTexture(ModelLoaderRegistry.java:162) ~[?:?] {re:classloading}
    at net.minecraftforge.client.model.obj.OBJModel$ModelObject.lambda$getTextures$0(OBJModel.java:548) ~[?:?] {re:classloading}
    at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:1.8.0_271] {}
    at net.minecraftforge.client.model.obj.OBJModel$ModelObject.getTextures(OBJModel.java:548) ~[?:?] {re:classloading}
    at net.minecraftforge.client.model.obj.OBJModel$ModelGroup.getTextures(OBJModel.java:579) ~[?:?] {re:classloading}
    at net.minecraftforge.client.model.geometry.IMultipartModelGeometry.getTextures(IMultipartModelGeometry.java:57) ~[?:?] {re:classloading}
    at net.minecraftforge.client.model.BlockModelConfiguration.getTextureDependencies(BlockModelConfiguration.java:151) ~[?:?] {re:classloading}
    at net.minecraft.client.renderer.model.BlockModel.getTextures(BlockModel.java:157) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.model.ModelBakery.lambda$processLoading$9(ModelBakery.java:199) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.HashMap$ValueSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_271] {}
    at java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:1.8.0_271] {}
    at net.minecraft.client.renderer.model.ModelBakery.processLoading(ModelBakery.java:200) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraftforge.client.model.ModelLoader.<init>(ModelLoader.java:72) ~[?:?] {re:classloading}
    at net.minecraft.client.renderer.model.ModelManager.prepare(ModelManager.java:58) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.model.ModelManager.prepare(ModelManager.java:19) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.resources.ReloadListener.lambda$reload$0(ReloadListener.java:12) ~[?:?] {re:classloading}
    ... 6 more

 

this circled again and again.

It seems like, it´s because of the absolute path in the .mtl-file if my model.

what kind of path must be used there?

I´m not sore, if the way, how it´s written in the json-files is compatible with .mtl...

Edited by Drachenbauer
Link to comment
Share on other sites

Just looked into it, the OBJ Loader even has some terrible Regex in it that attempts to parse absolute paths for textures and extract the resource domain and path. However for some reason in your OBJ file the backslashes are doubled, causing this to fail. Either make sure there are no absolute paths (should be in resource location format, like any other texture) or figure out why the software you are using incorrectly doubles the slashes.

Link to comment
Share on other sites

Now i schanged my .mtl files to this:

# Blender MTL File: 'Umbrella.blend'
# Material Count: 1

newmtl Material
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.0 0.0 0.0
Ni 1.450000
d 1.000000
illum 2
map_Kd umbrellamod:model/black_umbrella

It´s the same path-style as for the boomerang in the examples mod.

But i still get sometimes this error but sometimes i can enter the game, but the umbrellas have the black and purple error-texture...

 

Edit:

now it works. maybe it just needed some refreshes...

Edited by Drachenbauer
Link to comment
Share on other sites

1 minute ago, Drachenbauer said:

now i creadtd a model for closed umbrella, how can i make one click on the equipped umbrella opens it and another click closes it?

Make two items.

 

1 minute ago, Drachenbauer said:

And how can i make slow falling and soft landing while the umbrella is open

Add an attribute modifier for ForgeMod.ENTITY_GRAVITY to your item. Look at how it is used in LivingEntity with the slow falling potion.

Link to comment
Share on other sites

for slow falling, i added

    private static final UUID SLOW_FALLING_ID = UUID.fromString("A5B6CF2A-2F7C-31EF-9022-7C3E7D5E6ABA");
    private static final AttributeModifier SLOW_FALLING = new AttributeModifier(SLOW_FALLING_ID, "Slow falling acceleration reduction", -0.07, AttributeModifier.Operation.ADDITION).setSaved(false);
    public static final net.minecraft.entity.ai.attributes.IAttribute ENTITY_GRAVITY = new net.minecraft.entity.ai.attributes.RangedAttribute(null, "forge.entity_gravity", 0.08D, -8.0D, 8.0D).setShouldWatch(true);

above the constructor in the UmbrellaItem class and

        IAttributeInstance gravity = player.getAttribute(ENTITY_GRAVITY);
        gravity.applyModifier(SLOW_FALLING);
        player.fallDistance = 0.0F;

in "onUsingTick".

but falling is as fast as normal and i see the collison-particles on landing.

Must i place the lines in the seccond code-snippet into another method?

Link to comment
Share on other sites

Why on earth are you making your own attribute? Why are you reusing the modifier-UUID for the modifier used by the slow falling effect? Why are you naming your modifier the same?

 

You need to use ForgeMod.ENTITY_GRAVITY, not make your own attribute (nobody will care about it...). Also why would you do this in onUsingTick... Item already has a method that provides the attribute modifiers, don't apply them manually (look at swords for example).

Link to comment
Share on other sites

i thaught, this is the way to add a modifyer...

You told me to look in Entity living.

And i thaught, this is the way, it is used there.

 

in the sword i founf this:

public Multimap<String, AttributeModifier> getAttributeModifiers(EquipmentSlotType equipmentSlot) {
      Multimap<String, AttributeModifier> multimap = super.getAttributeModifiers(equipmentSlot);
      if (equipmentSlot == EquipmentSlotType.MAINHAND) {
         multimap.put(SharedMonsterAttributes.ATTACK_DAMAGE.getName(), new AttributeModifier(ATTACK_DAMAGE_MODIFIER, "Weapon modifier", (double)this.attackDamage, AttributeModifier.Operation.ADDITION));
         multimap.put(SharedMonsterAttributes.ATTACK_SPEED.getName(), new AttributeModifier(ATTACK_SPEED_MODIFIER, "Weapon modifier", (double)this.attackSpeed, AttributeModifier.Operation.ADDITION));
      }

      return multimap;
   }

but in "SharedMonsterAttributes" i cannot find the "ENTITY_GRAVITY" attribute.

So how els can i put this attribute there?

 

If i replace "SharedMonsterAttributes" with "ForgeMod", it also cannot find "ENTITY_GRAVITY" in there...

The only appearens of "ENTITY_GRAVITY", that i can find, is in "LivingEntity"

Edited by Drachenbauer
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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Every time I try to enter a world with Baubles reborn installed it crashes and this log appears:. ---- Minecraft Crash Report ---- // Why did you do that?   Time: 25/03/23 21:06 Description: Unexpected error   java.lang.NoClassDefFoundError: com/lazy/baubles/api/BaublesAPI  at org.cyclops.cyclopscore.modcompat.baubles.InventoryExtenderBaubles.getInventory(InventoryExtenderBaubles.java:18) ~[?:1.13.0] {re:classloading}  at org.cyclops.cyclopscore.inventory.PlayerExtendedInventoryIterator.<init>(PlayerExtendedInventoryIterator.java:32) ~[?:1.13.0] {re:classloading}  at org.cyclops.evilcraft.event.RenderOverlayEventHook.onRenderOverlayEvent(RenderOverlayEventHook.java:46) ~[?:1.1.17] {re:classloading}  at net.minecraftforge.eventbus.ASMEventHandler_702_RenderOverlayEventHook_onRenderOverlayEvent_Post.invoke(.dynamic) ~[?:?] {}  at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}  at net.minecraftforge.eventbus.EventBus$$Lambda$3151/1831953318.invoke(Unknown Source) ~[?:?] {}  at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}  at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}  at net.minecraftforge.client.gui.ForgeIngameGui.post(ForgeIngameGui.java:832) ~[?:?] {re:classloading}  at net.minecraftforge.client.gui.ForgeIngameGui.func_238445_a_(ForgeIngameGui.java:222) ~[?:?] {re:classloading}  at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:472) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:tombstone.mixins.json:GameRendererMixin,pl:mixin:A,pl:runtimedistcleaner:A}  at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:977) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}  at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}  at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}  at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}  at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.34.jar:36.2] {}  at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$527/1610014012.call(Unknown Source) [forge-1.16.5-36.2.34.jar:36.2] {}  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:?] {re:classloading}  at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {re:classloading} Caused by: java.lang.ClassNotFoundException: com.lazy.baubles.api.BaublesAPI  at java.lang.ClassLoader.findClass(ClassLoader.java:530) ~[?:1.8.0_51] {}  at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51] {}  at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:106) ~[modlauncher-8.1.3.jar:?] {re:classloading}  at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51] {}  ... 25 more  Suppressed: java.lang.ClassNotFoundException   at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:282) ~[modlauncher-8.1.3.jar:?] {}   at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.1.3.jar:?] {re:classloading}   at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.1.3.jar:?] {re:classloading}   at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51] {}   at org.cyclops.cyclopscore.modcompat.baubles.InventoryExtenderBaubles.getInventory(InventoryExtenderBaubles.java:18) ~[?:1.13.0] {re:classloading}   at org.cyclops.cyclopscore.inventory.PlayerExtendedInventoryIterator.<init>(PlayerExtendedInventoryIterator.java:32) ~[?:1.13.0] {re:classloading}   at org.cyclops.evilcraft.event.RenderOverlayEventHook.onRenderOverlayEvent(RenderOverlayEventHook.java:46) ~[?:1.1.17] {re:classloading}   at net.minecraftforge.eventbus.ASMEventHandler_702_RenderOverlayEventHook_onRenderOverlayEvent_Post.invoke(.dynamic) ~[?:?] {}   at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}   at net.minecraftforge.eventbus.EventBus$$Lambda$3151/1831953318.invoke(Unknown Source) ~[?:?] {}   at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}   at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}   at net.minecraftforge.client.gui.ForgeIngameGui.post(ForgeIngameGui.java:832) ~[?:?] {re:classloading}   at net.minecraftforge.client.gui.ForgeIngameGui.func_238445_a_(ForgeIngameGui.java:222) ~[?:?] {re:classloading}   at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:472) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:tombstone.mixins.json:GameRendererMixin,pl:mixin:A,pl:runtimedistcleaner:A}   at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:977) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}   at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}   at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}   at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.34.jar:36.2] {}   at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$527/1610014012.call(Unknown Source) [forge-1.16.5-36.2.34.jar:36.2] {}   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:?] {re:classloading}   at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {re:classloading}     A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------   -- Head -- Thread: Render thread Stacktrace:  at org.cyclops.cyclopscore.modcompat.baubles.InventoryExtenderBaubles.getInventory(InventoryExtenderBaubles.java:18) ~[?:1.13.0] {re:classloading}  at org.cyclops.cyclopscore.inventory.PlayerExtendedInventoryIterator.<init>(PlayerExtendedInventoryIterator.java:32) ~[?:1.13.0] {re:classloading}  at org.cyclops.evilcraft.event.RenderOverlayEventHook.onRenderOverlayEvent(RenderOverlayEventHook.java:46) ~[?:1.1.17] {re:classloading}  at net.minecraftforge.eventbus.ASMEventHandler_702_RenderOverlayEventHook_onRenderOverlayEvent_Post.invoke(.dynamic) ~[?:?] {}  at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}  at net.minecraftforge.eventbus.EventBus$$Lambda$3151/1831953318.invoke(Unknown Source) ~[?:?] {}  at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}  at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}  at net.minecraftforge.client.gui.ForgeIngameGui.post(ForgeIngameGui.java:832) ~[?:?] {re:classloading}  at net.minecraftforge.client.gui.ForgeIngameGui.func_238445_a_(ForgeIngameGui.java:222) ~[?:?] {re:classloading} -- Affected level -- Details:  All players: 1 total; [ClientPlayerEntity['IHarazuI'/387, l='ClientLevel', x=-102.50, y=63.00, z=132.50]]  Chunk stats: Client Chunk Cache: 841, 441  Level dimension: minecraft:overworld  Level spawn location: World: (-112,65,140), Chunk: (at 0,4,12 in -7,8; contains blocks -112,0,128 to -97,255,143), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)  Level time: 262 game time, 262 day time  Server brand: forge  Server type: Integrated singleplayer server Stacktrace:  at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:447) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}  at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2031) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}  at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:628) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}  at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}  at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}  at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.34.jar:36.2] {}  at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$527/1610014012.call(Unknown Source) [forge-1.16.5-36.2.34.jar:36.2] {}  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:?] {re:classloading}  at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {re:classloading}     -- System Details -- Details:  Minecraft Version: 1.16.5  Minecraft Version ID: 1.16.5  Operating System: Windows 10 (amd64) version 10.0  Java Version: 1.8.0_51, Oracle Corporation  Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation  Memory: 3582537656 bytes (3416 MB) / 5368709120 bytes (5120 MB) up to 5368709120 bytes (5120 MB)  CPUs: 4  JVM Flags: 9 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -Xmx5120m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -XX:+IgnoreUnrecognizedVMOptions  ModLauncher: 8.1.3+8.1.3+main-8.1.x.c94d18ec  ModLauncher launch target: fmlclient  ModLauncher naming: srg  ModLauncher services:    /mixin-0.8.4.jar mixin PLUGINSERVICE    /eventbus-4.0.0.jar eventbus PLUGINSERVICE    /forge-1.16.5-36.2.34.jar object_holder_definalize PLUGINSERVICE    /forge-1.16.5-36.2.34.jar runtime_enum_extender PLUGINSERVICE    /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE    /forge-1.16.5-36.2.34.jar capability_inject_definalize PLUGINSERVICE    /forge-1.16.5-36.2.34.jar runtimedistcleaner PLUGINSERVICE    /mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE    /forge-1.16.5-36.2.34.jar fml TRANSFORMATIONSERVICE   FML: 36.2  Forge: net.minecraftforge:36.2.34  FML Language Providers:    javafml@36.2   minecraft@1  Mod List:    forge-1.16.5-36.2.34-client.jar |Minecraft |minecraft |1.16.5 |DONE |Manifest: NOSIGNATURE   TConstruct-1.16.5-3.3.4.335.jar |Tinkers' Construct |tconstruct |3.3.4.335 |DONE |Manifest: NOSIGNATURE   CyclopsCore-1.16.5-1.13.0.jar |Cyclops Core |cyclopscore |1.13.0 |DONE |Manifest: NOSIGNATURE   Jade-1.16.4-2.8.3.jar |Jade |jade |2.8.3 |DONE |Manifest: NOSIGNATURE   baubles-1.8.7.1-1.16.5.jar |Baubles |baubles |1.8.7 |DONE |Manifest: NOSIGNATURE   ironfurnaces-1.16.5-2.7.7.jar |Iron Furnaces |ironfurnaces |2.7.7 |DONE |Manifest: NOSIGNATURE   jei-1.16.5-7.8.0.1009.jar |Just Enough Items |jei |7.8.0.1009 |DONE |Manifest: NOSIGNATURE   constructsarmory-forge-2.0.0-alpha.2+1.16.5.jar |Construct's Armory |constructsarmory |2.0.0-alpha.2+1.16.5|DONE |Manifest: NOSIGNATURE   jousting-1.16.5-v1.0.5.jar |Jousting |jousting |1.16.5-v1.0.5 |DONE |Manifest: NOSIGNATURE   scannable-1.16.5-forge-1.7.6+00198b7.jar |Scannable |scannable |1.7.6 |DONE |Manifest: NOSIGNATURE   ProjectE-1.16.5-PE1.0.2.jar |ProjectE |projecte |PE1.0.2 |DONE |Manifest: NOSIGNATURE   Mekanism-1.16.5-10.1.2.457.jar |Mekanism |mekanism |10.1.2 |DONE |Manifest: NOSIGNATURE   Patchouli-1.16.4-53.3.jar |Patchouli |patchouli |1.16.4-53.3 |DONE |Manifest: NOSIGNATURE   Mantle-1.16.5-1.6.157.jar |Mantle |mantle |1.6.157 |DONE |Manifest: NOSIGNATURE   dragonseeker-1.1.jar |Dragonseeker |dragonseeker |1.1 |DONE |Manifest: NOSIGNATURE   journeymap-1.16.5-5.8.5p6.jar |Journeymap |journeymap |5.8.5p6 |DONE |Manifest: NOSIGNATURE   citadel-1.8.1-1.16.5.jar |Citadel |citadel |1.8.1 |DONE |Manifest: NOSIGNATURE   TravelersBackpack-1.16.5-5.4.33.jar |Traveler's Backpack |travelersbackpack |5.4.33 |DONE |Manifest: NOSIGNATURE   FluxNetworks-1.16.5-6.2.1.14.jar |Flux Networks |fluxnetworks |6.2.1.14 |DONE |Manifest: NOSIGNATURE   EvilCraft-1.16.5-1.1.17.jar |EvilCraft |evilcraft |1.1.17 |DONE |Manifest: NOSIGNATURE   tombstone-6.8.11-1.16.5.jar |Corail Tombstone |tombstone |6.8.11 |DONE |Manifest: NOSIGNATURE   MekanismTools-1.16.5-10.1.2.457.jar |Mekanism: Tools |mekanismtools |10.1.2 |DONE |Manifest: NOSIGNATURE   mcjtylib-1.16-5.1.8.jar |McJtyLib |mcjtylib |1.16-5.1.8 |DONE |Manifest: NOSIGNATURE   rftoolsbase-1.16-2.1.5.jar |RFToolsBase |rftoolsbase |1.16-2.1.5 |DONE |Manifest: NOSIGNATURE   notenoughwands-1.16-3.0.2.jar |Not Enough Wands |notenoughwands |1.16-3.0.2 |DONE |Manifest: NOSIGNATURE   Vampirism-1.16.5-1.9.3.jar |Vampirism |vampirism |1.9.3 |DONE |Manifest: NOSIGNATURE   VampirismIntegrations-1.16.5-1.6.1.jar |Vampirism Integrations |vampirism_integrations |1.6.1 |DONE |Manifest: NOSIGNATURE   Werewolves-1.16.5-1.1.0.1.jar |Werewolves |werewolves |1.1.0.1 |DONE |Manifest: NOSIGNATURE   mahoutsukai-1.16.5-v1.34.43.jar |Mahou Tsukai |mahoutsukai |1.16.5-v1.34.43 |DONE |Manifest: NOSIGNATURE   iceandfire-2.1.12-1.16.5.jar |Ice and Fire |iceandfire |2.1.12-1.16.5 |DONE |Manifest: NOSIGNATURE   projecte-integration-1.16.5-4.6.1.jar |ProjectE Integration |projecteintegration |4.6.1 |DONE |Manifest: NOSIGNATURE   MekanismGenerators-1.16.5-10.1.2.457.jar |Mekanism: Generators |mekanismgenerators |10.1.2 |DONE |Manifest: NOSIGNATURE   cloth-config-4.15.82-forge.jar |Cloth Config v4 API |cloth-config |4.15.82 |DONE |Manifest: NOSIGNATURE   inventorypets-1.16.5-2.0.15.jar |Inventory Pets |inventorypets |2.0.15 |DONE |Manifest: NOSIGNATURE   Auxilium-1.16.5-1.0.1.1.jar |Auxilium |auxilium |1.0.1.1 |DONE |Manifest: NOSIGNATURE   VampiresNeedUmbrellas-1.16.5-1.1.5.jar |Vampires Need Umbrellas |vampiresneedumbrellas |1.1.5 |DONE |Manifest: NOSIGNATURE   conjuring-forgery-0.2.2.jar |Conjuring - Forgery |conjuring |0.2.2 |DONE |Manifest: NOSIGNATURE   forge-1.16.5-36.2.34-universal.jar |Forge |forge |36.2.34 |DONE |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90   wings-2.1.0-1.16.5.jar |Wings |wings |2.1.0 |DONE |Manifest: NOSIGNATURE   refinedstorage-1.9.18.jar |Refined Storage |refinedstorage |1.9.18 |DONE |Manifest: NOSIGNATURE   GodlyVampirism-1.16.5-1.0.2.jar |Godly Vampirism |godly-vampirism |1.0.2 |DONE |Manifest: NOSIGNATURE   ironchest-1.16.5-11.2.21.jar |Iron Chests |ironchest |1.16.5-11.2.21 |DONE |Manifest: NOSIGNATURE   extra-utilities-reborn-1.7.3-1.16.5.jar |Extra Utilities Rebirth |extrautilitiesrebirth |1.7.3 |DONE |Manifest: NOSIGNATURE  Crash Report UUID: 6bfb8873-9c40-461b-943f-eb5fc600a7d0  Patchouli open book context: n/a  Launched Version: 1.16.5-forge-36.2.34  Backend library: LWJGL version 3.2.2 build 10  Backend API: Intel(R) HD Graphics 620 GL version 4.6.0 - Build 31.0.101.2111, Intel  GL Caps: Using framebuffer using OpenGL 3.0  Using VBOs: Yes  Is Modded: Definitely; Client brand changed to 'forge'  Type: Client (map_client.txt)  Graphics mode: fancy  Resource Packs:   Current Language: Português (Brasil)  CPU: 4x Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz  
    • JVM info: Oracle Corporation - 1.8.0_45 - 25.45-b02 java.net.preferIPv4Stack=true Found java version 1.8.0_45 Added Lets Encrypt root certificates as additional trust Extracting json Considering minecraft client jar javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target     at sun.security.ssl.Alerts.getSSLException(Unknown Source)     at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)     at sun.security.ssl.Handshaker.fatalSE(Unknown Source)     at sun.security.ssl.Handshaker.fatalSE(Unknown Source)     at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)     at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)     at sun.security.ssl.Handshaker.processLoop(Unknown Source)     at sun.security.ssl.Handshaker.process_record(Unknown Source)     at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)     at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)     at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)     at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)     at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)     at java.net.HttpURLConnection.getResponseCode(Unknown Source)     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)     at net.minecraftforge.installer.DownloadUtils.getConnection(DownloadUtils.java:243)     at net.minecraftforge.installer.DownloadUtils.downloadManifest(DownloadUtils.java:307)     at net.minecraftforge.installer.json.Util.getVanillaVersion(Util.java:73)     at net.minecraftforge.installer.actions.ClientInstall.run(ClientInstall.java:89)     at net.minecraftforge.installer.InstallerPanel.run(InstallerPanel.java:423)     at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:175)     at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target     at sun.security.validator.PKIXValidator.doBuild(Unknown Source)     at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)     at sun.security.validator.Validator.validate(Unknown Source)     at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)     at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)     at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)     ... 21 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target     at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)     at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)     at java.security.cert.CertPathBuilder.build(Unknown Source)     ... 27 more Failed to download version manifest, can not find client jar URL.   me sale esto en el docuento que crea el archivo cuando me da error
    • Hola, buenas, escribo porque me sale este error al descargar forge-1.16.5-36.2.34-installer, el cliente, como puedo solucionarlo ?
    • Well, as the configurations imply regardless of version, it simply removes an entity or block entity when it crashes while ticking. The only time this really occurs is when unexpected behavior occurs or the mod itself is programmed badly, which I've rarely seen in small mods. So, unless you're doing something ridiculous that is outside the bounds of survival gameplay, I don't expect you ever to run into this issue. Additionally, if the issue occurs, you'll be able to see the action within the output log, so you'll know that it happened.   As I didn't understand the question originally after posing it to the discord, one of the members mentioned that the 'optimization modpack' might be using this to hide errors caused by the performance mods. Additionally, you shouldn't normally expect errors to occur, so it makes no sense to leave the option on until you need to recover the world after the crash already happens.
    • Well, the method in question for the logic would be via LocateCommand#locateStructure which delegates to ChunkGenerator#findNearestMapStructure. You would of course need the ServerLevel as structures can only exist in the world. So, what context are you executing this in such that you don't have the level?
  • Topics

×
×
  • Create New...

Important Information

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