Advertisement
Guest User

Untitled

a guest
Jan 11th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. interface Foo extends ItemMeshDefinition{
  2.     static Foo of(Foo foo) {
  3.         return foo;
  4.     }
  5.  
  6.     MRL getLocation(ItemStack stack);
  7.  
  8.     @Override default MRL getModelLocation(ItemStack stack) { return this.getLocation(stack); }
  9.  
  10. }
  11.  
  12. ItemMeshDefinition x = Foo.of(stack -> mrl);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement