gurujive Posted March 21, 2016 Posted March 21, 2016 I have a snowball type entity, I go to put it in a command block. /summon guru.FireOrb ~ ~1 ~ {Motion[0.0,1.0,0.0]} This summons the entity and it disappears half way in the air. Then when it lands it produces sound. /summon guru.FireOrb ~ ~1 ~ {Motion[0.0,1.1,0.0]} This both summons and renders (completely) the said entity through the whole entire motion. Is this currently not a working feature in 1.9 forge? If it is, How am I doing something wrong? Quote
gurujive Posted March 22, 2016 Author Posted March 22, 2016 I have found that it has something to do with the render... and this line of code within that render class. model.render(entity, 0.0F, 0.0F, -0.0F, 0.0F, 0.0F, 0.0625F); I am not certain what to change 0.0625F to... but at least I know where I'm looking now. Quote
gurujive Posted March 22, 2016 Author Posted March 22, 2016 ok well maybe not... that changed the size... lol ; ..... I've got some learning to do. Quote
gurujive Posted March 22, 2016 Author Posted March 22, 2016 If I knew how to fix this I'll be ready to do a release >.< this is literally the only thing holding me back from doing that though... Quote
gurujive Posted March 22, 2016 Author Posted March 22, 2016 I found the answer. And I solved this. by raising the number represented by # in the next said code line, it will change the rendering of the entity summoned with motion by a command block: private static void register(Class cls, String name) { EntityRegistry.registerModEntity(cls, name, id++, Guru.getInstance(), 64, #, true); } Quote
Recommended Posts
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.