#What does the puzzle piece next to the object name mean?

40 messages · Page 1 of 1 (latest)

daring furnace
#

I'm trying to create new swords but I can't figure out how to make it so you apply a texture to a puzzle layer and it creates the geometry according to the shape of the texture. How do I make a layer like this?

#

How is it creating the shape of the texture on the narrow sides (blade of the sword)?

#

But the geometry for the black isn't also created? I'm just trying to create a new sword where the geometry is based on the texture like with this one layer sword

buoyant panther
#

if you want to add extra geometry you have to delete the puzzle layer

#

thats for previewing how default items render

daring furnace
#

How do I make a layer a puzzle layer

buoyant panther
#

you dont

#

its for previewing how vanilla item models work

#

if you want to actually make a model delete it and add cubes yourself

daring furnace
#

How did someone make the puzzle layer

#

if you can't make it

#

How is that sword 3d when there's just a 2d texture

#

it's 1 object but it's 3d in it's geometry

buoyant panther
#

are you just ignoring what i am saying

daring furnace
#

if I delete the puzzle layer the sword gets deleted lol

#

the puzzle layer is the sword

buoyant panther
#

the puzzle layer is for previewing how vanilla models work

daring furnace
#

HOW DO YOU ENABLE A LAYER TO BE A PUZZLE LAYER

#

WHY WHEN I DELETE THE PUZZLE LAYER DOES IT DELETE THE ENTIRE OBJECT

daring furnace
#

Are you not listening?

buoyant panther
#

are you not listening?

daring furnace
#

Clearly you don't understand

buoyant panther
#

the puzzle layer is for previewing how vanilla models work

#

its not a model

#

its a preview

daring furnace
#

okay cool, how tf did the puzzle get here

#

what do you hit to make it like that

buoyant panther
#

because you opened a vanilla model

#

a generated model

daring furnace
#

heyyy

#

we're getting places

#

how do I generate a model like that

austere hollow
#

are you trying to make a custom model that's 3d, or just retexturing?

buoyant panther
#

!faq texture to 3d

barren flameBOT
# buoyant panther !faq texture to 3d

(Result for "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:
java 1. Letting the game generate it from a texture (vanilla Java)
bedrock 2. Directly adding a new item (Bedrock Edition)
blockbench 3. Letting Blockbench generate it (ONLY use this if the other options are not applicable!!!)

** java 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.

** ![bedrock](https://cdn.discordapp.com/emojis/526419810272149526.webp?size=128 "bedrock") 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>

** ![blockbench](https://cdn.discordapp.com/emojis/340506781111549957.webp?size=128 "blockbench") 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.
daring furnace
#

nice

#

@austere hollow I was trying to figure out how people make swords that are from a 2d texture if there's no 3d blocks making up all the 90 degree angles, how it makes it 3d like that. So texture to 3d seems to be what I was looking for

#

Thanks!