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

[Solved] Custom Bow Pullback Animation Only Loading One Frame


fracturx
 Share

Recommended Posts

My custom bow that extends the regular BowItem works perfectly fine with the exception of it not loading the pullback textures besides pulling_0. Here is my code:

diamond_bow.json:

 

{
  "parent": "item/generated",
  "textures": {
    "layer0": "otherutilities:items/diamond_bow"
  },
  "display": {
    "thirdperson_righthand": {
      "rotation": [ -80, 260, -40 ],
      "translation": [ -1, -2, 2.5 ],
      "scale": [ 0.9, 0.9, 0.9 ]
    },
    "thirdperson_lefthand": {
      "rotation": [ -80, -280, 40 ],
      "translation": [ -1, -2, 2.5 ],
      "scale": [ 0.9, 0.9, 0.9 ]
    },
    "firstperson_righthand": {
      "rotation": [ 0, -90, 25 ],
      "translation": [ 1.13, 3.2, 1.13],
      "scale": [ 0.68, 0.68, 0.68 ]
    },
    "firstperson_lefthand": {
      "rotation": [ 0, 90, -25 ],
      "translation": [ 1.13, 3.2, 1.13],
      "scale": [ 0.68, 0.68, 0.68 ]
    }
  },
  "overrides": [
    {
      "predicate": {
        "pulling": 1
      },
      "model": "otherutilities:item/diamond_bow_pulling_0"
    },
    {
      "predicate": {
        "pulling": 1,
        "pull": 0.65
      },
      "model": "otherutilities:item/diamond_bow_pulling_1"
    },
    {
      "predicate": {
        "pulling": 1,
        "pull": 0.9
      },
      "model": "otherutilities:item/diamond_bow_pulling_2"
    }
  ]
}

 

diamond_bow_pulling_0.json:

{
  "parent": "item/bow",
  "textures": {
    "layer0": "otherutilities:items/diamond_bow_pulling_0"
  }
}

 

diamond_bow_pulling_1.json:

{
  "parent": "item/bow",
  "textures": {
    "layer0": "otherutilities:items/diamond_bow_pulling_1"
  }
}

diamond_bow_pulling_2.json:

{
  "parent": "item/bow",
  "textures": {
    "layer0": "otherutilities:items/diamond_bow_pulling_2"
  }
}

I have confirmed that all of the images in the items folder do in fact exist, but only diamond_bow_pulling_0.png loads.

Here is my BaseBow Class:

package com.Silver2040.OtherUtilities.items;

import com.Silver2040.OtherUtilities.OtherUtilities;
import net.minecraft.item.*;
import net.minecraft.util.ResourceLocation;


public class BaseBow extends BowItem {

    public BaseBow(int damage) {
        super((new Item.Properties()).group(OtherUtilities.TAB)
                .maxStackSize(1)
                .maxDamage(damage));


        this.addPropertyOverride(new ResourceLocation("pull"), (stack, world, entity) -> {
            if (entity == null) {
                return 0F;
            } else {
                if (entity.getActiveItemStack().getItem() instanceof BaseBow) {
                    return 0F;
                } else {
                    return (float)(stack.getUseDuration() - entity.getItemInUseCount()) / 20F;
                }
            }
        });

        this.addPropertyOverride(new ResourceLocation("pulling"), (stack, world, entity) -> entity != null && entity.isHandActive() && entity.getActiveItemStack() == stack ? 1F : 0F);

    }

    @Override
    public int getItemEnchantability() {
        return 10;
    }

    
    private boolean isArrow(ItemStack stack) {
        return stack.getItem() instanceof ArrowItem;
    }


}

 

And here is my DiamondBow class:

package com.Silver2040.OtherUtilities.items;

public class DiamondBow extends BaseBow {

    public DiamondBow() {
        super(800);
    }
}

 

To avoid spam and also because I don't think it's really needed, I haven't included the registry file or my main file but if needed I can provide it.

Again, the bow itself loads perfectly, everything works as expected, but the drawback only has 1 pulling frame which is diamond_bow_pulling_0.png 

Thank you in advance.

Edited by fracturx
Link to comment
Share on other sites

it does? what I mean is

    {
      "predicate": {
        "pulling": 1,
        "pull": 0.65
      },
      "model": "otherutilities:item/diamond_bow_pulling_1"
    },
    {
      "predicate": {
        "pulling": 1,
        "pull": 0.9
      },
      "model": "otherutilities:item/diamond_bow_pulling_2"
    }
  ]

pull is always 0 which < 0.65 and 0.9

Link to comment
Share on other sites

you misunderstood what I mean.

                if (entity.getActiveItemStack().getItem() instanceof BaseBow) {
                    return 0F;
                } else {
                    return (float)(stack.getUseDuration() - entity.getItemInUseCount()) / 20F;
                }
            }

change the 0F to 1F does not matter because what are you trying to do is to change the bow's model correspond to the bow's pulling duration (time pulled), which you've done that in the else statement. But the else statement is never going to be reached because the item you are holding is an instance of the custom bow class so it will always return the value in the if statement

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.

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

    • Because you cannot call a function on a computer that is running on the other side of the planet (aka. the server).
    • and why should I instantiate a class when I really only want to call one function?
    • Please post the debug.log as well as a screenshot of your mods folder.
    • [16:12:15] [main/INFO]: ModLauncher running: args [--username, Gruntx, --version, forge-36.2.8, --gameDir, G:\Curse\Minecraft\Instances\1.16.5, --assetsDir, G:\Curse\Minecraft\Install\assets, --assetIndex, 1.16, --uuid, be6209347c054d649c021f66d7003c49, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.8, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550] [16:12:15] [main/INFO]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_51 by Oracle Corporation [16:12:16] [main/WARN]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [16:12:16] [main/INFO]: OptiFineTransformationService.onLoad [16:12:16] [main/INFO]: OptiFine ZIP file: G:\Curse\Minecraft\Instances\1.16.5\mods\OptiFine_1.16.5_HD_U_G8.jar [16:12:16] [main/INFO]: Target.PRE_CLASS is available [16:12:16] [main/INFO]: Added Lets Encrypt root certificates as additional trust [16:12:16] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/G:/Curse/Minecraft/Install/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT [16:12:16] [main/INFO]: OptiFineTransformationService.initialize [16:12:19] [main/INFO]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 13:0 token recognition error at: '`' [16:12:19] [main/INFO]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 1:0 token recognition error at: '~' [16:12:19] [main/INFO]: OptiFineTransformationService.transformers [16:12:19] [main/INFO]: Targets: 311 [16:12:20] [main/INFO]: additionalClassesLocator: [optifine., net.optifine.] [16:12:20] [main/ERROR]: Mixin config antiqueatlas.mixins.json does not specify "minVersion" property [16:12:21] [main/INFO]: Successfully loaded Mixin Connector [tictim.paraglider.MixinConnector] [16:12:21] [main/INFO]: Successfully loaded Mixin Connector [shetiphian.core.mixins.MixinConnector] [16:12:21] [main/INFO]: Successfully loaded Mixin Connector [vazkii.botania.common.MixinConnector] [16:12:21] [main/INFO]: Successfully loaded Mixin Connector [com.qouteall.hiding_in_the_bushes.MyMixinConnector] [16:12:21] [main/INFO]: Successfully loaded Mixin Connector [vazkii.patchouli.common.MixinConnector] [16:12:21] [main/INFO]: Invoking Mixin Connector [16:12:21] [main/ERROR]: Mixin config imm_ptl_mixins.json does not specify "minVersion" property [16:12:21] [main/ERROR]: Mixin config imm_ptl_mixins_forge.json does not specify "minVersion" property [16:12:21] [main/ERROR]: Mixin config imm_ptl_peripheral_mixins.json does not specify "minVersion" property [16:12:21] [main/ERROR]: Mixin config imm_ptl_mixins_optifine.json does not specify "minVersion" property [16:12:21] [main/INFO]: Launching target 'fmlclient' with arguments [--version, forge-36.2.8, --gameDir, G:\Curse\Minecraft\Instances\1.16.5, --assetsDir, G:\Curse\Minecraft\Install\assets, --uuid, be6209347c054d649c021f66d7003c49, --username, Gruntx, --assetIndex, 1.16, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768] [16:12:21] [main/WARN]: Reference map 'yungsbridges.refmap.json' for yungsbridges.mixins.json could not be read. If this is a development environment you can ignore this message [16:12:21] [main/WARN]: Reference map 'outer_end.refmap.json' for jellyfishing.mixins.json could not be read. If this is a development environment you can ignore this message [16:12:21] [main/INFO]: Loaded configuration file for Sodium: 90 options available, 1 override(s) found [16:12:21] [main/WARN]: Reference map 'structure_toolkit.refmap.json' for structure_toolkit.mixins.json could not be read. If this is a development environment you can ignore this message [16:12:21] [main/INFO]: Transform: net/minecraft/client/renderer/model/ModelBakery [16:12:21] [main/INFO]: Patching ModelBakery#<init> [16:12:21] [main/WARN]: Error loading class: com/terraforged/mod/chunk/column/post/LayerDecorator (java.lang.ClassNotFoundException: null) [16:12:21] [main/WARN]: @Mixin target com.terraforged.mod.chunk.column.post.LayerDecorator was not found snowrealmagic.mixins.json:MixinLayerDecorator [16:12:21] [main/WARN]: Error loading class: com/terraforged/mod/feature/feature/FreezeLayer (java.lang.ClassNotFoundException: null) [16:12:21] [main/WARN]: @Mixin target com.terraforged.mod.feature.feature.FreezeLayer was not found snowrealmagic.mixins.json:MixinFreezeLayer [16:12:21] [main/INFO]: Adding 'add_custom_entity_collision' ASM patch... [16:12:21] [main/INFO]: Added 'add_custom_entity_collision' ASM patch! [16:12:22] [main/INFO]: Adding 'set_player_field' ASM patch... [16:12:22] [main/INFO]: Added 'set_player_field' ASM patch! [16:12:22] [main/INFO]: Patching LivingEntity#attackEntityFrom [16:12:22] [main/INFO]: Adding 'water_movement_slowdown_prevention' ASM patch... [16:12:22] [main/INFO]: Added 'water_movement_slowdown_prevention' ASM patch! [16:12:22] [main/INFO]: Transform: net/minecraft/client/renderer/WorldRenderer [16:12:22] [main/ERROR]: Error occurred applying transform of coremod META-INF/asm/multipart.js function render java.lang.NullPointerException: null at org.objectweb.asm.tree.InsnList.insert(InsnList.java:343) ~[asm-tree-9.1.jar:9.1] at jdk.nashorn.internal.scripts.Script$Recompilation$204$5956A$\^eval\_.initializeCoreMod$transformer-3(<eval>:135) ~[?:?] at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:638) ~[nashorn.jar:?] at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229) ~[nashorn.jar:?] at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:387) ~[nashorn.jar:?] at jdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:110) ~[nashorn.jar:?] at net.minecraftforge.coremod.NashornFactory.lambda$getFunction$0(NashornFactory.java:18) ~[coremods-4.0.6.jar:4.0.6+14+master.c21a551] at net.minecraftforge.coremod.NashornFactory$$Lambda$425/251155815.apply(Unknown Source) ~[?:?] at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:18) ~[coremods-4.0.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:10) ~[coremods-4.0.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModBaseTransformer.transform(CoreModBaseTransformer.java:38) [coremods-4.0.6.jar:?] at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:179) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:111) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.buildTransformedClassNodeFor(TransformingClassLoader.java:142) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchPluginHandler.lambda$null$8(LaunchPluginHandler.java:97) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchPluginHandler$$Lambda$450/715819458.buildTransformedClassNodeFor(Unknown Source) [modlauncher-8.0.9.jar:?] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:222) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:207) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:2005) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinInfo.getTargetClass(MixinInfo.java:1017) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinInfo.readTargetClasses(MixinInfo.java:1007) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinInfo.parseTargets(MixinInfo.java:895) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:867) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:779) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:539) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) [modlauncher-8.0.9.jar:8.0.9+86+master.3cf110c] at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [modlauncher-8.0.9.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_51] at java.lang.Class.forName(Class.java:348) [?:1.8.0_51] at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.8.jar:36.2] at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$491/417004859.call(Unknown Source) [forge-1.16.5-36.2.8.jar:36.2] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] [16:12:22] [main/INFO]: Adding 'add_custom_entity_collision' ASM patch... [16:12:22] [main/INFO]: Added 'add_custom_entity_collision' ASM patch! [16:12:22] [main/INFO]: Adding 'reach_set_server_entity_interact' ASM patch... [16:12:22] [main/INFO]: Added 'reach_set_server_entity_interact' ASM patch! [16:12:22] [main/INFO]: Adding 'allow_entity_interaction' ASM patch... [16:12:22] [main/INFO]: Added 'allow_entity_interaction' ASM patch! [16:12:22] [main/INFO]: Adding 'on_block_change' ASM patch... [16:12:22] [main/INFO]: Added 'on_block_change' ASM patch! [16:12:22] [main/INFO]: Adding 'sun_brightness_server' ASM patch... [16:12:22] [main/INFO]: Added 'sun_brightness_server' ASM patch! [16:12:22] [main/INFO]: Adding 'on_block_change' ASM patch... [16:12:22] [main/INFO]: Added 'on_block_change' ASM patch! [16:12:22] [main/INFO]: Adding 'sun_brightness_server' ASM patch... [16:12:22] [main/INFO]: Added 'sun_brightness_server' ASM patch! [16:12:22] [main/WARN]: Force-disabling mixin 'ai.goal.GoalSelectorMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.nearby_entity_tracking.LivingEntityMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.nearby_entity_tracking.ServerWorldMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.nearby_entity_tracking.WorldChunkMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.nearby_entity_tracking.WorldMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.nearby_entity_tracking.goals.FleeEntityGoalMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.nearby_entity_tracking.goals.LookAtGoalMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.pathing.ChunkCacheMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.pathing.LandPathNodeMakerMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.pathing.MixinAbstractBlockState' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.pathing.MixinBlock' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.pathing.PathNodeNavigatorMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.poi.PointOfInterestStorageMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.poi.PointOfInterestSetMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.poi.PointOfInterestTypeMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.poi.SerializingRegionBasedStorageMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.poi.fast_portals.PortalForcerMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.raid.PickupBannerAsLeaderGoalMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.raid.RaidMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.task.CompositeTaskMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.task.FindInteractionTargetTaskMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.task.RunModeMixin$RunOneMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.task.RunModeMixin$TryAllMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.task.TaskMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.task.WeightedListMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:22] [main/WARN]: Force-disabling mixin 'ai.task.TaskAccessorMixin' as rule 'mixin.ai' (added by user configuration) disables it and children [16:12:23] [main/INFO]: Transform: net/minecraft/network/datasync/EntityDataManager [16:12:23] [main/INFO]: Transform: net/minecraft/world/server/ChunkManager [16:12:23] [main/ERROR]: No rules matched mixin 'client.world.MixinClientWorld', treating as foreign and disabling! [16:12:23] [main/WARN]: Disabling MixinClientWorld due to conflict with AbnormalsCore [16:12:23] [main/INFO]: Adding 'sun_brightness_client' ASM patch... [16:12:23] [main/INFO]: Added 'sun_brightness_client' ASM patch! [16:12:23] [main/INFO]: Adding 'render_particles' ASM patch... [16:12:23] [main/INFO]: Added 'render_particles' ASM patch! [16:12:23] [main/INFO]: Transform: net/minecraft/client/renderer/texture/AtlasTexture [16:12:23] [main/INFO]: Transform: net/minecraft/client/renderer/FirstPersonRenderer [16:12:23] [main/INFO]: Patching ItemStack#onItemUse [16:12:23] [main/INFO]: Adding 'add_missing_tag_enchantment_tooltip' ASM patch... [16:12:23] [main/INFO]: Added 'add_missing_tag_enchantment_tooltip' ASM patch! [16:12:23] [main/INFO]: Adding 'add_enchantment_tooltip' ASM patch... [16:12:23] [main/INFO]: Added 'add_enchantment_tooltip' ASM patch! [16:12:24] [main/INFO]: Adding 'reach_set_client_renderer' ASM patch... [16:12:24] [main/INFO]: Added 'reach_set_client_renderer' ASM patch! [16:12:24] [main/INFO]: Transform: net/minecraft/client/entity/player/AbstractClientPlayerEntity [16:12:24] [main/INFO]: Patching ItemStack#onItemUse [16:12:24] [main/INFO]: Adding 'add_missing_tag_enchantment_tooltip' ASM patch... [16:12:24] [main/INFO]: Added 'add_missing_tag_enchantment_tooltip' ASM patch! [16:12:24] [main/INFO]: Adding 'add_enchantment_tooltip' ASM patch... [16:12:24] [main/INFO]: Added 'add_enchantment_tooltip' ASM patch! [16:12:24] [main/INFO]: Adding 'add_enchantment_helper_levels' ASM patch... [16:12:24] [main/INFO]: Added 'add_enchantment_helper_levels' ASM patch! [16:12:24] [main/INFO]: Adding 'add_enchantment_helper_enchantments' ASM patch... [16:12:24] [main/INFO]: Added 'add_enchantment_helper_enchantments' ASM patch! [16:12:24] [main/INFO]: Adding 'add_enchantment_helper_apply_modifier' ASM patch... [16:12:24] [main/INFO]: Added 'add_enchantment_helper_apply_modifier' ASM patch! [16:12:24] [main/INFO]: Transform: net/minecraft/client/renderer/entity/layers/BipedArmorLayer [16:12:24] [main/INFO]: Patching LootTableManager#apply [16:12:26] [main/INFO]: Transform: net/optifine/reflect/ReflectorClass [16:12:26] [main/INFO]: Adding 'add_custom_entity_collision' ASM patch... [16:12:26] [main/INFO]: Added 'add_custom_entity_collision' ASM patch! [16:12:27] [main/INFO]: Adding 'on_block_change' ASM patch... [16:12:27] [main/INFO]: Added 'on_block_change' ASM patch! [16:12:27] [main/INFO]: Adding 'sun_brightness_server' ASM patch... [16:12:27] [main/INFO]: Added 'sun_brightness_server' ASM patch! [16:12:27] [main/INFO]: Patching BlockModelShapes#getModelLocation [16:12:27] [main/INFO]: Adding 'cooldown_tracker_set' ASM patch... [16:12:27] [main/INFO]: Added 'cooldown_tracker_set' ASM patch! [16:12:27] [main/INFO]: Adding 'set_player_field' ASM patch... [16:12:27] [main/INFO]: Added 'set_player_field' ASM patch! [16:12:27] [main/INFO]: Patching LivingEntity#attackEntityFrom [16:12:27] [main/INFO]: Adding 'water_movement_slowdown_prevention' ASM patch... [16:12:27] [main/INFO]: Added 'water_movement_slowdown_prevention' ASM patch! [16:12:28] [main/INFO]: Transform: net/minecraft/client/renderer/WorldRenderer [16:12:28] [main/ERROR]: Error occurred applying transform of coremod META-INF/asm/multipart.js function render java.lang.NullPointerException: null at org.objectweb.asm.tree.InsnList.insert(InsnList.java:343) ~[asm-tree-9.1.jar:9.1] at jdk.nashorn.internal.scripts.Script$Recompilation$204$5956A$\^eval\_.initializeCoreMod$transformer-3(<eval>:135) ~[?:?] at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:638) ~[nashorn.jar:?] at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229) ~[nashorn.jar:?] at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:387) ~[nashorn.jar:?] at jdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:110) ~[nashorn.jar:?] at net.minecraftforge.coremod.NashornFactory.lambda$getFunction$0(NashornFactory.java:18) ~[coremods-4.0.6.jar:4.0.6+14+master.c21a551] at net.minecraftforge.coremod.NashornFactory$$Lambda$425/251155815.apply(Unknown Source) ~[?:?] at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:18) ~[coremods-4.0.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:10) ~[coremods-4.0.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModBaseTransformer.transform(CoreModBaseTransformer.java:38) [coremods-4.0.6.jar:?] at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:179) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:111) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [modlauncher-8.0.9.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51] at net.optifine.reflect.Reflector.<clinit>(Reflector.java:307) [?:?] at net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:101) [?:?] at net.minecraft.crash.CrashReport.<init>(CrashReport.java:54) [?:?] at net.minecraft.crash.CrashReport.func_230188_h_(CrashReport.java:425) [?:?] at net.minecraft.client.main.Main.main(Main.java:122) [?:?] 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.8.jar:36.2] at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$491/417004859.call(Unknown Source) [forge-1.16.5-36.2.8.jar:36.2] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] [16:12:28] [main/WARN]: Static binding violation: PRIVATE @Overwrite method func_228441_a_ in sodium.mixins.json:features.chunk_rendering.MixinWorldRenderer cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded. [16:12:28] [main/WARN]: Static binding violation: PRIVATE @Overwrite method func_215324_a in sodium.mixins.json:features.chunk_rendering.MixinWorldRenderer cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded. [16:12:28] [main/WARN]: Static binding violation: PRIVATE @Overwrite method func_215319_a in sodium.mixins.json:features.chunk_rendering.MixinWorldRenderer cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded. [16:12:28] [main/INFO]: Transform: net/minecraft/client/entity/player/AbstractClientPlayerEntity [16:12:28] [main/WARN]: @ModifyConstant conflict. Skipping assets/botania/botania.mixins.json:MixinWorldRenderer->@ModifyConstant::makeMoonBigger(F)F with priority 1000, already redirected by enhancedcelestials.mixins.json:client.MixinWorldRenderer->@ModifyConstant::getSuperMoonSize(F)F with priority 1000 [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.reflect.InvocationTargetException [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.reflect.Method.invoke(Method.java:497) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$491/417004859.call(Unknown Source) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [16:12:28] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: ... 4 more [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at net.optifine.reflect.Reflector.<clinit>(Reflector.java:307) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:101) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at net.minecraft.crash.CrashReport.<init>(CrashReport.java:54) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at net.minecraft.crash.CrashReport.func_230188_h_(CrashReport.java:425) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: at net.minecraft.client.main.Main.main(Main.java:122) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:643]: ... 11 more [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector redirectGetFancyWeather()Z in sodium.mixins.json:features.options.MixinWorldRenderer failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap sodium.refmap.json [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:468) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1362) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1051) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) [16:12:28] [main/INFO]: [java.lang.Throwable:printStackTrace:667]: ... 26 more  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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