Advertisement
Guest User

Untitled

a guest
May 31st, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.91 KB | None | 0 0
  1. public class AttunementHandler {
  2.  
  3.     public Attunement getAttunement(World world, int chunkX, int chunkY) {
  4.         WorldAttunement worldAttunement = WorldAttunement.get(world);
  5.         return worldAttunement.getAttunement(chunkX, chunkY);
  6.     }
  7.  
  8.     public void setAttunement(World world, int chunkX, int chunkY, Attunement attunement) {
  9.         WorldAttunement worldAttunement = WorldAttunement.get(world);
  10.         worldAttunement.setAttunement(chunkX, chunkY, attunement);
  11.     }
  12.  
  13.     public void setStrength(World world, int chunkX, int chunkY, int strength) {
  14.         WorldAttunement worldAttunement = WorldAttunement.get(world);
  15.         worldAttunement.setStrength(chunkX, chunkY, strength);
  16.     }
  17.  
  18.     public int getStrength(World world, int chunkX, int chunkY) {
  19.         WorldAttunement worldAttunement = WorldAttunement.get(world);
  20.         return worldAttunement.getStrength(chunkX, chunkY);
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement