5 nov. 2019, 18:36

Salut j’ai un probleme de texture en gros tout mes porte on la meme texture que le premier et jai beau changer le nom de la texture rien ne change

a7417edd-13c3-4be8-9c7e-d2bfc874495b-image.png

Porte = new Porte(Material.iron).setBlockName("porte").setBlockTextureName("cite4:porte");
		ItemPorte = new ItemPorte().setUnlocalizedName("item_porte").setTextureName("cite4:itemporte");

		PorteMPF = new PorteMPF(Material.wood).setBlockName("portempf").setBlockTextureName("cite4:porte_mpf");
		ItemPorteMPF = new ItemPorteMPF().setUnlocalizedName("item_portempf").setTextureName("cite4:portempf");

		PorteCWU = new PorteCWU(Material.wood).setBlockName("portecwu").setBlockTextureName("cite4:porte_cwu");
		ItemPorteCWU = new ItemPorteCWU().setUnlocalizedName("item_portecwu").setTextureName("cite4:portecwu");

		PorteREBLLE = new PorteREBLLE(Material.wood).setBlockName("portereb").setBlockTextureName("cite4:porte_reb");
		ItemPorteREBLLE = new ItemPorteREBLLE().setUnlocalizedName("item_portereb")
				.setTextureName("cite4:portereb");

		PorteSCIENTIFIQUE = new PorteSCIENTIFIQUE(Material.wood).setBlockName("portesci")
				.setBlockTextureName("cite4:porte_sci");
		ItemPorteSCIENTIFIQUE = new ItemPorteSCIENTIFIQUE().setUnlocalizedName("item_portesci")
				.setTextureName("cite4:portesci");

		PorteAUTRE = new PorteAUTRE(Material.wood).setBlockName("porteautre").setBlockTextureName("cite4:porte_autre");
		ItemPorteAUTRE = new ItemPorteAUTRE().setUnlocalizedName("item_porteautre")
				.setTextureName("cite4:porteautre");

		PorteADMINISTRATION = new PorteADMINISTRATION(Material.wood).setBlockName("porteadm")
				.setBlockTextureName("cite4:porte_adm");
		ItemPorteADMINISTRATION = new ItemPorteADMINISTRATION().setUnlocalizedName("item_porteadm")
				.setTextureName("cite4:porteadm");