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

How to ose non cubic model as mod-item?


Drachenbauer
 Share

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.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • I was whanting to play the classic crashlanding modpack but...: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release dez 01, 2021 6:40:13 PM net.minecraft.launchwrapper.LogWrapper log INFORMAÇÕES: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker dez 01, 2021 6:40:13 PM net.minecraft.launchwrapper.LogWrapper log INFORMAÇÕES: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker dez 01, 2021 6:40:13 PM net.minecraft.launchwrapper.LogWrapper log INFORMAÇÕES: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker 2021-12-01 18:40:14 [INFORMAÇÕES] [ForgeModLoader] Forge Mod Loader version 6.4.50.1,345 for Minecraft 1.6.4 loading 2021-12-01 18:40:14 [INFORMAÇÕES] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_311, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_311 2021-12-01 18:40:15 [ADVERTÊNCIA] [ForgeModLoader] The coremod net.minecraftforge.lex.sortfix.CorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft 2021-12-01 18:40:15 [ADVERTÊNCIA] [ForgeModLoader] The coremod appeng.transformer.AppEngCore does not have a MCVersion annotation, it may cause issues with this version of Minecraft 2021-12-01 18:40:15 [INFORMAÇÕES] [ForgeModLoader] [AppEng] Core Init 2021-12-01 18:40:15 [ADVERTÊNCIA] [ForgeModLoader] The coremod codechicken.core.launch.DepLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft 2021-12-01 18:40:15 [ADVERTÊNCIA] [ForgeModLoader] The coremod invtweaks.forge.asm.FMLPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft 2021-12-01 18:40:15 [ADVERTÊNCIA] [ForgeModLoader] The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft 2021-12-01 18:40:15 [ADVERTÊNCIA] [ForgeModLoader] The coremod openblocks.OpenBlocksCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft 2021-12-01 18:40:15 [ADVERTÊNCIA] [ForgeModLoader] The coremod openmods.OpenModsCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft 2021-12-01 18:40:15 [INFORMAÇÕES] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2021-12-01 18:40:15 [INFORMAÇÕES] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2021-12-01 18:40:15 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2021-12-01 18:40:15 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2021-12-01 18:40:15 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2021-12-01 18:40:15 [INFORMAÇÕES] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2021-12-01 18:40:19 [INFORMAÇÕES] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR] Warning: version of CodeChickenLib-universal-1.6.4-, 1.0.0.62 is newer than request 1.0.0.43 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2021-12-01 18:40:19 [INFORMAÇÕES] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR] Exception in thread "main" java.lang.NoClassDefFoundError: codechicken/core/launch/CodeChickenCorePlugin 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at codechicken.nei.asm.NEICorePlugin.getASMTransformerClass(NEICorePlugin.java:18) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:97) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:111) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR] Caused by: java.lang.ClassNotFoundException: codechicken.core.launch.CodeChickenCorePlugin 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     ... 4 more 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR] Caused by: java.lang.NullPointerException 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at org.objectweb.asm.ClassReader.<init>(Unknown Source) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at invtweaks.forge.asm.ContainerTransformer.transform(ContainerTransformer.java:116) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:274) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:172) 2021-12-01 18:40:19 [INFORMAÇÕES] [STDERR]     ... 6 more How do i fix this?
    • Hi, I would like to know if it's possible to render the glowing effect with depth test so it won't be visible through walls? Should I implement my own render type buffer? Thanks!
    • I think that this is easier. Thank you. I do know how to do that.
    • Thank you for your help. I think I'm on the correct page. https://mcforge.readthedocs.io/en/latest/models/color/ I only need to find out how this works.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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