Facebook
From Ungracious Iguana, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 193
  1. package me.nieznasz.mnie.models;
  2.  
  3. import net.minecraft.client.model.ModelBase;
  4. import net.minecraft.client.model.ModelRenderer;
  5.  
  6. public class HandItemBase extends ModelBase {
  7.     public float SCALE = 0.0625F;
  8.  
  9.     protected float getWingAngle(float maxAngle, int totalTime, double d) {
  10.         float angle = 0.0F;
  11.         angle *= maxAngle;
  12.         return angle;
  13.     }
  14.  
  15.     protected void setRotation(ModelRenderer model, float y) {
  16.         model.rotateAngleY = y;
  17.     }
  18.  
  19.     private static float Sigmoid(double value) {
  20.         return 1.0F / (1.0F + (float)Math.exp(-value));
  21.     }
  22.  
  23.  
  24. }