Class FabricNegativityHolder
java.lang.Object
com.elikill58.negativity.api.inventory.PlatformHolder
com.elikill58.negativity.api.inventory.InventoryHolder
com.elikill58.negativity.api.inventory.NegativityHolder
com.elikill58.negativity.fabric.impl.inventory.holders.FabricNegativityHolder
- All Implemented Interfaces:
net.minecraft.screen.ScreenHandlerContext
public class FabricNegativityHolder
extends NegativityHolder
implements net.minecraft.screen.ScreenHandlerContext
-
Field Summary
Fields inherited from interface net.minecraft.screen.ScreenHandlerContext
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> Optional<T>
get
(BiFunction<net.minecraft.world.World, net.minecraft.util.math.BlockPos, T> getter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.screen.ScreenHandlerContext
get, run
-
Constructor Details
-
FabricNegativityHolder
-
-
Method Details
-
get
public <T> Optional<T> get(BiFunction<net.minecraft.world.World, net.minecraft.util.math.BlockPos, T> getter) - Specified by:
get
in interfacenet.minecraft.screen.ScreenHandlerContext
-
getBasicHolder
- Overrides:
getBasicHolder
in classNegativityHolder
-