Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //X.java
- package net.minecraft.shared.blocks;
- class X {
- protected static void a() {}
- }
- //Y.java
- package net.minecraft.shared.generators;
- import net.minecraft.shared.blocks.X;
- class Y {
- public static void main(String[] args) {
- X.a(); //The method a() from the type X is not visible
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment