Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface Foo {
- default World getWorld() {
- return func_1234_a();
- }
- default World func_1234_a() {
- throw new IllegalStateException();
- }
- }
- // works
- class TE extends TileEntity implements Foo {
- }
- // works, too
- class SomethingElse implements Foo {
- World getWorld() {
- return world;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement