#Java roaton broken

56 messages · Page 1 of 1 (latest)

molten burrow
#

When i try to rotate a object ti will only allow me to move it in one direction (y) and when I try to rotate the same object in a different direction (x) and it immediately deletes (y) rotation it's the same with the typ and drag i have no idea dea how to fix it im new to B.B. and not the best with computers it also completely breaks my models when I convert them to the jave model I assume this is the reason.

graceful flameBOT
#
Welcome to the help forum!

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.

graceful flameBOT
# lethal crane !faq java rotation
FAQ
Java: Rotation

The rotation of elements in the Minecraft Block/Item format are limited to one axis at a time and increments of 22.5 degrees. Minecraft cannot load models with different rotations.
(To be more specific, the only allowed values are -45, -22.5, 0, 22.5 and 45. If you work in a Block/Item format project and rotate an element then Blockbench will adjust the size/rotation/position of your element so you won't hit a wall at -45 or 45 degrees)

lavish sleet
#

PS: As of 1.21.6 the rotation is only limited to any value between -45 and 45 (inclusive), not just to those 5 specific values. But the "only one axis rotation" limit is still in effect.

molten burrow
#

But the regular rotation won't work if I try to do another it will just snap back to 0 .

quartz condor
#

What are you using this model for

molten burrow
#

It's supposed to be a hat

#

And java

quartz condor
#

Ah gotcha the player model is just for reference?

molten burrow
#

I'm trying to get it to work in game

#

Yes

quartz condor
#

Which version of the game? Like 1.21.4 or lower

#

Because in 1.21.4+ you can cheese the rotation limit

molten burrow
#

I have no idea I'm just trying to fix the model but the rotate won't let me

quartz condor
#

Well yeah the game doesn't allow elements with those rotations

#

It just won't load

#

So blockbench implemented the same restrictions

molten burrow
#

Why

quartz condor
#

Because mojang said so

molten burrow
#

I can't even mack a new one

#

The rotation only let's me have one value

#

At a time

quartz condor
#

Yes that is the limitation

#

And you can only cheese it if you know what version of the game you will use this pack in

molten burrow
#

Might have to mess around and see if it works on bead rock

#

I just whant to see the model in game just to test

#

Im still rather new to B.B and am not vary good with. Computers.

quartz condor
molten burrow
#

So i have close to no idea what I'm doing

quartz condor
#

You are on the right track

molten burrow
#

Dame😭

quartz condor
#

Just don't use cubes that require more than one axis of rotation

molten burrow
#

Some time mojang you suck

quartz condor
#

It's the curse all packmakers need to adhere to

#

UNLESS
You are in 1.21.4+

#

Then check out the free rotation plugin for blockbench

molten burrow
#

It's not even for a pack I was just bord

#

I might look into it

quartz condor
#

Oh then you don't need to make it a block/item model

#

If it's just for like, renders then use the Generic Model format

#

No rotation limits there

molten burrow
#

It was originally a CPM model but I'm trying not to use mods

#

My poor laptop can't handle that

#

It can barley run jave

quartz condor
#

Wait so it's not for a pack but you don't want to use mods?

#

How do you intend to get it into the game

molten burrow
#

Q

  1. I have no idea how to set it up
  2. My computer is old
    And it's just for myself
quartz condor
#

Or do you even want it in the game

#

Or just in bb

molten burrow
#

I'd like to see how it would work in game

#

I just mees around and hope I don't break anything.

quartz condor
#

Then try out first making a model that adheres to the limit

#

Then you can follow these steps

#

!faq Java export model

graceful flameBOT
# quartz condor !faq Java export model
FAQ
Java: Export Vanilla Models

IMPORTANT:
-Any missing folders need to be created if they aren't there yet!
-Do the steps in this exact order!

Step 0: Setup
**-In Blockbench: **
Use the Java Block/Item format. (Check at File > Project... in Blockbench).
If it's not convert it via File > Convert Project. ATTENTION: This can break the model due to format specific restrictions! (see !faq java-rotation and !faq java-sizelimit)

-Setting up your pack:
Create a folder inside Minecraft's resource pack folder (aka "YourPack" for the rest of this guide). It is usually at C:\Users\INSERT_YOUR_PC_USER_HERE\AppData\Roaming\.minecraft\resourcepacks. Put this file https://cdn.discordapp.com/attachments/883449189533638777/899224109869846558/pack.mcmeta in YourPack.
Optionally: Edit it in a text editor and adjust the value of "pack_format" (see https://minecraft.fandom.com/wiki/Pack_format). This only affects whether your pack is shown as "outdated" ingame or not.

Step 1: Saving Textures
Save all your textures first.
To do that either:
-Ctrl+S, or
-click 💾 next to the texture(s), or
-rightclick the texture(s) and click "Save As"
Save them directly within YourPack/assets/minecraft/textures/block/... or /item/....
Reason: If you don't do that or move/rename the files later your model won't find the textures anymore.
(For custom subfolders check !faq java-1.19.3-textures)

Don't use capital letters nor spaces in file/folder names. The model will be invalid ingame!.

Step 2: Exporting the Model
After saving the textures use File > Export > Block/Item export it to YourPack/assets/minecraft/models/item (or /block, but only for placed down blocks.).
Name the file based on the id of the thing you wanna replace (totem_of_undying for a Totem of Undying for example). Check the default pack if you are not sure what the exact name is (see !faq default-pack for more information)