Jump to content

[1.19.4, SOLVED] Add damage type tag to custom damage source


Recommended Posts

Posted (edited)

I have successfully created a new damage source "bullet". But now I would like to add the damage type tag "is_projectile" to it.

Even though I added the file /resources/data/thingamabobs/tags/damage_type/is_projectile.json with the appropriate JSON content, the game still does not seem to register the damage source as a projectile. So I was wondering if I needed to also register it through a bootstrap method--and call that method using an event handler:

public interface ModDamageTypes {

    ResourceKey<DamageType> BULLET = register("bullet");

    private static ResourceKey<DamageType> register(String name) {
        return ResourceKey.create(Registries.DAMAGE_TYPE, new ResourceLocation(ThingamabobsAndDoohickeys.MODID, name));
    }

    // bootstrap method
    static void bootstrap(BootstapContext<DamageType> bootstapContext) {
        bootstapContext.register(BULLET, new DamageType("bullet", 0.1f));
    }

}

 

@Mod.EventBusSubscriber(modid = ThingamabobsAndDoohickeys.MODID, bus = Mod.EventBusSubscriber.Bus.MOD)
public class ModDataGenerationHandler {

    private static final RegistrySetBuilder BUILDER = new RegistrySetBuilder().add(Registries.DAMAGE_TYPE, ModDamageTypes::bootstrap);

    @SubscribeEvent
    public static void gatherDataEvent(GatherDataEvent event) {
        DataGenerator dataGenerator = event.getGenerator();
        PackOutput packOutput = dataGenerator.getPackOutput();
        dataGenerator.addProvider(event.includeServer(), new DatapackBuiltinEntriesProvider(
                packOutput, event.getLookupProvider(), BUILDER, Set.of(ThingamabobsAndDoohickeys.MODID)));
    }

}

Unfortunately, the GatherDataEvent does not seem to fire. I heard that I had to run "runData", but the process fails, outputting the log below:

Spoiler
[25Nov2023 22:53:20.180] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgedatauserdev, --assetIndex, 3, --assetsDir, /Users/wlee2019/.gradle/caches/forge_gradle/assets, --gameDir, ., --fml.forgeVersion, 45.0.49, --fml.mcVersion, 1.19.4, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230314.122934, --mod, thingamabobs, --all, --output, /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/src/generated/resources, --existing, /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/src/main/resources]
[25Nov2023 22:53:20.187] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.2 by Oracle Corporation; OS Mac OS X arch x86_64 version 13.4.1
[25Nov2023 22:53:20.241] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev]
[25Nov2023 22:53:20.260] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp]
[25Nov2023 22:53:20.279] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner]
[25Nov2023 22:53:20.293] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
[25Nov2023 22:53:20.312] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: 
[25Nov2023 22:53:20.342] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml]
[25Nov2023 22:53:20.342] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading
[25Nov2023 22:53:20.343] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin
[25Nov2023 22:53:20.343] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin
[25Nov2023 22:53:20.344] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml
[25Nov2023 22:53:20.346] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 1.0
[25Nov2023 22:53:20.347] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 1.0 loading
[25Nov2023 22:53:20.347] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 10.0.9+10.0.9+main.dcd20f30
[25Nov2023 22:53:20.347] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7
[25Nov2023 22:53:20.348] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 6.0.3+6.0.3+master.039e4ea9
[25Nov2023 22:53:20.348] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner
[25Nov2023 22:53:20.349] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 5.0.1+15+master.dc5a2922
[25Nov2023 22:53:20.351] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 6.0.0+6.0.0+master.42474703
[25Nov2023 22:53:20.351] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 5
[25Nov2023 22:53:20.355] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml
[25Nov2023 22:53:20.356] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services
[25Nov2023 22:53:20.363] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing
[25Nov2023 22:53:20.363] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin
[25Nov2023 22:53:20.382] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@51931956
[25Nov2023 22:53:20.402] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/Users/wlee2019/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.5/9d1c0c3a304ae6697ecd477218fa61b850bf57fc/mixin-0.8.5.jar%23119!/ Service=ModLauncher Env=CLIENT
[25Nov2023 22:53:20.405] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager
[25Nov2023 22:53:20.406] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2)
[25Nov2023 22:53:20.407] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2)
[25Nov2023 22:53:20.408] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2)
[25Nov2023 22:53:20.409] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2)
[25Nov2023 22:53:20.409] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2)
[25Nov2023 22:53:20.413] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin
[25Nov2023 22:53:20.413] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml
[25Nov2023 22:53:20.414] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories
[25Nov2023 22:53:20.416] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run
[25Nov2023 22:53:20.417] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run
[25Nov2023 22:53:20.418] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run/mods
[25Nov2023 22:53:20.418] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run/mods
[25Nov2023 22:53:20.418] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run/config
[25Nov2023 22:53:20.419] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run/config
[25Nov2023 22:53:20.420] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run/config/fml.toml
[25Nov2023 22:53:20.420] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration
[25Nov2023 22:53:20.467] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing default config directory directory : /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/run/defaultconfigs
[25Nov2023 22:53:20.468] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing ModFile
[25Nov2023 22:53:20.473] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing launch handler
[25Nov2023 22:53:20.474] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Using forgedatauserdev as launch service
[25Nov2023 22:53:20.519] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Received command line version data  : VersionInfo[forgeVersion=45.0.49, mcVersion=1.19.4, mcpVersion=20230314.122934, forgeGroup=net.minecraftforge]
[25Nov2023 22:53:20.526] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml
[25Nov2023 22:53:20.527] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'mcp'
[25Nov2023 22:53:20.529] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {srg=srgtomcp:1234}
[25Nov2023 22:53:20.529] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning
[25Nov2023 22:53:20.530] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin
[25Nov2023 22:53:20.530] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin
[25Nov2023 22:53:20.531] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml
[25Nov2023 22:53:20.531] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan
[25Nov2023 22:53:20.542] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: []
[25Nov2023 22:53:20.544] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null)
[25Nov2023 22:53:20.544] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Dependency Locators : (JarInJar:null)
[25Nov2023 22:53:20.552] [main/DEBUG] [net.minecraftforge.fml.loading.targets.CommonLaunchHandler/CORE]: Got mod coordinates thingamabobs%%/Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/resources/main:thingamabobs%%/Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/classes/java/main from env
[25Nov2023 22:53:20.554] [main/DEBUG] [net.minecraftforge.fml.loading.targets.CommonLaunchHandler/CORE]: Found supplied mod coordinates [{thingamabobs=[/Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/resources/main, /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/classes/java/main]}]
[25Nov2023 22:53:20.800] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar with {minecraft} mods - versions {1.19.4}
[25Nov2023 22:53:20.815] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/javafmllanguage/1.19.4-45.0.49/7b6bc476ce169f5e6eb6ca39ccdd0713c355f0a5/javafmllanguage-1.19.4-45.0.49.jar
[25Nov2023 22:53:20.816] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/javafmllanguage/1.19.4-45.0.49/7b6bc476ce169f5e6eb6ca39ccdd0713c355f0a5/javafmllanguage-1.19.4-45.0.49.jar is missing mods.toml file
[25Nov2023 22:53:20.823] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/lowcodelanguage/1.19.4-45.0.49/72215c8bdeeaca82f6cc18860de40b9d96d474ad/lowcodelanguage-1.19.4-45.0.49.jar
[25Nov2023 22:53:20.823] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/lowcodelanguage/1.19.4-45.0.49/72215c8bdeeaca82f6cc18860de40b9d96d474ad/lowcodelanguage-1.19.4-45.0.49.jar is missing mods.toml file
[25Nov2023 22:53:20.827] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/mclanguage/1.19.4-45.0.49/11187ae7234c3d0a42cd68fa35a3051fd46ad740/mclanguage-1.19.4-45.0.49.jar
[25Nov2023 22:53:20.828] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/mclanguage/1.19.4-45.0.49/11187ae7234c3d0a42cd68fa35a3051fd46ad740/mclanguage-1.19.4-45.0.49.jar is missing mods.toml file
[25Nov2023 22:53:20.830] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/fmlcore/1.19.4-45.0.49/5eca619d130fb4b54067d558ac8cdc1aa23dbd84/fmlcore-1.19.4-45.0.49.jar
[25Nov2023 22:53:20.831] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /Users/wlee2019/.gradle/caches/modules-2/files-2.1/net.minecraftforge/fmlcore/1.19.4-45.0.49/5eca619d130fb4b54067d558ac8cdc1aa23dbd84/fmlcore-1.19.4-45.0.49.jar is missing mods.toml file
[25Nov2023 22:53:20.839] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/resources/main
[25Nov2023 22:53:20.859] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file main with {thingamabobs} mods - versions {0.0NONE}
[25Nov2023 22:53:20.865] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /
[25Nov2023 22:53:20.875] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file  with {forge} mods - versions {45.0.49}
[25Nov2023 22:53:20.897] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/software/bernie/geckolib/geckolib-forge-1.19.4/4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4/geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar
[25Nov2023 22:53:20.902] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with {geckolib} mods - versions {4.1.3}
[25Nov2023 22:53:20.904] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/dev/kosmx/player-anim/player-animation-lib-forge/1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4/player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar
[25Nov2023 22:53:20.911] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with {playeranimator} mods - versions {1.0.2+1.19.4}
[25Nov2023 22:53:20.911] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/software/bernie/geckolib/geckolib-forge-1.19.4/4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4/geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar
[25Nov2023 22:53:20.915] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with {geckolib} mods - versions {4.1.3}
[25Nov2023 22:53:20.916] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/dev/kosmx/player-anim/player-animation-lib-forge/1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4/player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar
[25Nov2023 22:53:20.922] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with {playeranimator} mods - versions {1.0.2+1.19.4}
[25Nov2023 22:53:20.929] [main/DEBUG] [net.minecraftforge.fml.loading.UniqueModListBuilder/]: Found 2 mods for first modid geckolib, selecting most recent based on version data
[25Nov2023 22:53:20.930] [main/DEBUG] [net.minecraftforge.fml.loading.UniqueModListBuilder/]: Selected file geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar for modid geckolib with version 4.1.3
[25Nov2023 22:53:20.930] [main/DEBUG] [net.minecraftforge.fml.loading.UniqueModListBuilder/]: Found 2 mods for first modid playeranimator, selecting most recent based on version data
[25Nov2023 22:53:20.930] [main/DEBUG] [net.minecraftforge.fml.loading.UniqueModListBuilder/]: Selected file player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar for modid playeranimator with version 1.0.2+1.19.4
[25Nov2023 22:53:20.937] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar, it does not contain dependency information.
[25Nov2023 22:53:20.940] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from , it does not contain dependency information.
[25Nov2023 22:53:20.940] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar, it does not contain dependency information.
[25Nov2023 22:53:20.940] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar, it does not contain dependency information.
[25Nov2023 22:53:20.941] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from main, it does not contain dependency information.
[25Nov2023 22:53:20.941] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from mclanguage-1.19.4-45.0.49.jar, it does not contain dependency information.
[25Nov2023 22:53:20.941] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from javafmllanguage-1.19.4-45.0.49.jar, it does not contain dependency information.
[25Nov2023 22:53:20.942] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from fmlcore-1.19.4-45.0.49.jar, it does not contain dependency information.
[25Nov2023 22:53:20.942] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileDependencyLocator/]: Failed to load resource META-INF/jarjar/metadata.json from lowcodelanguage-1.19.4-45.0.49.jar, it does not contain dependency information.
[25Nov2023 22:53:20.957] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[25Nov2023 22:53:20.964] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar with {minecraft} mods - versions {1.19.4}
[25Nov2023 22:53:20.968] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/fg_cache/net/minecraftforge/forge/1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4/forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]]
[25Nov2023 22:53:20.969] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /
[25Nov2023 22:53:20.974] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file  with {forge} mods - versions {45.0.49}
[25Nov2023 22:53:20.974] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file / with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]]
[25Nov2023 22:53:20.992] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod field_to_method with Javascript path coremods/field_to_method.js
[25Nov2023 22:53:20.993] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod field_to_instanceof with Javascript path coremods/field_to_instanceof.js
[25Nov2023 22:53:20.993] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod add_bouncer_method with Javascript path coremods/add_bouncer_method.js
[25Nov2023 22:53:20.993] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod intrinsic_tag_appender_binary_compat with Javascript path coremods/intrinsic_tag_appender_binary_compat.js
[25Nov2023 22:53:20.993] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod method_redirector with Javascript path coremods/method_redirector.js
[25Nov2023 22:53:20.993] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/field_to_method.js
[25Nov2023 22:53:20.993] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/field_to_instanceof.js
[25Nov2023 22:53:20.993] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/add_bouncer_method.js
[25Nov2023 22:53:20.994] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/intrinsic_tag_appender_binary_compat.js
[25Nov2023 22:53:20.994] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/method_redirector.js
[25Nov2023 22:53:20.994] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/software/bernie/geckolib/geckolib-forge-1.19.4/4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4/geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar
[25Nov2023 22:53:20.998] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with {geckolib} mods - versions {4.1.3}
[25Nov2023 22:53:20.999] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/software/bernie/geckolib/geckolib-forge-1.19.4/4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4/geckolib-forge-1.19.4-4.1.3_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[45,)]]
[25Nov2023 22:53:20.999] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/resources/main
[25Nov2023 22:53:21.008] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file main with {thingamabobs} mods - versions {0.0NONE}
[25Nov2023 22:53:21.009] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/build/resources/main with languages [LanguageSpec[languageName=javafml, acceptedVersions=[45,)]]
[25Nov2023 22:53:21.009] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/dev/kosmx/player-anim/player-animation-lib-forge/1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4/player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar
[25Nov2023 22:53:21.015] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with {playeranimator} mods - versions {1.0.2+1.19.4}
[25Nov2023 22:53:21.016] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file /Users/wlee2019/.gradle/caches/forge_gradle/deobf_dependencies/dev/kosmx/player-anim/player-animation-lib-forge/1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4/player-animation-lib-forge-1.0.2+1.19.4_mapped_parchment_1.19.3-2023.03.12-1.19.4.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[44.0.0,)]]
[25Nov2023 22:53:21.018] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml
[25Nov2023 22:53:21.051] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found 3 language providers
[25Nov2023 22:53:21.052] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1.0
[25Nov2023 22:53:21.053] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider lowcodefml, version 45
[25Nov2023 22:53:21.054] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider javafml, version 45
[25Nov2023 22:53:21.057] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/]: Configured system mods: [minecraft, forge]
[25Nov2023 22:53:21.059] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/]: Found system mod: minecraft
[25Nov2023 22:53:21.059] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/]: Found system mod: forge
[25Nov2023 22:53:21.062] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 5 mod requirements (5 mandatory, 0 optional)
[25Nov2023 22:53:21.063] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 0 mod requirements missing (0 mandatory, 0 optional)
[25Nov2023 22:53:21.836] [main/DEBUG] [net.minecraftforge.fml.loading.MCPNamingService/CORE]: Loaded 33725 method mappings from methods.csv
[25Nov2023 22:53:21.885] [main/DEBUG] [net.minecraftforge.fml.loading.MCPNamingService/CORE]: Loaded 30729 field mappings from fields.csv
[25Nov2023 22:53:22.088] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers
[25Nov2023 22:53:22.094] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service mixin
[25Nov2023 22:53:22.098] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service mixin
[25Nov2023 22:53:22.100] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml
[25Nov2023 22:53:22.100] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading coremod transformers
[25Nov2023 22:53:22.103] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_method.js
[25Nov2023 22:53:22.383] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[25Nov2023 22:53:22.386] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_instanceof.js
[25Nov2023 22:53:22.546] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[25Nov2023 22:53:22.546] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/add_bouncer_method.js
[25Nov2023 22:53:22.603] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[25Nov2023 22:53:22.605] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/intrinsic_tag_appender_binary_compat.js
[25Nov2023 22:53:22.662] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[25Nov2023 22:53:22.662] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/method_redirector.js
[25Nov2023 22:53:22.804] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[25Nov2023 22:53:22.823] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@2e5b7fba to Target : CLASS {Lnet/minecraft/world/level/biome/Biome;} {} {V}
[25Nov2023 22:53:22.825] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@2aaf152b to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/Structure;} {} {V}
[25Nov2023 22:53:22.825] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@39bbd9e0 to Target : CLASS {Lnet/minecraft/world/effect/MobEffectInstance;} {} {V}
[25Nov2023 22:53:22.825] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@27fe9713 to Target : CLASS {Lnet/minecraft/world/level/block/LiquidBlock;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@11c3ff67 to Target : CLASS {Lnet/minecraft/world/item/BucketItem;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@4397a639 to Target : CLASS {Lnet/minecraft/world/level/block/StairBlock;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@24841372 to Target : CLASS {Lnet/minecraft/world/level/block/FlowerPotBlock;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@77114efe to Target : CLASS {Lnet/minecraft/world/item/ItemStack;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@79a7bfbc to Target : CLASS {Lnet/minecraft/network/play/client/CClientSettingsPacket;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@77f68df to Target : CLASS {Lnet/minecraftforge/common/extensions/IForgeIntrinsicHolderTagAppender;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/animal/horse/SkeletonTrapGoal;} {} {V}
[25Nov2023 22:53:22.828] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/OceanRuinPieces$OceanRuinPiece;} {} {V}
[25Nov2023 22:53:22.829] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/raid/Raid;} {} {V}
[25Nov2023 22:53:22.829] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/server/commands/SummonCommand;} {} {V}
[25Nov2023 22:53:22.829] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/OceanMonumentPieces$OceanMonumentPiece;} {} {V}
[25Nov2023 22:53:22.829] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/EntityType;} {} {V}
[25Nov2023 22:53:22.829] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/levelgen/PhantomSpawner;} {} {V}
[25Nov2023 22:53:22.829] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/monster/Zombie;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/levelgen/PatrolSpawner;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/npc/CatSpawner;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/animal/frog/Tadpole;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/monster/Spider;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/NaturalSpawner;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/monster/ZombieVillager;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate;} {} {V}
[25Nov2023 22:53:22.830] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/ai/village/VillageSiege;} {} {V}
[25Nov2023 22:53:22.832] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/monster/Evoker$EvokerSummonSpellGoal;} {} {V}
[25Nov2023 22:53:22.832] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/monster/Strider;} {} {V}
[25Nov2023 22:53:22.832] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/server/commands/RaidCommand;} {} {V}
[25Nov2023 22:53:22.832] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/entity/npc/Villager;} {} {V}
[25Nov2023 22:53:22.833] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/SwampHutPiece;} {} {V}
[25Nov2023 22:53:22.833] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3e4e4c1 to Target : CLASS {Lnet/minecraft/world/level/levelgen/structure/structures/WoodlandMansionPieces$WoodlandMansionPiece;} {} {V}
[25Nov2023 22:53:22.833] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml
[25Nov2023 22:53:23.177] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)]
[25Nov2023 22:53:23.178] [main/DEBUG] [mixin/]: Processing launch tasks for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)]
[25Nov2023 22:53:23.178] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(minecraft)
[25Nov2023 22:53:23.178] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(minecraft)
[25Nov2023 22:53:23.179] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(minecraft)
[25Nov2023 22:53:23.179] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(minecraft)
[25Nov2023 22:53:23.179] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(minecraft)
[25Nov2023 22:53:23.179] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)]
[25Nov2023 22:53:23.179] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(forge)
[25Nov2023 22:53:23.180] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(forge)
[25Nov2023 22:53:23.181] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(forge)
[25Nov2023 22:53:23.181] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(forge)
[25Nov2023 22:53:23.181] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(forge)
[25Nov2023 22:53:23.181] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)]
[25Nov2023 22:53:23.181] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(geckolib)
[25Nov2023 22:53:23.181] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(geckolib)
[25Nov2023 22:53:23.183] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(geckolib)
[25Nov2023 22:53:23.183] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(geckolib)
[25Nov2023 22:53:23.184] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(geckolib)
[25Nov2023 22:53:23.184] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(geckolib)]
[25Nov2023 22:53:23.184] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(thingamabobs)
[25Nov2023 22:53:23.184] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(thingamabobs)
[25Nov2023 22:53:23.184] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(thingamabobs)
[25Nov2023 22:53:23.184] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(thingamabobs)
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(thingamabobs)
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(thingamabobs)]
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(playeranimator)
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(playeranimator)
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(playeranimator)
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(playeranimator)
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(playeranimator)
[25Nov2023 22:53:23.185] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(playeranimator)]
[25Nov2023 22:53:23.186] [main/DEBUG] [mixin/]: Registering mixin config: playerAnimator-common.mixins.json
[25Nov2023 22:53:23.224] [main/DEBUG] [mixin/]: inject() running with 6 agents
[25Nov2023 22:53:23.224] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)]
[25Nov2023 22:53:23.224] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)]
[25Nov2023 22:53:23.224] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)]
[25Nov2023 22:53:23.224] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(geckolib)]
[25Nov2023 22:53:23.224] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(thingamabobs)]
[25Nov2023 22:53:23.224] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(playeranimator)]
[25Nov2023 22:53:23.226] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgedatauserdev' with arguments [--gameDir, ., --assetsDir, /Users/wlee2019/.gradle/caches/forge_gradle/assets, --assetIndex, 3, --mod, thingamabobs, --all, --output, /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/src/generated/resources, --existing, /Users/wlee2019/Downloads/mod repos/thingamabobs and doohickeys/src/main/resources]
[25Nov2023 22:53:23.269] [main/DEBUG] [mixin/]: Error cleaning class output directory: .mixin.out
[25Nov2023 22:53:23.270] [main/DEBUG] [mixin/]: Preparing mixins for MixinEnvironment[DEFAULT]
[25Nov2023 22:53:23.270] [main/DEBUG] [mixin/]: Selecting config playerAnimator-common.mixins.json
[25Nov2023 22:53:23.279] [main/DEBUG] [mixin/]: Preparing playerAnimator-common.mixins.json (14)
[25Nov2023 22:53:23.584] [main/DEBUG] [mixin/]: Registering new injector for @Inject with org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo
[25Nov2023 22:53:23.587] [main/DEBUG] [mixin/]: Registering new injector for @ModifyArg with org.spongepowered.asm.mixin.injection.struct.ModifyArgInjectionInfo
[25Nov2023 22:53:23.589] [main/DEBUG] [mixin/]: Registering new injector for @ModifyArgs with org.spongepowered.asm.mixin.injection.struct.ModifyArgsInjectionInfo
[25Nov2023 22:53:23.590] [main/DEBUG] [mixin/]: Registering new injector for @Redirect with org.spongepowered.asm.mixin.injection.struct.RedirectInjectionInfo
[25Nov2023 22:53:23.592] [main/DEBUG] [mixin/]: Registering new injector for @ModifyVariable with org.spongepowered.asm.mixin.injection.struct.ModifyVariableInjectionInfo
[25Nov2023 22:53:23.595] [main/DEBUG] [mixin/]: Registering new injector for @ModifyConstant with org.spongepowered.asm.mixin.injection.struct.ModifyConstantInjectionInfo
[25Nov2023 22:53:23.635] [main/DEBUG] [mixin/]: Prepared 13 mixins in 0.363 sec (27.9ms avg) (0ms load, 0ms transform, 0ms plugin)
[25Nov2023 22:53:23.652] [main/DEBUG] [io.netty.util.internal.logging.InternalLoggerFactory/]: Using SLF4J as the default logging framework
[25Nov2023 22:53:23.655] [main/DEBUG] [io.netty.util.ResourceLeakDetector/]: -Dio.netty.leakDetection.level: simple
[25Nov2023 22:53:23.655] [main/DEBUG] [io.netty.util.ResourceLeakDetector/]: -Dio.netty.leakDetection.targetRecords: 4
[25Nov2023 22:53:23.813] [main/INFO] [net.minecraftforge.data.loading.DatagenModLoader/]: Initializing Data Gatherer for mods [thingamabobs]
[25Nov2023 22:53:23.995] [main/DEBUG] [mixin/]: Mixing PlayerEntityMixin from playerAnimator-common.mixins.json into net.minecraft.world.entity.player.Player
[25Nov2023 22:53:24.028] [main/DEBUG] [mixin/]: playerAnimator-common.mixins.json:PlayerEntityMixin: Class version 61 required is higher than the class version supported by the current version of Mixin (JAVA_16 supports class version 60)
[25Nov2023 22:53:24.089] [main/FATAL] [mixin/]: Mixin apply failed playerAnimator-common.mixins.json:PlayerEntityMixin -> net.minecraft.world.entity.player.Player: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on tick could not find any targets matching 'Lnet/minecraft/world/entity/player/Player;m_8119_()V' in net.minecraft.world.entity.player.Player. Using refmap player-animation-lib-minecraft_common-refmap.json [PREINJECT Applicator Phase -> playerAnimator-common.mixins.json:PlayerEntityMixin -> Prepare Injections ->  -> handler$zzi000$tick(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on tick could not find any targets matching 'Lnet/minecraft/world/entity/player/Player;m_8119_()V' in net.minecraft.world.entity.player.Player. Using refmap player-animation-lib-minecraft_common-refmap.json [PREINJECT Applicator Phase -> playerAnimator-common.mixins.json:PlayerEntityMixin -> Prepare Injections ->  -> handler$zzi000$tick(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:316) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:308) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo.<init>(CallbackInjectionInfo.java:46) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1311) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1042) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-10.0.9.jar:10.0.9+10.0.9+main.dcd20f30]
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.6.jar:?]
	at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.6.jar:?]
	at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.6.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.minecraftforge.registries.GameData.init(GameData.java:141) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at net.minecraftforge.registries.GameData.<clinit>(GameData.java:126) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at net.minecraft.core.registries.BuiltInRegistries.forge(BuiltInRegistries.java:422) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at net.minecraft.core.registries.BuiltInRegistries.forge(BuiltInRegistries.java:402) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at net.minecraft.core.registries.BuiltInRegistries.<clinit>(BuiltInRegistries.java:118) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at net.minecraft.server.Bootstrap.bootStrap(Bootstrap.java:41) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at net.minecraftforge.data.loading.DatagenModLoader.begin(DatagenModLoader.java:42) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at net.minecraft.data.Main.main(Main.java:97) ~[forge-1.19.4-45.0.49_mapped_parchment_1.19.3-2023.03.12-1.19.4-recomp.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.ForgeDataUserdevLaunchHandler.lambda$launchService$0(ForgeDataUserdevLaunchHandler.java:28) ~[fmlloader-1.19.4-45.0.49.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]

 

What could I be missing? BTW, I was using this post for guidance: https://forums.minecraftforge.net/topic/122311-1194-how-to-create-custom-damagesources/

 

 

The rest of my code + JSON files:

Spoiler

 

public class ModDamageSources {

    private final Registry<DamageType> damageTypes;

    public ModDamageSources(RegistryAccess registryAccess) {
        this.damageTypes = registryAccess.registryOrThrow(Registries.DAMAGE_TYPE);
    }

    private DamageSource source(ResourceKey<DamageType> resourceKey) {
        return new DamageSource(this.damageTypes.getHolderOrThrow(resourceKey));
    }

    private DamageSource source(ResourceKey<DamageType> resourceKey, @Nullable Entity entity) {
        return new DamageSource(this.damageTypes.getHolderOrThrow(resourceKey), entity);
    }

    private DamageSource source(ResourceKey<DamageType> resourceKey, @Nullable Entity directEntity, @Nullable Entity causingEntity) {
        return new DamageSource(this.damageTypes.getHolderOrThrow(resourceKey), directEntity, causingEntity);
    }

    public DamageSource bullet(Entity entity, @Nullable LivingEntity livingEntity) {
        return this.source(ModDamageTypes.BULLET, entity, livingEntity);
    }

}

 

/resources/data/thingamabobs/damage_type/bullet.json

{
  "exhaustion": 0.1,
  "message_id": "bullet",
  "scaling": "when_caused_by_living_non_player"
}

 

/resources/data/thingamabobs/tags/damage_type/is_projectile.json

{
  "replace": false,
  "values": [
    "thingamabobs:bullet"
  ]
}

 

 

Edited by LeeCrafts
  • LeeCrafts changed the title to [1.19.4, SOLVED] Add damage type tag to custom damage source
Posted (edited)

Good golly gee I'm dense. I put the is_projectile.json file in the wrong path. It was supposed to be /resources/data/minecraft/tags/damage_type/is_projectile.json, not /resources/data/thingamabobs/tags/damage_type/is_projectile.json! That being said, I do NOT need the bootstrap method in ModDamageTypes.java, and ModDataGenerationHandler.java at all; "runData" does not need to be run either. I had already done the datagen manually.

Edited by LeeCrafts
  • 8 months later...
Posted

Hey! I know it has been almost a year but I have a question about this, maybe you can give me a hint...

I also added a DamageType almost exactly like you did and also added the .json file in the data folder for my mod.
However, I find no way to interface with/use my added DamageType whatsoever...

 

From what I understand, 

private static ResourceKey<DamageType> register(String name) {
        return ResourceKey.create(Registries.DAMAGE_TYPE, new ResourceLocation(Mod.MODID, name));
    }

adds the desired DamageType to the DAMAGE_TYPE registry. 

 

Any class that uses RegistryObjects of this registry should now also "see" the new custom DamageType.

 

In my case, that would be the LivingEntity class. It references the Entity and finally the Level class, which uses the registry via:

this.registryAccess = pRegistryAccess;
        this.damageSources = new DamageSources(pRegistryAccess);

But sadly, my custom damage type is nowhere to be found if I try to use it as a damageSource().custom_damagetype().

 

Again, sorry to bother but I don't see how to use my added DamageType in the mod.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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