Advertisement
hnOsmium0001

Untitled

Aug 18th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.72 KB | None | 0 0
  1. private static final TextureWrapper origin3x3 = new TextureWrapper(TEXTURE, 256, 256, 0, 0, 0, 0);
  2.     private static final TextureWrapper origin4x4 = new TextureWrapper(TEXTURE, 256, 256, 0, 0, 0, 0);
  3.  
  4.     private static final class ThickBeveled4Wide {
  5.  
  6.         public static final TextureWrapper TOP_LEFT = origin4x4;
  7.         public static final TextureWrapper TOP_RIGHT = origin4x4.toRight(1);
  8.         public static final TextureWrapper BOTTOM_LEFT = origin4x4.toRight(2);
  9.         public static final TextureWrapper BOTTOM_RIGHT = origin4x4.toRight(3);
  10.  
  11.         public static final TextureWrapper TOP_EDGE = TOP_LEFT.toRight(3 + 1);
  12.         public static final TextureWrapper BOTTOM_EDGE = TOP_LEFT.toRight(3 + 2);
  13.         public static final TextureWrapper LEFT_EDGE = TOP_LEFT.toRight(3 + 3);
  14.         public static final TextureWrapper RIGHT_EDGE = TOP_LEFT.toRight(3 + 4);
  15.  
  16.         public static final TextureWrapper BODY = TOP_LEFT.toRight(3 + 4 + 1);
  17.     }
  18.  
  19.     private static final class ThickBeveled3Wide {
  20.  
  21.         public static final TextureWrapper TOP_LEFT = origin3x3.toDown(1);
  22.         public static final TextureWrapper TOP_RIGHT = TOP_LEFT.toRight(1);
  23.         public static final TextureWrapper BOTTOM_LEFT = TOP_LEFT.toRight(2);
  24.         public static final TextureWrapper BOTTOM_RIGHT = TOP_LEFT.toRight(3);
  25.  
  26.         public static final TextureWrapper TOP_EDGE = TOP_LEFT.toRight(3 + 1);
  27.         public static final TextureWrapper BOTTOM_EDGE = TOP_LEFT.toRight(3 + 2);
  28.         public static final TextureWrapper LEFT_EDGE = TOP_LEFT.toRight(3 + 3);
  29.         public static final TextureWrapper RIGHT_EDGE = TOP_LEFT.toRight(3 + 4);
  30.  
  31.         public static final TextureWrapper BODY = TOP_LEFT.toRight(3 + 4 + 1);
  32.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement