net.minecraft.screen

public interface ScreenHandlerContext

net.minecraft.world.inventory.ContainerLevelAccess
net.minecraft.class_3914
net.minecraft.screen.ScreenHandlerContext

Field summary

Modifier and TypeField
ScreenHandlerContext
NULL
field_17304
EMPTY

Method summary

Modifier and TypeMethod
static ScreenHandlerContext
create(Level level, BlockPos pos)
method_17392(class_1937 arg0, class_2338 arg1)
create(World world, BlockPos pos)
<T> Optional<T>
evaluate(BiFunction<Level, BlockPos, T> action)
method_17395(BiFunction<class_1937, class_2338, T> arg0)
get(BiFunction<World, BlockPos, T> getter)
default <T> T
evaluate(BiFunction<Level, BlockPos, T> action, T defaultValue)
method_17396(BiFunction<class_1937, class_2338, T> arg0, T arg1)
get(BiFunction<World, BlockPos, T> getter, T defaultValue)
default void
execute(BiConsumer<Level, BlockPos> action)
method_17393(BiConsumer<class_1937, class_2338> arg0)
run(BiConsumer<World, BlockPos> function)
private static Optional
lambda$execute$0(BiConsumer arg0, Level arg1, BlockPos arg2)
method_17394(BiConsumer arg0, class_1937 arg1, class_2338 arg2)
method_17394(BiConsumer arg0, World world, BlockPos pos)