Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<Location, Block> map = new HashMap<>();
- map.put(Location.fromXYZ(2,3,4), world.getBlockAtXYZ(2,3,4));
- @SuppressWarnings("rawtypes")
- Map<Object, Block> castMap = (Map<Object, Block>)map;
- castMap.put("lmao", world.getBlockAtXYZ(100, 4, -100));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement