TheGreyGhost / ItemTransformHelper

A Minecraft helper tool to interactively adjust the rotation, position, and scale of Items.
16 stars 9 forks source link

It doesn't work anymore in forge 1.8-11.14.3.1502-2.0 #5

Closed a3626a closed 8 years ago

a3626a commented 9 years ago

Item Transform Helper draws its HUD, and also I can change the values. However the changes don't affect transformation of the item.

a3626a commented 9 years ago

is this log related to this problem?

[09:52:30] [Client thread/INFO] [ItemTransformHelper]: Warning - The Item Transform Helper replaces your IBakedModels with a wrapped version, this [09:52:30] [Client thread/INFO] [ItemTransformHelper]: is done even when the helper is not in your hotbar, and might cause problems if your [09:52:30] [Client thread/INFO] [ItemTransformHelper]: IBakedModel implements an interface ItemTransformHelper doesn't know about. [09:52:30] [Client thread/INFO] [ItemTransformHelper]: I recommend you disable the mod when you're not actively using it to transform your items.

TheGreyGhost commented 9 years ago

Hi That's odd. Is your item just an ordinary item? Pls post a link to your item code? The log warning is something the mod always prints just to warn folks that it messes with the registry to do its stuff.

I'll try it out again with the latest forge version, will take me a few days to get to it though, sorry :(

-TGG

a3626a commented 9 years ago

I think "public ItemCameraTransforms getItemCameraTransforms()" is completely deprecated in latest forge. Camera Transformation should be forced in "handlePerspective()". (in IPerspectiveAwareModel)

ThexXTURBOXx commented 8 years ago

Sorry for my late reply, but this bug still exists :(

TheGreyGhost commented 8 years ago

Hi, you're right. I'm working on it, unfortunately there appears to be a bug in forge that stops one of the commands from working properly. I'm trying to find a workaround but it involves quaternions and matrix math and it makes my teeth ache to wade through it.

In the meantime you can use an earlier release of forge to work around this problem (for example 1.8-11.14.1.1334).

ThexXTURBOXx commented 8 years ago

Ok, could you say me which command? I could help :D

TheGreyGhost commented 8 years ago

Dude that would be awesome :)

It's documented here: https://github.com/MinecraftForge/MinecraftForge/issues/2425

ThexXTURBOXx commented 8 years ago

I will try to figure out what's going on there :)

ThexXTURBOXx commented 8 years ago

I just noticed, that the version number 1.8-11.14.3.1502-2.0 is wrong! It doesn't even work in 1.8-11.14.3.1501....

ThexXTURBOXx commented 8 years ago

Ok, but it works in Forge 1404... I don't know the exact version of forge causing that error, but it is between 1404 and 1487 (tested them)

TheGreyGhost commented 8 years ago

Hi

After a lot of messing around I've managed to introduce a workaround that should work for all versions of Forge for Minecraft 1.8.

Pls try it out and let me know if it works for you, now?

Cheers TGG

ThexXTURBOXx commented 8 years ago

Oh, that's fantastic! I'll try that out in a few hours. :)

ThexXTURBOXx commented 8 years ago

Ok, I couldn't wait XD Tested it now, IT WORKS! Nice work, man! Keep going ;) :+1:

TheGreyGhost commented 8 years ago

Keen thanks dude :)