#How do I edit a 2d moded textchter into a 3d one
24 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
idk what you mean by a 2d modded texture into a 3d one
but i know extruding textures
!faq texture-to-3d
Depending on where you wanna have the model there are different ways to turn a texture into a (default-item like) model:
1. Letting the game generate it from a texture (vanilla Java)
2. Directly adding a new item (Bedrock Edition)
3. Letting Blockbench generate it (ONLY use this if the other options are not applicable!!!)
**
1. Letting the game generate it from a texture:**
Create a .json file somewhere inside your models folder and put this code inside of it:
{
"parent": "item/generated",
"textures": {
"layer0": "custom/example"
}
}``` This will tell the game to generate a model based on the texture `YourPack/assets/minecraft/textures/custom/example.png`.
(Use `item/handheld` as parent instead if you want it to be held like a weapon).
It can be used just like any other model, so you can either replace an existing item with it or "add" it with custom_model_data. You can also load it into Blockbench to edit the display settings.
**  2. Directly adding a new item in Bedrock Edition:**
Please follow the steps described in here:
Default like items: <https://wiki.bedrock.dev/items/items-intro.html>
Custom 3D model items: <https://wiki.bedrock.dev/items/3d-items.html>
**  3. Generating it in Blockbench:**
ONLY use this approach if you plan on editing it more than what the other option allows you to do!!!
You need to make sure to use per-face uv (_not_ box-uv!) and then do `File > Import > Extruded Image` and select your texture. Then, pick the way it should generate the texture. You can chose between pixel by pixel, line by line (horizontal/vertical) or in as little chunks as possible (area).
I suggest to always use area for performance. If you wanna edit each pixel/line choose one of the other options.
Option 1 is the recommended approach
Do you want a 3D effect like snowballs/ender pearls?
I'd recommend to take a look at the Snowballs Projectile entity renderer.
You can recycle that to render a custom item model.
That would likely be the easiest approach
I am not trying to make a item I want to make a shot type entity
That's why I recommend using a projectile entity renderer
Oh
You can also code the model, but usually it's a lot easier to maintain block & item models.
(Coded entity models do break every few versions and then and you have to fix them)
Oh I also dont know how to import modded textures into Blockbench to edit
I also dont know how to get the modded texture to edit
The same way you use a non modded texture.
You drag and drop it into the textures window
Like I dont know how to get the texture from the mod or how to place the pixels or how to get the model to show in game
Wait... are you trying to make your own mod, or change the model in an existing mods?
Because, usually you cannot remodell entities from other mods.
If it uses an item model, you can remodel that, but beyond that entity models are made in code, and cannot be edited.
Oh so without codeing I just can't? also I wanted to change a model not make a mod