mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-26 02:19:23 +00:00
improve waterlogged
This commit is contained in:
@@ -8,10 +8,6 @@ public abstract class BlockBehavior {
|
||||
return superMethod.call();
|
||||
}
|
||||
|
||||
public Object getFluidState(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
|
||||
return superMethod.call();
|
||||
}
|
||||
|
||||
public void tick(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
|
||||
superMethod.call();
|
||||
}
|
||||
@@ -48,4 +44,20 @@ public abstract class BlockBehavior {
|
||||
public Object updateStateForPlacement(Object context, Object state) {
|
||||
return state;
|
||||
}
|
||||
|
||||
//
|
||||
// public Object getFluidState(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
|
||||
// return superMethod.call();
|
||||
// }
|
||||
// public boolean canPlaceLiquid(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
|
||||
// return (boolean) superMethod.call();
|
||||
// }
|
||||
//
|
||||
// public boolean placeLiquid(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
|
||||
// return (boolean) superMethod.call();
|
||||
// }
|
||||
//
|
||||
// public Object pickupBlock(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
|
||||
// return superMethod.call();
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user