mojira.dev
MC-109404

Custom potion texture error

I got this custom potion right here :

/give @p potion 1 373 
	{
		CustomPotionEffects:[
			{
				Id:1,
				Amplifier:1,
				Duration:1200
			},
			{
				Id:5,
				Amplifier:10,
				Duration:100
			},
			{
				Id:9,
				Amplifier:2,
				Duration:600
			},
			{
				Id:10,
				Amplifier:10,
				Duration:1200
			},
			{
				Id:15,
				Duration:900
			},
			{
				Id:21,
				Amplifier:100,
				Duration:400
			},
			{
				Id:23,
				Amplifier:1,
				Duration:100
			}
		],
		display:{
			Name:"Morphine",
			Lore:[
				"A n'utiliser que pour des",
				" raisons médicales"
			]
		}
	}

It was working before, I mean, the texture was not a pink and black checkerboard. Now, I got the "No texture found" texture with the huge cube model. I tried to change the command so it can display the potion properly but nothing to do.

P.S. Sorry if it's hard to read, English is a second language to me.

Attachments

Comments 1

Potions no longer use the damage value field; if that field is nonzero then they render as a pink block (see [MC-85769]/[MC-82925]).

Change the first part of the command from /give @p potion 1 373 to /give @p potion 1 0 and it should render properly.

Z0ul0u25

(Unassigned)

Unconfirmed

item, texture

Minecraft 1.10.2, Minecraft 16w43a

Retrieved