Posted July 16, 201510 yr Hello! I'm trying to configure my custom block's render options in its json file. It works fine with "thirdperson", "firstperson" and "gui", but "ground" and "fixed" (for dropped items and items displayed in item frames) don't work, I can set any values and nothing seems to change when I run Minecraft. Here is the "display" section from my json file: "display": { "thirdperson": { "rotation": [0, 0, 170], "translation": [-0.75, -0.35, -1.5], "scale": [0.5, 0.5, 0.5] }, "firstperson": { "rotation": [35, 0, 35], "translation": [-4, 6, 4], "scale": [1.6, 1.6, 1.6] }, "gui": { "rotation": [-5, 0, -5], "translation": [0, 3, 0], "scale": [1.5, 1.5, 1.5] }, "ground": { "rotation": [0, 0, 0], "translation": [0, 0, 0], "scale": [0.1, 4, 0.1] }, "fixed": { "rotation": [-45, 0, -45], "translation": [0, 0, 0], "scale": [0.1, 4, 0.1] } } Have the names changed? Am I doing something wrong? Thanks in advance for your help.
July 17, 201510 yr Hi I've never heard of "ground" and "fixed" before. Where did you get those from? The last time I reviewed the rendering code, dropped items and items in frames use no translation at all (see ItemCameraTransforms.Deserializer and ForgeHooksClient.handleCameraTransforms, RenderItem.renderItemModel, RenderEntityItem and RenderItemFrame ) In order to change those, you should change your model so that it looks right without any rotation, translation, or scale at all. -TGG
July 18, 201510 yr Author Thanks for your answer, I've seen them on this page : http://minecraft.gamepedia.com/Block_models#Item_models. I guess it's wrong then? Too bad.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.