#[SOLVED]I could not find an answer online since i dont know what im looking for...

1 messages · Page 1 of 1 (latest)

lilac slate
#

Context:
(THIS IS THE FIRST 3D MODEL I HAVE EVER MADE SO I GOT NO IDEA WHAT IM DOING)Hi, im a new minecraft mod developer and i wanted to create an entity with the exact same model as a player character, so i did from 6 cubes but then when i tried to apply a minecraft skin texture to it, but then i got a really weird output seen in image 1 so the next logical thing i did is i went into google but i didnt find anything for my case then i went into a the modded minecraft discord where i chat sometimes and asked.... the only answer i got was "
You need to change the UV mapping" which meant nothing to me so i went online for more clarification to just end up more confused.... a person from the discord server redirected me to this server so that is how we got into this situation

why im not posting in #1021001177263001701 :
ik a mod is gonna redirect me there but i dont think that this is a minecraft java specific case.... as far as i know getting clarification to this will help me in 3D modeling as a whole especially for future projects

Summary:
this was a complicated way of saying "why is the thing in the image happening, i got redirected here, so how do i fix it"

plush belfryBOT
#
Welcome to the help forum!

Please make sure to read #1021015331910713395 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

lilac slate
#

oh shit i forgot the image

#

lemme send it

hazy pulsar
#

!faq uv mapping

plush belfryBOT
# hazy pulsar !faq uv mapping
FAQ
Blockbench: UV Mapping

Definition

A UV map or just "UV" is the information in a model, which parts of a texture are shown on which parts of a model. UVs can overlap and hence cause several parts to use the same area on the texture.

Editing a UV Map

You can edit a UV-map trough the UV window in the top left.
Make sure to have a cube selected which you want to UV map and freely resize/move the selection box in the UV window.
You cannot resize the UV selection if you're using Box UV

What do the value fields below the UV window mean?

Per-face UV: The first two values are the x/y position (with 0/0 being in the top left
corner) of the UV map, and the last two values its width and height.
Box UV: The 2 values are the x/y position of the UV map. The size of the UV map depends on the size of the respective cube.

I don't wanna bother with any of that, just let me draw on the model!:

Select all elements (Ctrl+A) and, create a new texture and make sure to select "Template" as type.
This will create a new texture that will keep already existing texture information, but assigns each element a unique section in the texture.

hazy pulsar
#

hope this helps

lilac slate
#

maybe i just cannot understand

#

since my model is not a SINGLE cube

#

and as far as i can understand i can only do it if it is not a complex shape

#

since i dont know which part is which

native citrus
# lilac slate **Context:** (THIS IS THE FIRST 3D MODEL I HAVE EVER MADE SO I GOT NO IDEA WHAT ...

ik a mod is gonna redirect me there but i dont think that this is a minecraft java specific case.... as far as i know getting clarification to this will help me in 3D modeling as a whole especially for future projects

As you said yourself:

THIS IS THE FIRST 3D MODEL I HAVE EVER MADE SO I GOT NO IDEA WHAT IM DOING
So you can't possibly know if it's a "general case" or one specific to the model format you need to use for your mod.
So ALWAYS post in the relevant help channel, even if you think it's not relevant to the format you (usually) use.

#

set these values to 64x64, then UV map your model properly (same principle as in the bot message, just that all 6 sides are stuck together cause you must use box-uv in the model format you use)

#

And for how to get entity models (including players) in general:

#

!faq minecraft-entity-templates

plush belfryBOT
# native citrus !faq minecraft-entity-templates
FAQ
Minecraft: Entity Templates

Here are a few ways to get template models for Minecraft entities, sorted by formats:
- OptiFine Entity: You can use the CEM template loader plugin in the Filter tab (after you have installed it from File > Plugins > Available) to load templates of entities. ( https://www.blockbench.net/plugins/cem_template_loader )
- Bedrock Format: You can get the entity models from the bedrock edition default pack ( https://www.minecraft.net/en-us/addons ). If you need a fully functional entity, you can also use the Entity Wizard: ( https://aka.ms/mcentitywizard )
- Other Formats: You can do the following to get a template for an entity to use as statues or for rendering purpose etc. this way:
do File > New > Skin > The entity you want, then do File > Convert Project and chose the format you wanna convert it to.
If you wanna convert to the Java Block/Item format keep in mind that you should scale down the model for big mobs first and that some elements will lose their rotation during the conversion (see !faq java-sizelimit and !faq java-rotation for more information on that)

lilac slate
# plush belfry

im not working in this kind of template but in a geckolib one also tysm for the help

lilac slate
#

it works now

native citrus
lilac slate
#

oh ok

native citrus
#

Optifine and Bedrock just have special setups that they need for them to work ingame. Other formats either don't support entity models or aren't as rigid with the group setup as much

lilac slate
#

oh ty also it came out a bit weird but ig its a texture issue(anyways it looks better with the weird effect)

#

by that i mean

#

some things just despawned

#

they went transparent

native citrus
#

Are they using the correct part of the texture (in that UV screen)?

lilac slate
#

[SOLVED]I could not find an answer online since i dont know what im looking for...

#

since the skin is layered in the reference image from namemc i cant rlly tell but its not a problem

#

seams correct

native citrus
#

They might have used transparency instead of pure black for some reason 🤷‍♂️

#

(would show as pure black ingame cause the base layer does not support transparency

lilac slate
#

yh makes sense i remember trying to make an invisible skin when i was young