Jump to content

ObamaCare

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by ObamaCare

  1. Im trying to make every field and method in the entity class public but it doesn't seem to be working. CoreMod: @TransformerExclusions( { "Mod" } ) public class FlyingFortressCore implements IFMLLoadingPlugin{ public static Boolean isObfuscatedEnvironment = null; @Override public String[] getASMTransformerClass() { return null; } @Override public String getModContainerClass(){ return null; } @Override public String getSetupClass(){ return null; } @Override public void injectData(Map<String, Object> data){ isObfuscatedEnvironment = (Boolean)data.get( "runtimeDeobfuscationEnabled" ); } @Override public String getAccessTransformerClass(){ return "AccessTransformer"; } } Access Transform class public AccessTransformer() throws IOException { super("Mod_At.cfg"); } Config public net.minecraft.entity.Entity * # All fields public net.minecraft.entity.Entity *() # All methods Ive already checked, everything is loading. Whats wrong with it
  2. So your saying I would do the (0,1,0,yaw) and multiply it with (1,0,0,pitch) and that becomes the correct matrix?
  3. So Ive got a problem where I need to convert the rotationYaw and rotationPitch into the standard (x,y,z,angle) format. I tried seeing how Minecraft does this when rendering but it does the crappy trick of calling the glRotateF twice with (0,1,0,yaw) and (1,0,0,pitch). What would I need to do to convert the pitch and yaw into something like (x,y,z,angle)? Edit: Please don't ask why, Im just wondering what openGL would be doing to combine the (0,1,0,yaw) and (1,0,0,pitch) Another thing, the yaw and pitch need to be in radian format for this, not angle format like openGL uses
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.