Package net.minecraft.util
Interface IWorldPosCallable
-
public interface IWorldPosCallable
-
-
Field Summary
Fields Modifier and Type Field Description static IWorldPosCallable
NULL
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static IWorldPosCallable
create(World p_221488_0_, BlockPos p_221488_1_)
<T> java.util.Optional<T>
evaluate(java.util.function.BiFunction<World,BlockPos,T> p_221484_1_)
default <T> T
evaluate(java.util.function.BiFunction<World,BlockPos,T> p_221485_1_, T p_221485_2_)
default void
execute(java.util.function.BiConsumer<World,BlockPos> p_221486_1_)
-
-
-
Field Detail
-
NULL
static final IWorldPosCallable NULL
-
-
Method Detail
-
create
static IWorldPosCallable create(World p_221488_0_, BlockPos p_221488_1_)
-
evaluate
<T> java.util.Optional<T> evaluate(java.util.function.BiFunction<World,BlockPos,T> p_221484_1_)
-
evaluate
default <T> T evaluate(java.util.function.BiFunction<World,BlockPos,T> p_221485_1_, T p_221485_2_)
-
-