Jump to content

[1.10.2] Armor Model Changing on Keybind


EscapeMC

Recommended Posts

Hello! First off, if you refuse to help me due to this request being in 1.10.2, I understand. I really shouldn't be asking about this version but I like this version and do not wish to move up as packs I am making are in this version.

 

Now, if you're still around, thank you!

 

What I am trying to do is make a set of armor that has a texture, but then on a key-bind give you a potion effect and also change the armor texture.

 

So, my question is:

 

How would I make a set of armor and an item, that upon wearing the full set, holding an item, and right-clicking the item, would change the armor model and give the potion effect, until the item is right-clicked again, in which it would turn off the potion effect and revert the armor model back to its original?

 

If you need any clarification as of what I mean, please ask as that may be a bit confusing.

Lastly, two things. One, no I am not asking you to spoon-feed me this information. Maybe a reference to keybindings and testing for all armor on an item would be great, or maybe instructions on how to do this specific task.

 

Two, thanks to all who read this far and are willing to help me!

I Love To Help People. Unless They Are The Kind Of People Who Just Doesn't Know Anything. Those People Need Some Serious Help. This Could Help But......

https://www.youtube.com/watch?v=6t0GlXWx_PY

 

ThingsMod Git: https://github.com/EscapeMC/Things-Mod-1.10.2

 

TeamMadness Mod Git: https://github.com/EscapeMC/TeamMadness-Mod-1.10.2

 

If I somehow help you, please click the "Thank You" button. If I am a total waste of time, please click the "Applaud" button.

Link to comment
Share on other sites

Anyone Please?

 

I really want to get this.

I Love To Help People. Unless They Are The Kind Of People Who Just Doesn't Know Anything. Those People Need Some Serious Help. This Could Help But......

https://www.youtube.com/watch?v=6t0GlXWx_PY

 

ThingsMod Git: https://github.com/EscapeMC/Things-Mod-1.10.2

 

TeamMadness Mod Git: https://github.com/EscapeMC/TeamMadness-Mod-1.10.2

 

If I somehow help you, please click the "Thank You" button. If I am a total waste of time, please click the "Applaud" button.

Link to comment
Share on other sites

Do you want to completely change the texture - or just the color? Just changing the color (like Leather Armor) is extremely easy (look at how `ItemArmor` does it). If you actually want to change the model/texture... I have no idea how to do that.

Developer of Randores (adds 256^3 ores to the game) and Arcane Bags (adds ridiculous storage with ridiculous crafting recipes).

I know Java pretty well... So yeah...

Quote

This is where I'd put an inspirational and/or clever quote, but I can't think of one right now...

This is the output of the totally, 100% working compiler for my programming language, Planet9:

Beginning Compilation...
Failed compilation!
planet9.compiler.error.CompilationException: Compiler not yet implemented
	at planet9.compiler.Compiler.compile(Compiler.java:39)
	at planet9.compiler.app.CompilerApp.main(CompilerApp.java:147)

 

Link to comment
Share on other sites

No, I wish to change the model of the armor while the player is wearing it. So, maybe from all black to all white.

No crafting changes, just changing the model.

 

 

Also one more question, I am trying to use the variable Minecraft in a method, and whenever I put it inside of my method (onItemRightClick), it gives me the error of "The method onItemRightClick(ItemStack, World, EntityPlayer, EnumHand, Minecraft) of type Bell must override or implement a supertype method"

 

How would I solve this, without removing the @Override annotation?

 

Or would I just not be able to do that, as i am not making a custom method?

EDIT:

 

Fixed that part. Never mind it.

 

I have this

 

	@Override
	public ActionResult<ItemStack> onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn, EnumHand hand) {
		
		if(playerIn.inventory.armorItemInSlot(3) != null && playerIn.inventory.armorItemInSlot(3).getItem() == ModItems.wraithHelmet &&
			playerIn.inventory.armorItemInSlot(2) != null && playerIn.inventory.armorItemInSlot(2).getItem() == ModItems.wraithChestplate &&
			playerIn.inventory.armorItemInSlot(1) != null && playerIn.inventory.armorItemInSlot(1).getItem() == ModItems.wraithLeggings &&
			playerIn.inventory.armorItemInSlot(0) != null && playerIn.inventory.armorItemInSlot(0).getItem() == ModItems.wraithBoots) {
	
//				playerIn.addPotionEffect(new PotionEffect(Potion.getPotionFromResourceLocation("invisibility"), 1000, 1));
				
				if(isVis = false) {
					isVis = true;
				}else if(isVis = true) {
					isVis = false;
				}else{
					System.out.println("Failed to Vis");
				}
			
				itemStackIn.damageItem(1, playerIn);
		
		}
				
				changeVis(mc);
				return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, itemStackIn);
					
	}
	
	public void changeVis(Minecraft mc) {
		
		if(isVis = true) { 
			mc.thePlayer.setInvisible(false);
			System.out.println(isVis);
			System.out.println("Should be False");
		}else if(isVis = false){
			mc.thePlayer.setInvisible(true);
			System.out.println(isVis);
			System.out.println("Should be True");
		}
		
		if(mc.thePlayer.capabilities.disableDamage = false) {
			mc.thePlayer.capabilities.disableDamage = true;
		}else if(mc.thePlayer.capabilities.disableDamage = true) {
			mc.thePlayer.capabilities.disableDamage = false;
		}

 

and when I right click this item I get the crash of

 

Spoiler

[13:14:45] [Client thread/FATAL]: Unreported exception thrown!
java.lang.NullPointerException
	at com.github.escapemc.deadbydaylightmod.items.wraithBell.changeVis(wraithBell.java:61) ~[wraithBell.class:?]
	at com.github.escapemc.deadbydaylightmod.items.wraithBell.onItemRightClick(wraithBell.java:53) ~[wraithBell.class:?]
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:162) ~[ItemStack.class:?]
	at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClick(PlayerControllerMP.java:495) ~[PlayerControllerMP.class:?]
	at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1544) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2184) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:1961) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1749) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1055) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:371) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(SourceFile:124) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
[13:14:45] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:560]: ---- Minecraft Crash Report ----
// I just don't know what went wrong :(

Time: 7/31/17 1:14 PM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at com.github.escapemc.deadbydaylightmod.items.wraithBell.changeVis(wraithBell.java:61)
	at com.github.escapemc.deadbydaylightmod.items.wraithBell.onItemRightClick(wraithBell.java:53)
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:162)
	at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClick(PlayerControllerMP.java:495)
	at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1544)
	at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2184)
	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:1961)
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1749)
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1055)
	at net.minecraft.client.Minecraft.run(Minecraft.java:371)
	at net.minecraft.client.main.Main.main(SourceFile:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at com.github.escapemc.deadbydaylightmod.items.wraithBell.changeVis(wraithBell.java:61)
	at com.github.escapemc.deadbydaylightmod.items.wraithBell.onItemRightClick(wraithBell.java:53)
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:162)
	at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClick(PlayerControllerMP.java:495)
	at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1544)
	at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2184)
	at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:1961)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [EntityPlayerSP['Player147'/324, l='MpServer', x=-303.07, y=70.00, z=217.67]]
	Chunk stats: MultiplayerChunkCache: 591, 591
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (-256,64,244), Chunk: (at 0,4,4 in -16,15; contains blocks -256,0,240 to -241,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 13094 game time, 13094 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 104 total; [EntityBat['Bat'/64, l='MpServer', x=-375.08, y=19.40, z=166.48], EntityPig['Pig'/66, l='MpServer', x=-373.28, y=65.00, z=170.49], EntityZombie['Zombie'/67, l='MpServer', x=-378.50, y=40.00, z=190.50], EntityZombie['Zombie'/68, l='MpServer', x=-378.53, y=39.00, z=187.91], EntitySkeleton['Skeleton'/69, l='MpServer', x=-382.50, y=35.00, z=201.50], EntityPig['Pig'/73, l='MpServer', x=-361.36, y=69.00, z=142.26], EntityPig['Pig'/74, l='MpServer', x=-358.49, y=68.00, z=152.75], EntityPig['Pig'/75, l='MpServer', x=-353.83, y=68.00, z=154.20], EntitySkeleton['Skeleton'/83, l='MpServer', x=-351.50, y=14.00, z=159.50], EntitySkeleton['Skeleton'/84, l='MpServer', x=-351.50, y=14.00, z=161.50], EntitySkeleton['Skeleton'/92, l='MpServer', x=-321.31, y=33.00, z=142.60], EntityPig['Pig'/95, l='MpServer', x=-327.51, y=69.00, z=187.25], EntityBat['Bat'/96, l='MpServer', x=-335.63, y=30.10, z=204.27], EntityPig['Pig'/97, l='MpServer', x=-326.51, y=69.00, z=205.22], EntityPig['Pig'/98, l='MpServer', x=-334.54, y=71.00, z=236.26], EntityCow['Cow'/99, l='MpServer', x=-320.57, y=69.00, z=235.19], EntityPig['Pig'/100, l='MpServer', x=-333.30, y=64.00, z=245.48], EntityZombie['Zombie'/108, l='MpServer', x=-318.50, y=33.00, z=142.50], EntitySkeleton['Skeleton'/109, l='MpServer', x=-319.50, y=33.00, z=142.50], EntityBat['Bat'/110, l='MpServer', x=-318.32, y=17.92, z=160.41], EntityPig['Pig'/111, l='MpServer', x=-314.29, y=65.00, z=147.51], EntityPig['Pig'/112, l='MpServer', x=-310.50, y=64.00, z=146.46], EntityPig['Pig'/113, l='MpServer', x=-308.59, y=71.00, z=181.75], EntityPig['Pig'/114, l='MpServer', x=-317.89, y=69.00, z=208.55], EntityPig['Pig'/115, l='MpServer', x=-306.51, y=70.00, z=222.22], EntityZombie['Zombie'/116, l='MpServer', x=-306.16, y=45.00, z=232.64], EntityPlayerSP['Player147'/324, l='MpServer', x=-303.07, y=70.00, z=217.67], EntityZombie['Zombie'/117, l='MpServer', x=-315.28, y=57.00, z=239.51], EntityPig['Pig'/118, l='MpServer', x=-315.22, y=71.00, z=226.57], EntityCow['Cow'/119, l='MpServer', x=-306.78, y=70.00, z=237.53], EntityZombie['Zombie'/120, l='MpServer', x=-301.80, y=58.00, z=255.51], EntityPig['Pig'/121, l='MpServer', x=-311.47, y=64.00, z=256.24], EntityCreeper['Creeper'/122, l='MpServer', x=-308.50, y=37.00, z=280.50], EntityZombie['Zombie'/123, l='MpServer', x=-311.50, y=37.00, z=292.50], EntityCreeper['Creeper'/133, l='MpServer', x=-288.50, y=20.00, z=139.50], EntityZombie['Zombie'/134, l='MpServer', x=-298.41, y=15.00, z=156.22], EntityPig['Pig'/135, l='MpServer', x=-297.53, y=63.00, z=144.28], EntityZombie['Zombie'/136, l='MpServer', x=-301.50, y=19.00, z=164.50], EntityCreeper['Creeper'/137, l='MpServer', x=-300.50, y=19.00, z=168.50], EntityPig['Pig'/138, l='MpServer', x=-299.62, y=70.00, z=207.73], EntityPig['Pig'/139, l='MpServer', x=-288.78, y=71.00, z=210.76], EntityPig['Pig'/140, l='MpServer', x=-293.49, y=70.00, z=215.27], EntityCow['Cow'/141, l='MpServer', x=-293.78, y=70.00, z=209.64], EntityPig['Pig'/142, l='MpServer', x=-302.58, y=70.00, z=238.21], EntityCow['Cow'/143, l='MpServer', x=-299.17, y=69.00, z=237.54], EntityPig['Pig'/144, l='MpServer', x=-299.25, y=70.00, z=227.43], EntityPig['Pig'/145, l='MpServer', x=-290.50, y=70.00, z=282.25], EntitySheep['Sheep'/146, l='MpServer', x=-296.23, y=76.00, z=294.61], EntityCreeper['Creeper'/160, l='MpServer', x=-286.50, y=20.00, z=140.50], EntityCreeper['Creeper'/162, l='MpServer', x=-284.50, y=20.00, z=139.50], EntityCreeper['Creeper'/164, l='MpServer', x=-282.50, y=21.00, z=146.50], EntityCreeper['Creeper'/165, l='MpServer', x=-275.50, y=20.00, z=151.50], EntitySkeleton['Skeleton'/166, l='MpServer', x=-280.50, y=35.00, z=187.50], EntityChicken['Chicken'/167, l='MpServer', x=-280.64, y=71.00, z=185.81], EntityZombie['Zombie'/168, l='MpServer', x=-273.50, y=28.00, z=202.50], EntityBat['Bat'/169, l='MpServer', x=-272.25, y=47.89, z=206.25], EntityPig['Pig'/170, l='MpServer', x=-275.39, y=63.00, z=197.17], EntityCow['Cow'/171, l='MpServer', x=-275.14, y=71.00, z=214.47], EntityPig['Pig'/172, l='MpServer', x=-281.26, y=71.00, z=210.53], EntityZombie['Zombie'/173, l='MpServer', x=-276.50, y=14.00, z=242.50], EntityCreeper['Creeper'/174, l='MpServer', x=-287.50, y=20.00, z=252.50], EntityEnderman['Enderman'/175, l='MpServer', x=-286.57, y=20.00, z=253.51], EntitySheep['Sheep'/176, l='MpServer', x=-275.62, y=72.00, z=281.75], EntitySheep['Sheep'/177, l='MpServer', x=-279.73, y=78.00, z=296.48], EntityPig['Pig'/178, l='MpServer', x=-280.23, y=76.00, z=289.34], EntityPig['Pig'/179, l='MpServer', x=-278.50, y=76.00, z=290.33], EntitySkeleton['Skeleton'/190, l='MpServer', x=-268.70, y=17.00, z=140.86], EntitySpider['Spider'/191, l='MpServer', x=-269.50, y=30.00, z=143.50], EntityZombie['Zombie'/192, l='MpServer', x=-267.50, y=30.00, z=138.50], EntityBat['Bat'/193, l='MpServer', x=-259.72, y=13.06, z=146.98], EntityCreeper['Creeper'/195, l='MpServer', x=-264.50, y=17.00, z=156.50], EntitySkeleton['Skeleton'/196, l='MpServer', x=-264.50, y=17.00, z=155.50], EntityEnderman['Enderman'/197, l='MpServer', x=-263.58, y=19.00, z=144.52], EntityBat['Bat'/198, l='MpServer', x=-265.18, y=22.17, z=146.17], EntityBat['Bat'/199, l='MpServer', x=-266.57, y=32.10, z=157.31], EntityCreeper['Creeper'/200, l='MpServer', x=-269.50, y=50.00, z=149.50], EntityZombie['Zombie'/201, l='MpServer', x=-257.50, y=34.00, z=174.50], EntityPig['Pig'/202, l='MpServer', x=-258.27, y=63.00, z=162.63], EntitySkeleton['Skeleton'/203, l='MpServer', x=-258.50, y=30.00, z=187.50], EntitySkeleton['Skeleton'/204, l='MpServer', x=-263.50, y=26.00, z=177.50], EntitySkeleton['Skeleton'/205, l='MpServer', x=-258.50, y=26.00, z=207.50], EntityCreeper['Creeper'/206, l='MpServer', x=-267.18, y=29.00, z=206.50], EntityCreeper['Creeper'/207, l='MpServer', x=-262.70, y=26.00, z=205.98], EntitySkeleton['Skeleton'/208, l='MpServer', x=-258.50, y=26.00, z=209.50], EntityCreeper['Creeper'/209, l='MpServer', x=-267.50, y=25.00, z=220.50], EntityItem['item.item.egg'/210, l='MpServer', x=-270.42, y=71.00, z=219.71], EntityPig['Pig'/211, l='MpServer', x=-271.76, y=71.00, z=221.28], EntityCow['Cow'/212, l='MpServer', x=-265.50, y=72.00, z=228.21], EntityPig['Pig'/213, l='MpServer', x=-268.80, y=71.00, z=265.70], EntityPig['Pig'/214, l='MpServer', x=-257.43, y=72.00, z=284.75], EntityPig['Pig'/215, l='MpServer', x=-269.25, y=75.00, z=284.64], EntityPig['Pig'/216, l='MpServer', x=-271.27, y=76.00, z=297.51], EntityPig['Pig'/224, l='MpServer', x=-252.22, y=66.00, z=167.49], EntityChicken['Chicken'/225, l='MpServer', x=-240.37, y=68.00, z=211.03], EntityItem['item.item.egg'/226, l='MpServer', x=-247.36, y=69.00, z=217.30], EntitySquid['Squid'/227, l='MpServer', x=-240.57, y=48.20, z=253.19], EntityPig['Pig'/233, l='MpServer', x=-231.25, y=72.00, z=152.50], EntityPig['Pig'/234, l='MpServer', x=-238.43, y=74.00, z=149.76], EntityChicken['Chicken'/235, l='MpServer', x=-224.57, y=64.00, z=204.77], EntitySpider['Spider'/237, l='MpServer', x=-231.50, y=14.00, z=211.50], EntityCow['Cow'/238, l='MpServer', x=-233.82, y=68.00, z=218.70], EntityChicken['Chicken'/239, l='MpServer', x=-225.88, y=67.00, z=225.45], EntityCow['Cow'/240, l='MpServer', x=-225.33, y=64.00, z=233.45], EntitySkeleton['Skeleton'/506, l='MpServer', x=-373.50, y=15.00, z=141.50]]
	Retry entities: 0 total; []
	Server brand: fml,forge
	Server type: Integrated singleplayer server
Stacktrace:
	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2660)
	at net.minecraft.client.Minecraft.run(Minecraft.java:400)
	at net.minecraft.client.main.Main.main(SourceFile:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
	Minecraft Version: 1.10.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_144, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 417683488 bytes (398 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
	IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
	FML: MCP 9.32 Powered by Forge 12.18.3.2185 4 mods loaded, 4 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
	UCHIJAAAA	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
	UCHIJAAAA	FML{8.0.99.99} [Forge Mod Loader] (forgeBin-1.10.2-12.18.3.2185.jar) 
	UCHIJAAAA	Forge{12.18.3.2185} [Minecraft Forge] (forgeBin-1.10.2-12.18.3.2185.jar) 
	UCHIJAAAA	dbdm{1.0} [Dead By Daylight Mod] (bin) 
	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 382.53' Renderer: 'GeForce GTX 1070/PCIe/SSE2'
	Launched Version: 1.10.2
	LWJGL: 2.9.4
	OpenGL: GeForce GTX 1070/PCIe/SSE2 GL version 4.5.0 NVIDIA 382.53, NVIDIA Corporation
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fml,forge'
	Type: Client (map_client.txt)
	Resource Packs: 
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 12x AMD Ryzen 5 1600 Six-Core Processor 
[13:14:45] [Server thread/INFO]: Applying holder lookups
[13:14:45] [Server thread/INFO]: Holder lookups applied
[13:14:45] [Client thread/INFO]: [net.minecraft.init.Bootstrap:printToSYSOUT:560]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\crazy\Desktop\Games (Raw)\Minecraft Stuff\Mods\My Mods\DeadByDaylightMod\run\.\crash-reports\crash-2017-07-31_13.14.45-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

In case you want it, the entire code for the wraithBell is

 

Spoiler


package com.github.escapemc.deadbydaylightmod.items;

import com.github.escapemc.deadbydaylightmod.Reference;
import com.github.escapemc.deadbydaylightmod.init.ModItems;

import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.ActionResult;
import net.minecraft.util.EnumActionResult;
import net.minecraft.util.EnumHand;
import net.minecraft.world.World;

public class wraithBell extends Item {

	private static Minecraft mc;
	private boolean isVis = false;
	
	public wraithBell() {
		
		this.setMaxStackSize(1);
		setUnlocalizedName(Reference.ModItems.WRAITHBELL.getUnlocalizedName());
		setRegistryName(Reference.ModItems.WRAITHBELL.getRegistryName());

		
	}
	
	@Override
	public ActionResult<ItemStack> onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn, EnumHand hand) {
		
		if(playerIn.inventory.armorItemInSlot(3) != null && playerIn.inventory.armorItemInSlot(3).getItem() == ModItems.wraithHelmet &&
			playerIn.inventory.armorItemInSlot(2) != null && playerIn.inventory.armorItemInSlot(2).getItem() == ModItems.wraithChestplate &&
			playerIn.inventory.armorItemInSlot(1) != null && playerIn.inventory.armorItemInSlot(1).getItem() == ModItems.wraithLeggings &&
			playerIn.inventory.armorItemInSlot(0) != null && playerIn.inventory.armorItemInSlot(0).getItem() == ModItems.wraithBoots) {
	
//				playerIn.addPotionEffect(new PotionEffect(Potion.getPotionFromResourceLocation("invisibility"), 1000, 1));
				
				if(isVis = false) {
					isVis = true;
				}else if(isVis = true) {
					isVis = false;
				}else{
					System.out.println("Failed to Vis");
				}
			
				itemStackIn.damageItem(1, playerIn);
		
		}
				
				changeVis(mc);
				return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, itemStackIn);
					
	}
	
	public void changeVis(Minecraft mc) {
		
		if(isVis = true) { 
			mc.thePlayer.setInvisible(false);
			System.out.println(isVis);
			System.out.println("Should be False");
		}else if(isVis = false){
			mc.thePlayer.setInvisible(true);
			System.out.println(isVis);
			System.out.println("Should be True");
		}
		
		if(mc.thePlayer.capabilities.disableDamage = false) {
			mc.thePlayer.capabilities.disableDamage = true;
		}else if(mc.thePlayer.capabilities.disableDamage = true) {
			mc.thePlayer.capabilities.disableDamage = false;
		}

		
	}
				
}

 

Thanks to all who help

 

 

Edited by EscapeMC

I Love To Help People. Unless They Are The Kind Of People Who Just Doesn't Know Anything. Those People Need Some Serious Help. This Could Help But......

https://www.youtube.com/watch?v=6t0GlXWx_PY

 

ThingsMod Git: https://github.com/EscapeMC/Things-Mod-1.10.2

 

TeamMadness Mod Git: https://github.com/EscapeMC/TeamMadness-Mod-1.10.2

 

If I somehow help you, please click the "Thank You" button. If I am a total waste of time, please click the "Applaud" button.

Link to comment
Share on other sites

5 hours ago, EscapeMC said:

java.lang.NullPointerException

 

5 hours ago, EscapeMC said:

private static Minecraft mc;

5 hours ago, EscapeMC said:

changeVis(mc);

Well, here is the cause of your NPE. The mc field is null as you've never assigned anything to it.

Minecraft is a client-side only class. Using it like that will crash the server. Why on earth are you even using it to get the player when you have the player passed to you as an argument?

 

5 hours ago, EscapeMC said:

private boolean isVis = false;

Items are singletons. This means that changing this field will affect all items that are an instance of wraithBell. ItemStack is what you need to work with if you want to have some data that is unique to a specific... welll ItemStack.

 

Please refrain from using logging to debug. The debugger and breakpoints exist for a reason.

 

5 hours ago, EscapeMC said:

Potion.getPotionFromResourceLocation("invisibility")

->

MobEffects.INVISIBILITY. 

 

Now all that out of the way:

I assume you want the armor to become invisible with the player as they use your bell item, correct? Item::getArmorTexture has the ItemSteack of the armor as it's parameter - you can check for, say, a specific boolean being set to true in that stack's NBT and return a texture that is completely transparent.

Link to comment
Share on other sites

Yes i do, I want the armor to disappear along with the player.

 

So is what I have (sort of) correct? Or what exactly need I do to get this? adding mc = new Minecraft(); gives an error, and I am really not sure on what to do.

 

Really, what is the needed plan for me to be able to get the player and the armor invisible.

Edited by EscapeMC

I Love To Help People. Unless They Are The Kind Of People Who Just Doesn't Know Anything. Those People Need Some Serious Help. This Could Help But......

https://www.youtube.com/watch?v=6t0GlXWx_PY

 

ThingsMod Git: https://github.com/EscapeMC/Things-Mod-1.10.2

 

TeamMadness Mod Git: https://github.com/EscapeMC/TeamMadness-Mod-1.10.2

 

If I somehow help you, please click the "Thank You" button. If I am a total waste of time, please click the "Applaud" button.

Link to comment
Share on other sites

56 minutes ago, EscapeMC said:

So is what I have (sort of) correct? Or what exactly need I do to get this? adding mc = new Minecraft(); gives an error, and I am really not sure on what to do.

I'll repeat myself:

On 8/1/2017 at 1:25 AM, V0idWa1k3r said:

Why on earth are you even using it to get the player when you have the player passed to you as an argument?

 

56 minutes ago, EscapeMC said:

Really, what is the needed plan for me to be able to get the player and the armor invisible.

 1.  Override Item::getArmorTexture in your armor class and make it do the following:

  • Check for a boolean value stored in the NBT of the ItemStack passed to the method as an argument.
  • If it is true: return a texture that is completely transparent
  • If it is false: return your normal armor texture.

 2.  In your wraithBell's onItemRightClick class modify that boolean value of armor's NBT if your conditions are correct.

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
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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • it crashed again     What the console says : [00:02:03] [Server thread/INFO] [Easy NPC/]: [EntityManager] Server started! [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {iceandfire:fire_dragon_roost=true, iceandfire:fire_lily=true, iceandfire:spawn_dragon_skeleton_fire=true, iceandfire:lightning_dragon_roost=true, iceandfire:spawn_dragon_skeleton_lightning=true, iceandfire:ice_dragon_roost=true, iceandfire:ice_dragon_cave=true, iceandfire:lightning_dragon_cave=true, iceandfire:cyclops_cave=true, iceandfire:spawn_wandering_cyclops=true, iceandfire:spawn_sea_serpent=true, iceandfire:frost_lily=true, iceandfire:hydra_cave=true, iceandfire:lightning_lily=true, iceandfireixie_village=true, iceandfire:myrmex_hive_jungle=true, iceandfire:myrmex_hive_desert=true, iceandfire:silver_ore=true, iceandfire:siren_island=true, iceandfire:spawn_dragon_skeleton_ice=true, iceandfire:spawn_stymphalian_bird=true, iceandfire:fire_dragon_cave=true, iceandfire:sapphire_ore=true, iceandfire:spawn_hippocampus=true, iceandfire:spawn_death_worm=true} [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {TROLL_S=true, HIPPOGRYPH=true, AMPHITHERE=true, COCKATRICE=true, TROLL_M=true, DREAD_LICH=true, TROLL_F=true} [00:02:03] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 41976 bytes (in 5 string chunks with the size of 10000) [00:02:03] [Server thread/INFO] [patchouli/]: Sending reload packet to clients [00:02:03] [Server thread/WARN] [voicechat/]: [voicechat] Running in offline mode - Voice chat encryption is not secure! [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Using server-ip as bind address: 0.0.0.0 [00:02:03] [Server thread/WARN] [ModernFix/]: Dedicated server took 22.521 seconds to load [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Voice chat server started at 0.0.0.0:25565 [00:02:03] [Server thread/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.player.Player from class tschipp.carryon.common.carry.CarryOnDataManager [00:02:03] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@2941ffd5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 0 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 1 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 2 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 3 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 4 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 6 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 7 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 8 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 9 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 10 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 11 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 12 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 13 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 14 [00:02:19] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@ebc7ef2 [00:02:19] [Server thread/INFO] [minecraft/PlayerList]: ZacAdos[/90.2.17.162:49242] logged in with entity id 1062 at (-1848.6727005281205, 221.0, -3054.2468255848935) [00:02:19] [Server thread/ERROR] [ModernFix/]: Skipping entity ID sync for com.talhanation.smallships.world.entity.ship.Ship: java.lang.NoClassDefFoundError: net/minecraft/client/CameraType [00:02:19] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos joined the game [00:02:19] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:19] [Server thread/INFO] [se.mi.te.da.DataManager/]: Sending data to client: ZacAdos [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Received secret request of - Gloop - ZacAdos (17) [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Sent secret to - Gloop - ZacAdos [00:02:21] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully authenticated player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully validated connection of player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Player - Gloop - ZacAdos (cc56befd-d376-3526-a760-340713c478bd) successfully connected to voice chat stop [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping the server [00:02:34] [Server thread/INFO] [mo.pl.ar.ArmourersWorkshop/]: stop local service [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [00:02:34] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: ZacAdos lost connection: Server closed [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos left the game [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (world): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopping IO worker... [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopped IO worker! [00:02:34] [Server thread/INFO] [Calio/]: Removing Dynamic Registries for: net.minecraft.server.dedicated.DedicatedServer@7dc879e1 [MineStrator Daemon]: Checking server disk space usage, this could take a few seconds... [MineStrator Daemon]: Updating process configuration files... [MineStrator Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [MineStrator Daemon]: Pulling Docker container image, this could take a few minutes to complete... [MineStrator Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx6302M -Dterminal.jline=false -Dterminal.ansi=true -Djline.terminal=jline.UnsupportedTerminal -p libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar:libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar=cpw.mods.securejarhandler --add-opens java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports java.base/sun.security.util=cpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns=java.naming -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher-1.1.2.jar,securejarhandler-2.1.4.jar,asm-commons-9.5.jar,asm-util-9.5.jar,asm-analysis-9.5.jar,asm-tree-9.5.jar,asm-9.5.jar,JarJarFileSystems-0.3.16.jar -DlibraryDirectory=libraries -DlegacyClassPath=libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar:libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar:libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar:libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar:libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar:libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar:libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar:libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar:libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar:libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar:libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar:libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar:libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar:libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar:libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar:libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar:libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar:libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar:libraries/net/minecraftforge/fmlloader/1.19.2-43.3.0/fmlloader-1.19.2-43.3.0.jar:libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-extra.jar:libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar:libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar:libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar:libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar:libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar:libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar:libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar:libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar:libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar:libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar:libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar:libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar:libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar:libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar:libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar:libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar:libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar:libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar:libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar:libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar cpw.mods.bootstraplauncher.BootstrapLauncher --launchTarget forgeserver --fml.forgeVersion 43.3.0 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [00:02:43] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [00:02:44] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection Latest log [29Mar2024 00:02:42.803] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [29Mar2024 00:02:42.805] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [29Mar2024 00:02:43.548] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [29Mar2024 00:02:43.876] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.878] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:44.033] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [29Mar2024 00:02:44.034] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [29Mar2024 00:02:44.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection
    • I am unable to do that. Brigadier is a mojang library that parses commands.
    • Hi, i appreciate the answer. I would love to do that, but we have active players with all their belongings in SSN. Also this mod is really handy and they would be mad if we removed it. Are you really certain that SSN is causing this? It would require lots of work to test it and SSN was not really an issue before we removed Fast Suite. Can it be related somehow? I will provide you with log before removing FS. PasteBin: https://pastebin.com/Y5EpLpNe (crash before removing Fast Suite, which I suspected to be a problem from some crash before)
    • Backup the world and make a test without storagenetwork
  • Topics

×
×
  • Create New...

Important Information

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