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

1.12.2 modding assistance


set9753
 Share

Recommended Posts

10 hours ago, poopoodice said:

You can add on-hit effect here

image.png

Where does this code go? In the main file for the mod items? Or in some kind of new class for the modded item's effects? I should note, I've only recently started modding. I've only managed to spaghetti code the item into the game as is. (I used TechnoVision's youtube series to get started.) If it helps, I could share the source file? It's not like I'm worried about the idea being stolen

Link to comment
Share on other sites

13 hours ago, poopoodice said:

Vanilla ItemSword

Dont post source code that doesnt belong to you. Yes even the vanilla code.

 

2 hours ago, set9753 said:

Where does this code go?

The Items class file.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

17 minutes ago, set9753 said:

What code do I use, specifically, to add the effect to the attack?

Depends on the effect I guess.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

3 minutes ago, set9753 said:

Three, to be specific. Speed 1, Strength 1, and Fire Resistance 1. For 8 seconds.

So potion effects?
LivingEntityBase#addPotionEffect

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

When I try to use that, I get an error reading "Syntax error on token "Invalid Character", delete this token.

The code looks like this, I know it's wrong, but I'm really stuck here.

 

 

public class ItemSword {
    
    PotionEffect effect;
    
    public boolean hitEntity(ItemStack stack, EntityLivingBase target, EntityLivingBase attacker, EntityLivingBase#addPotionEffect)
    {
        stack.damageItem(0, attacker);
        return true;
    }

}

Link to comment
Share on other sites

30 minutes ago, set9753 said:

I know it's wrong, but I'm really stuck here.

You need to learn Java. What you have there isnt a Forge error. You'd be able to fix it if you knew Java.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

You'll want to override hitEntity inside your sword class, and apply the potion effect inside the overridden method.

At the "target.addPotionEffect", you may want to give the effect to the attacker, rather than the target, I'm not sure.

 

	@Override
	public boolean hitEntity(ItemStack stack, EntityLivingBase target, EntityLivingBase attacker)
	{
		target.addPotionEffect(new PotionEffect(MobEffects.STRENGTH, 8 * 20, 0));
		stack.damageItem(1, attacker);
		return true;
	}

 

As for the illegal character...

Quote

public boolean hitEntity(ItemStack stack, EntityLivingBase target, EntityLivingBase attacker, EntityLivingBase#addPotionEffect)

What you were trying to do there was call a method inside the parameters taken in by hitEntity. The parameters are variables fed into hitEntity for it to do things with. When it's called, the stuff int the {} happens. When you hit an entity with your sword, hitEntity is called. The parameters are fed into the method, and the {} happens.

 

Also, EntityLivingBase#addPotionEffect means "the addPotionEffect within instances of EntityLivingBase", rather than

being an actual line of executable code. That's why I call it here on the target object, since target is an instance of EntityLivingBase.

Fancy 3D Graphing Calculator mod, with many different coordinate systems.

Lightweight 3D/2D position/vector transformations library, also with support for different coordinate systems.

Link to comment
Share on other sites

Thank you, so much for the explanations! I just have a few more questions to tie this together, if you don't mind...

 

I have the class ItemSword extending Item, and the item I want to use to boost on hit is made as an Item... Does the extension mean this will work?

If I wanted to add more than one potion effect, how would I go about that?

Link to comment
Share on other sites

Quote

I have the class ItemSword extending Item, and the item I want to use to boost on hit is made as an Item

So you have two items here, one is a miscellaneous sword, and the other is a sword/other with a hit effect?

You can get some extra sword-related methods and functionality by extending ItemSword (which in turn extends Item) instead of simply Item, but you can easily make the basic functionalities you're asking about in either, as hitEntity is a method for Items, not specifically ItemSwords. If you want some, but not all of the ItemSword features, you could just re-write some of it in your class.

In other words, the extensions are fine, but you may want more functionalities, which could be gotten from the ItemSword class. I'd suggest you take a look at its methods to get a better idea of what it can do.

 

Quote

If I wanted to add more than one potion effect, how would I go about that?

Quote

target.addPotionEffect(new PotionEffect(MobEffects.STRENGTH, 8 * 20, 0));

You can just add another of these. E.G: this inside the hitEntity method.

target.addPotionEffect(new PotionEffect(MobEffects.STRENGTH, 8 * 20, 0));
target.addPotionEffect(new PotionEffect(MobEffects.SPEED, 8 * 20, 0));

 

If you wanted a flexible, easily expandable set of potion effects, you could also do something like this.

Potion[] effectList = new Potion[]
{
		MobEffects.STRENGTH,
		MobEffects.SPEED
};

Iterating through the list in hitEntity.

	@Override
	public boolean hitEntity(ItemStack stack, EntityLivingBase target, EntityLivingBase attacker)
	{
		for (Potion current : effectList) { target.addPotionEffect(new PotionEffect(current, 8 * 20, 0)); }
		stack.damageItem(1, attacker);
		return true;
	}

Fancy 3D Graphing Calculator mod, with many different coordinate systems.

Lightweight 3D/2D position/vector transformations library, also with support for different coordinate systems.

Link to comment
Share on other sites

I should clarify, I've been spaghetti coding my way through this mod. And at one point thought I had to make a SwordItem to make the on hit effect work. I've since deleted the sword item, but kept the class and all. So I just made the SwordItem class extend the Item class. I only have the item, and assumed by extending Item via SwordItem's class I could achieve the effect I wanted (an item that could boost others by whacking them with it)

 

Would it be worth my time to just rewrite all the code into the Item class, and remove the Sworditem class? Or would it work the way I have it now? Everything seems to be turning out, I pretty much just want to know if the hitEntity effect will work out. (Once I finish this, the mod is done. I wont be adding onto it, so don't worry about my odd coding being a bother for later additions)

Link to comment
Share on other sites

If your class extends Item, and you override hitEntity and add the potion effect methods, then the potion effect methods should run when an entity is hit with the item.

 

If you want the extra sword functionalities that the base Item class doesn't have, you should extend ItemSword and do nothing different with hitEntity. If not, you can just keep it as a simple extension of Item.

Fancy 3D Graphing Calculator mod, with many different coordinate systems.

Lightweight 3D/2D position/vector transformations library, also with support for different coordinate systems.

Link to comment
Share on other sites

10 hours ago, set9753 said:

Where does this code go? In the main file for the mod items? Or in some kind of new class for the modded item's effects? I should note, I've only recently started modding. I've only managed to spaghetti code the item into the game as is. (I used TechnoVision's youtube series to get started.) If it helps, I could share the source file? It's not like I'm worried about the idea being stolen

you can override them once your iteminit extends ItemSword

Link to comment
Share on other sites

2 minutes ago, poopoodice said:

you can override them once your iteminit extends ItemSword

It doesn't have to extend ItemSword specifically, just Item.

Fancy 3D Graphing Calculator mod, with many different coordinate systems.

Lightweight 3D/2D position/vector transformations library, also with support for different coordinate systems.

Link to comment
Share on other sites

8 minutes ago, poopoodice said:

 without attack damage

True, though an even easier way of getting rid of attack damage would be to override onLeftClickEntity and return true after the potion effect methods.

	@Override
	public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity)
	{
		if (entity instanceof EntityLivingBase) ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(MobEffects.STRENGTH, 8 * 20, 0));
		return true;
	}

That doesn't deal any damage at all, not even fist damage. It doesn't apply knockback, though, so extending ItemSword would still be the way to go if they wanted that.

Come to think of it, would the attackDamage correspond to total damage dealt, or additional damage dealt? Meaning, would giving it a value of 0 result in 0 damage + fist damage, or 0 overall, negating the fist damage?

Fancy 3D Graphing Calculator mod, with many different coordinate systems.

Lightweight 3D/2D position/vector transformations library, also with support for different coordinate systems.

Link to comment
Share on other sites

21 minutes ago, SerpentDagger said:

True, though an even easier way of getting rid of attack damage would be to override onLeftClickEntity and return true after the potion effect methods.


	@Override
	public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity)
	{
		if (entity instanceof EntityLivingBase) ((EntityLivingBase) entity).addPotionEffect(new PotionEffect(MobEffects.STRENGTH, 8 * 20, 0));
		return true;
	}

That doesn't deal any damage at all, not even fist damage. It doesn't apply knockback, though, so extending ItemSword would still be the way to go if they wanted that.

Come to think of it, would the attackDamage correspond to total damage dealt, or additional damage dealt? Meaning, would giving it a value of 0 result in 0 damage + fist damage, or 0 overall, negating the fist damage?

Good point. Now he/she can make a item that without everything but the attributes he wants such as potion effect while leftclick on an entity. Nice.

Link to comment
Share on other sites

3 hours ago, set9753 said:

I should clarify, I've been spaghetti coding my way through this mod. And at one point thought I had to make a SwordItem to make the on hit effect work. I've since deleted the sword item, but kept the class and all. So I just made the SwordItem class extend the Item class. I only have the item, and assumed by extending Item via SwordItem's class I could achieve the effect I wanted (an item that could boost others by whacking them with it)

 

Would it be worth my time to just rewrite all the code into the Item class, and remove the Sworditem class? Or would it work the way I have it now? Everything seems to be turning out, I pretty much just want to know if the hitEntity effect will work out. (Once I finish this, the mod is done. I wont be adding onto it, so don't worry about my odd coding being a bother for later additions)

SwordItem has a lot more sword-specific functions than an Item. Only extends sword when you need to actually use it to attack another entity like a vanilla sword. In your case extending Item should be sufficient.

 

@SerpentDagger Please note that posting copy-pastable code for others is discouraged, as others will not learn and might blindly copy the code.

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • is there a way to find out which one is broken?
    • [14:10:39] [main/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 39.0.75, --fml.mcVersion, 1.18.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20211210.034407] [14:10:39] [main/INFO]: ModLauncher 9.1.0+9.1.0+main.6690ee51 starting: java version 17.0.1 by Eclipse Adoptium [14:10:39] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2319!/ Service=ModLauncher Env=SERVER [14:10:40] [main/INFO]: Found mod file AI-Improvements-1.18-0.4.0.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file BetterDungeons-Forge-1.18.1-1.0.1.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file BetterMineshafts-Forge-1.18.1-1.0.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file DungeonsArise-1.18.1-2.1.49d-beta.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file FastFurnace-1.18.1-6.0.2.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file FastWorkbench-1.18.1-6.0.1.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file ferritecore-4.1.2-forge.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file jmt_mcmt-1.18.1-0.24.2-118-modcore.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file Placebo-1.18.1-6.1.1.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file TerraForged-1_18_1.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file Terralith_v2.0.12_Fabric+Forge.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file YungsApi-1.18.1-Forge-26.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:40] [main/INFO]: Found mod file YungsBridges-Forge-1.18.1-1.0.jar of type MOD with locator {mods folder locator at /home/container/mods} [14:10:41] [main/INFO]: Found mod file fmlcore-1.18.1-39.0.75.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7a8fa663 [14:10:41] [main/INFO]: Found mod file javafmllanguage-1.18.1-39.0.75.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7a8fa663 [14:10:41] [main/INFO]: Found mod file mclanguage-1.18.1-39.0.75.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7a8fa663 [14:10:41] [main/INFO]: Found mod file server-1.18.1-20211210.034407-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7a8fa663 [14:10:41] [main/INFO]: Found mod file forge-1.18.1-39.0.75-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@7a8fa663 [14:10:48] [main/INFO]: Compatibility level set to JAVA_17 [14:10:48] [main/INFO]: Launching target 'forgeserver' with arguments [] [14:10:49] [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 [14:10:50] [main/INFO]: [JMTSUPERTRANS] PalettedContainerReLock Transformer Called [14:10:50] [main/INFO]: [JMTSUPERTRANS] PalettedContainerReLock Transformer Complete [14:10:51] [main/INFO]: [JMTSUPERTRANS] UtilExecutorListingHack Transformer Called [14:10:51] [main/INFO]: [JMTSUPERTRANS] UtilExecutorListingHack Transformer Complete [14:10:55] [main/INFO]: [JMTSUPERTRANS] WorldGetTE Transformer Called [14:10:55] [main/INFO]: [JMTSUPERTRANS] WorldGetTE Transformer Complete [14:10:55] [main/INFO]: [JMTSUPERTRANS] TE Transformer Called [14:10:55] [main/INFO]: [JMTSUPERTRANS] TE Transformer Complete [14:10:55] [main/INFO]: [JMTSUPERTRANS] Entity Transformer Called [14:10:55] [main/INFO]: [JMTSUPERTRANS] Entity Transformer Complete [14:10:55] [main/INFO]: [JMTSUPERTRANS] ServerWorldCollections Transformer Called [14:10:55] [main/INFO]: [JMTSUPERTRANS] ServerWorldCollections Transformer Ran [14:10:55] [main/INFO]: [JMTSUPERTRANS] ServerWorldCollections Transformer Complete [14:10:55] [main/INFO]: [JMTSUPERTRANS] ServerWorldParaProvider Transformer Called [14:10:55] [main/INFO]: [JMTSUPERTRANS] Matched method <init> (Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;Lnet/minecraft/world/level/storage/ServerLevelData;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/level/dimension/DimensionType;Lnet/minecraft/server/level/progress/ChunkProgressListener;Lnet/minecraft/world/level/chunk/ChunkGenerator;ZJLjava/util/List;Z)V [14:10:56] [main/INFO]: [JMTSUPERTRANS] ServerWorldParaProvider Transformer Complete [14:10:57] [main/INFO]: [JMTSUPERTRANS] WorldGetTE Transformer Called [14:10:57] [main/INFO]: [JMTSUPERTRANS] WorldGetTE Transformer Complete [14:10:57] [main/INFO]: [JMTSUPERTRANS] TE Transformer Called [14:10:57] [main/INFO]: [JMTSUPERTRANS] TE Transformer Complete [14:11:03] [main/INFO]: [JMTSUPERTRANS] SCPGetChunkPatch Transformer Called [14:11:03] [main/INFO]: [JMTSUPERTRANS] SCPGetChunkPatch Transformer Complete [14:11:03] [main/INFO]: [JMTSUPERTRANS] SCPGetChunkNowPatch Transformer Called [14:11:03] [main/INFO]: [JMTSUPERTRANS] SCPGetChunkNowPatch Transformer Complete [14:11:03] [main/INFO]: [JMTSUPERTRANS] SCPTick Transformer Called [14:11:03] [main/INFO]: [JMTSUPERTRANS] SCPTick Transformer Complete [14:11:03] [main/INFO]: [JMTSUPERTRANS] ServerWorldTickChunk Transformer Called [14:11:03] [main/INFO]: [JMTSUPERTRANS] ServerWorldTickChunk Transformer Complete [14:11:04] [main/INFO]: [JMTSUPERTRANS] ChunkLoadCache Transformer Called [14:11:06] [main/INFO]: [JMTSUPERTRANS] TemplateManagerHashMap Transformer Called [14:11:06] [main/INFO]: [JMTSUPERTRANS] TemplateManagerHashMap Transformer Ran [14:11:06] [main/INFO]: [JMTSUPERTRANS] TemplateManagerHashMap Transformer Complete [14:11:08] [main/INFO]: [JMTSUPERTRANS] World Transformer Called [14:11:08] [main/INFO]: YOU ARE USING 1.16 - Says coremods (if this is wrong something borked) [14:11:08] [main/INFO]: [JMTSUPERTRANS] FOUND TARGET INSNS [14:11:08] [main/INFO]: [JMTSUPERTRANS] World Transformer Complete [14:11:08] [main/INFO]: [JMTSUPERTRANS] ServerExecutionThread Transformer Called [14:11:08] [main/INFO]: [JMTSUPERTRANS] Not seen adding method [14:11:08] [main/INFO]: [JMTSUPERTRANS] ServerExecutionThread Transformer Complete [14:11:09] [modloading-worker-0/INFO]: Forge mod loading, version 39.0.75, for MC 1.18.1 with MCP 20211210.034407 [14:11:09] [modloading-worker-0/INFO]: MinecraftForge v39.0.75 Initialized [14:11:11] [modloading-worker-0/INFO]: Patching ServerResources#<init> [14:11:11] [modloading-worker-0/INFO]: Loaded seedfix v1.0 by Justsnoopy30! [14:11:12] [modloading-worker-0/INFO]: Environment: [14:11:12] [modloading-worker-0/INFO]: - Dev:       false [14:11:12] [modloading-worker-0/INFO]: - Profiling: false [14:11:12] [modloading-worker-0/INFO]: - Unlimited: false [14:11:12] [modloading-worker-0/INFO]: - Debugging: false [14:11:12] [modloading-worker-0/INFO]: - Data Gen:  false [14:11:12] [modloading-worker-0/INFO]: - Cores:     1 [14:11:12] [modloading-worker-0/INFO]: Set TerraForged API: ForgeCommonAPI [14:11:13] [main/INFO]: Registering world-gen core codecs [14:11:13] [main/INFO]: Registering world-gen component codecs [14:11:13] [main/INFO]: Locking mod world-gen registries [14:11:13] [main/INFO]: Registering world-gen content [14:11:14] [Forge Version Check/INFO]: [jmt_mcmt] Starting version check at https://gitcdn.link/repo/jediminer543/JMT-MCMT/master/etc/update.json [14:11:15] [Forge Version Check/INFO]: [jmt_mcmt] Found status: BETA Current: 0.24.2-118 Target: null [14:11:15] [Forge Version Check/INFO]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [14:11:15] [main/INFO]: Extracting default datapack to /home/container/config/terraforged/pack-v0 [14:11:15] [main/WARN]: Mod 'terraforged' took 2.934 s to run a deferred task. [14:11:16] [modloading-worker-0/INFO]: Got IMC [] [14:11:16] [Forge Version Check/INFO]: [forge] Found status: OUTDATED Current: 39.0.75 Target: 39.1.0 [14:11:21] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [14:11:21] [main/INFO]: Injecting safe world-gen network codec [14:11:22] [main/INFO]: Injecting world-gen registry defaults [14:11:23] [main/INFO]: Loading world-gen registry content from data [14:11:24] [main/WARN]: Assets URL 'union:/home/container/libraries/net/minecraft/server/1.18.1-20211210.034407/server-1.18.1-20211210.034407-srg.jar%2351!/assets/.mcassetsroot' uses unexpected schema [14:11:24] [main/WARN]: Assets URL 'union:/home/container/libraries/net/minecraft/server/1.18.1-20211210.034407/server-1.18.1-20211210.034407-srg.jar%2351!/data/.mcassetsroot' uses unexpected schema [14:11:24] [main/WARN]: Couldn't get pack info for: net.minecraft.server.packs.ResourcePackFileNotFoundException: 'pack.mcmeta' in ResourcePack './world/datapacks/RPG Mng.zip' [14:11:24] [main/INFO]: Found new data pack file/ExplosionRebuilderDatapack.v2.0.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/ThirtyFangs Kingdom.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/Venturecraft Beta 0.4.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/choicetheorem-overhaul-village-1-18-2-2-8.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/daily-quests-e1041.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/fokastudio-s-ender-expansion-v1-4a-e840.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/incendium-v5-0-3.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/special-mobs-v6-6-spmdpi-3-0.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/splatus-mountain-villages-v1.zip, loading it automatically [14:11:24] [main/INFO]: Found new data pack file/towns-and-towers-structure-overhaul-terralith-1-6.zip, loading it automatically [14:11:25] [main/INFO]: MCMT Registering Commands [14:11:26] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [14:11:26] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [14:11:26] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [14:11:26] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [14:11:26] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [14:11:26] [main/INFO]: Reloading ResourceManager: Default, YungsApi-1.18.1-Forge-26.jar, BetterDungeons-Forge-1.18.1-1.0.1.jar, jmt_mcmt-1.18.1-0.24.2-118-modcore.jar, FastFurnace-1.18.1-6.0.2.jar, ferritecore-4.1.2-forge.jar, AI-Improvements-1.18-0.4.0.jar, YungsBridges-Forge-1.18.1-1.0.jar, forge-1.18.1-39.0.75-universal.jar, BetterMineshafts-Forge-1.18.1-1.0.jar, Terralith_v2.0.12_Fabric+Forge.jar, TerraForged-1_18_1.jar, FastWorkbench-1.18.1-6.0.1.jar, Placebo-1.18.1-6.1.1.jar, DungeonsArise-1.18.1-2.1.49d-beta.jar, ExplosionRebuilderDatapack.v2.0.zip, ThirtyFangs Kingdom.zip, Venturecraft Beta 0.4.zip, choicetheorem-overhaul-village-1-18-2-2-8.zip, daily-quests-e1041.zip, fokastudio-s-ender-expansion-v1-4a-e840.zip, incendium-v5-0-3.zip, special-mobs-v6-6-spmdpi-3-0.zip, splatus-mountain-villages-v1.zip, towns-and-towers-structure-overhaul-terralith-1-6.zip [14:11:26] [main/WARN]: ResourcePack: ignored non-lowercase namespace: .DS_Store in ./world/datapacks/Venturecraft Beta 0.4.zip [14:11:53] [Worker-Main-2/INFO]: Loaded 7 recipes [14:11:55] [Worker-Main-2/INFO]: Registered 0 additional loot tables. [14:11:56] [Worker-Main-2/INFO]: Loaded 1276 advancements [14:11:56] [Worker-Main-2/INFO]: Registered 0 additional recipes. [14:11:58] [main/FATAL]: Failed to start the minecraft server com.google.gson.JsonParseException: Error loading registry data: Not a valid resource location: #minecraft:infiniburn_end Non [a-z0-9_.-] character in namespace of location: #minecraft:infiniburn_end     at net.minecraft.core.RegistryAccess.m_175498_(RegistryAccess.java:156) ~[server-1.18.1-20211210.034407-srg.jar%2351!/:?]     at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]     at net.minecraft.core.RegistryAccess.m_175503_(RegistryAccess.java:155) ~[server-1.18.1-20211210.034407-srg.jar%2351!/:?]     at net.minecraft.core.RegistryAccess.m_175500_(RegistryAccess.java:146) ~[server-1.18.1-20211210.034407-srg.jar%2351!/:?]     at net.minecraft.resources.RegistryReadOps.m_195841_(RegistryReadOps.java:37) ~[server-1.18.1-20211210.034407-srg.jar%2351!/:?]     at net.minecraft.resources.RegistryReadOps.m_179866_(RegistryReadOps.java:31) ~[server-1.18.1-20211210.034407-srg.jar%2351!/:?]     at net.minecraft.server.Main.main(Main.java:161) ~[server-1.18.1-20211210.034407-srg.jar%2351!/:?]     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.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:46) ~[fmlloader-1.18.1-39.0.75.jar%2323!/:?]     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?]     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?]     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?]     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?]   I dont know if this is what you wanted but its the only I could find
    • Mr. diesieben07 und Mr. Luis_ST. Ich danke Ihnen für Ihre Geduld. Erst jetzt habe ich gelernt, dass "Listen Events" als Parameter zurückgegeben werden, also habe ich auch gelernt, dass man Methoden direkt mit Parametern aufrufen kann. Ich stelle den Ereigniscode zur Verfügung, weil es sich um ein geringfügiges Problem handelt und ich ein sehr schlechter Fragesteller wäre, wenn Sie auch für dieses Problem den Ereigniscode selbst durchgehen müssten. Ich verwende derzeit ein Übersetzungsgerät, um mit Ihnen zu kommunizieren, daher werden viele Wörter nicht klar und deutlich zu verstehen sein, und ich entschuldige mich für etwaige Missverständnisse. Ich bin Ihnen beiden dankbar, dass Sie sich trotz Ihres vollen Terminkalenders die Zeit genommen haben, um meine Fragen zu beantworten. Ich gebe Ihnen beiden ein Dankeschön, um meine Dankbarkeit auszudrücken. Ich danke Ihnen nochmals. :):)
  • Topics

×
×
  • Create New...

Important Information

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