Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

(sorry for bad English)

hi , i want to make a model for my item that its texture contain a word with four character .

i try to change the texture with this part of java cod and

public static class ItemRanged extends Item {
		public ItemRanged() {
			super(new Item.Properties().group(ItemGroup.COMBAT).maxDamage(1000));
			setRegistryName("portalgun");
			this.addPropertyOverride(new ResourceLocation("key"), new IItemPropertyGetter(){ .....

  json

{
  "parent": "parentlocation",
  
  
  "overrides": [
	
	{"predicate": {"char1": 1 
                  "char2": 1, 
                  "char3": 1, 
                  "char4": 1 
                  }, "model": "modelLoctaion1" },
	{"predicate": {"char1": 2 ... }, "model": "modelLoctaion2" },
	{"predicate": {"char1": 3 ... }, "model": "modelLoctaion3" },
	{"predicate": {"char1": 4 ...}, "model": "modelLoctaion4" }....
	

as you know addPropertyOverride method get a key and for that key change the model we see how it work in compos

but now if i want to do so , i have to make something around 614000 different model .

is there a better way to change the textures location base on a variable in java ?

Edited by Alien teslla

which version did you use because addPropertyOverride no longer exist

and next time create a thread in the correct subforum,
because this is not a gradle problem

Edited by Luis_ST

1 hour ago, Luis_ST said:

is not a gradle problem

This isn't the gradle subforum ether. Is it?

2 hours ago, Alien teslla said:

around 614000 different model

Why would you need to create so much models?

  • Author
15 hours ago, Luis_ST said:

which version did you use because addPropertyOverride no longer exist

and next time create a thread in the correct subforum,
because this is not a gradle problem

yeah sorry i,m new here .

i use 1.15.2

  • Author
13 hours ago, Skyriis said:

This isn't the gradle subforum ether. Is it?

Why would you need to create so much models?

i don't actually , i just need to change some of texture in texture mapping

"textures": {
		"1": "rick:blocks/glob",
		"2": "rick:blocks/texture",
		"3": "rick:param1/C",
		"4": "rick:param2/1",
		"5": "rick:param3/3",
          "6": "rick:param3/7",
		"particle": "rick:items/pp"
	},

for example i want to change "3" & "4" & "5" object  contents to show a name on my item something like c137😉 which it be changeable during the game .

well i don,t know how to do that in a proper way .

i try the addProrpertyOverride method but it cause to those many model!

 

1.15 is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.

  • Author
1 minute ago, Luis_ST said:

1.15 is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.

oh , relay ?! OK tanks anyway

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.