Advertisement
riking

Untitled

Dec 13th, 2015
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. Map<Location, Block> map = new HashMap<>();
  2. map.put(Location.fromXYZ(2,3,4), world.getBlockAtXYZ(2,3,4));
  3.  
  4. @SuppressWarnings("rawtypes")
  5. Map<Object, Block> castMap = (Map<Object, Block>)map;
  6. castMap.put("lmao", world.getBlockAtXYZ(100, 4, -100));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement