Page 1 of 1

[Answered][1.9.41a] Plugin crash (definition.json:104)

Posted: 06 Oct 2020, 19:12
by 1Code
Hi, I got the following error with a plugin (definition.json:104):

Code: Select all

In plugins/private director name/definition.json:

java.lang.IllegalArgumentException: May not find a loader for type frames
Device: SM-A217F (samsung)
OS version: 29

Thank you in advance.

Code: Select all

[
	{
		"id":"putYourIDHere",
		"type":"frames",
		"frames":[
			{
				"bmp":"frame here.png"
			}
		]
	},
	{
		"id":"putYourIDHere2",
		"type":"decoration",
		"width":1,
		"height":1,
		"frames":[
			{
				"id":"putYourIDHere"
			}
		]
	}
]

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

Posted: 06 Oct 2020, 23:04
by CommanderABab
Yep, there is no type frames.

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

Posted: 06 Oct 2020, 23:25
by RopaSucia

Code: Select all    Reset

[{ "id":"$sample", "type":"decoration", "height":1, "width":1, "frames":[{"bmp":"image.png"}] }]
JSON checker
Check

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

Posted: 07 Oct 2020, 00:46
by CommanderABab

Code: Select all

 "id":"putYourIDHere",
		"type":"frames", 
is the line that caused the error.

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

Posted: 07 Oct 2020, 10:28
by michaelbello123
I think this is the error

Code: Select all

"type":"frames",
Theres no type such as frames

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

Posted: 07 Oct 2020, 16:08
by 1Code
I am trying to save texture space

Re: [Asked][1.9.41a] Plugin crash (definition.json:104)

Posted: 08 Oct 2020, 07:38
by michaelbello123
Jeremiah Stephens wrote: 07 Oct 2020, 16:08 I am trying to save texture space
No,
There's a way of saving texture space using animation