Skip to content

Instantly share code, notes, and snippets.

{
"double/head_left": {
"double/basic_hammer_left": {
"armor_ignorance": 20,
"hit_at_once": 0,
"impact": 4,
"weapon_type": "axe"
},
"double/basic_axe_left": {
"armor_ignorance": 0,
package com.tobywig.electrified.init.custom;
import com.google.common.collect.ImmutableMap;
import com.tobywig.electrified.init.ArmorMaterialsInit;
import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.effect.MobEffects;
import net.minecraft.world.entity.EquipmentSlot;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.ArmorItem;
import net.minecraft.world.item.ArmorMaterial;
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 22年8月3日 下午1:11
Description: Unexpected error
java.lang.Error: Unresolved compilation problem:
Type mismatch: cannot convert from Hand to boolean
at com.kingmine.tutorialmod.common.blocks.GrindBlock.onBlockActivated(GrindBlock.java:31) ~[main/:?] {re:classloading}
---- Minecraft Crash Report ----
// My bad.
Time: 8/2/22, 12:03 AM
Description: Exception in server tick loop
java.lang.OutOfMemoryError: Java heap space
A detailed walkthrough of the error, its code path and all known details is as follows:
[22:36:16] [main/INFO]: ModLauncher running: args [--username, True_Penut, --version, forge-40.1.51, --gameDir, C:\Games\Minecraft\Mods\Instances\_Best Pack Ever, --assetsDir, C:\Games\Minecraft\Mods\Install\assets, --assetIndex, 1.18, --uuid, c084162088e84c6da23ca0a13e7b6825, --accessToken, ????????, --clientId, MGVlNzAyMzQtNzA0Ny00MjQ5LWE5MTAtMmFlNmRmZjkzNmFl, --xuid, 2535453185192605, --userType, msa, --versionType, release, --width, 854, --height, 480, --launchTarget, forgeclient, --fml.forgeVersion, 40.1.51, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[22:36:16] [main/INFO]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft
[22:36:16] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Games/Minecraft/Mods/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT
[22:36:17] [main/INFO]: Found mod file Adorn-3.5.0+1.18.2-forge.jar of type MOD with locato
PK
a��Tdata/PK
A��Tdata/tconstruct/PK
C��Tdata/tconstruct/capabilities/PK
f��T%data/tconstruct/capabilities/weapons/PKJ��T?U�f�3data/tconstruct/capabilities/weapons/broad_axe.json����T*�,HU�RPJ�HU� $��e&����AJ8���ss��`\����������ĒL�����P��H63� 1�(j�g�ѐ�X_ 46l�!H�Hq-PKã�T ��k�1data/tconstruct/capabilities/weapons/cleaver.json5��
@@��)�͵$q�e4شi�fGH��,��S�+K�s���آ���y�(®��uc2����5��[��^^�E�ec��h�A��E�£ :;��M�����PK��T�E�g�0data/tconstruct/capabilities/weapons/dagger.json5�K
�0 D�
ޡd-���2��"iK���w7Q\d o>WU�g�0X�9��V���O;�MM0G��W"�b�u���]۴R6F]O gV���W <�Mf�w�Sx���PKy��T*��i�3data/tconstruct/capabilities/weapons/excavator.json����T*�,HU�RP*��/K�Q��%��e&���e@�8���ss��`\����������ĒL�����P��H63� 1�(j�g�ѐ�X_ 46l�H�Hq-PK+��TG=f�2data/tconstruct/capabilities/weapons/hand_axe.json����T*�,HU�RPJ�HU�
// CustomModel.java
public class CustomModel<T extends Entity> extends EntityModel<T> {
// This layer location should be baked with EntityRendererProvider.Context in the entity renderer and passed into this model's constructor
public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(new ResourceLocation("tnt_moddate", "firecracker"), "main");
private final ModelPart bb_main;
public CustomModel(ModelPart root) {
this.bb_main = root.getChild("bb_main");
}
Exception in thread "main" java.lang.RuntimeException: Failed to parse spec
at MC-BOOTSTRAP/net.minecraftforge.forgespi@4.0.15-4.x/net.minecraftforge.forgespi.language.MavenVersionAdapter.createFromVersionSpec(MavenVersionAdapter.java:36)
at java.base/java.util.Optional.map(Optional.java:260)
at MC-BOOTSTRAP/fmlloader@1.18.2-40.1.68/net.minecraftforge.fml.loading.moddiscovery.ModInfo$ModVersion.<init>(ModInfo.java:178)
at MC-BOOTSTRAP/fmlloader@1.18.2-40.1.68/net.minecraftforge.fml.loading.moddiscovery.ModInfo.lambda$new$6(ModInfo.java:80)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Cuculy
Ex VI
Afseent
Its
Block VI
Wasp IV
Omi IV
Sector-5529B
Aima VII
Nyocals
{
"surface_builder": "minecraft:badlands",
"depth": 0.1,
"scale": 0.2,
"temperature": 2,
"downfall": 0,
"precipitation": "none",
"temperature_modifier": "none",
"category": "none",
"player_spawn_friendly": false,