Class NativeStoragePolicy
java.lang.Object
net.raphimc.viabedrock.api.model.container.NativeStoragePolicy
Descriptor bindings belong to the storage definition and its connection registry.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepts(BedrockItem item, Function<BedrockItem, ItemRecipeDescriptor> descriptor) Filter admission is independent of recipe-source locks, quantity and slot permissions.booleanstatic NativeStoragePolicybind(ItemStoragePolicy policy, NativeRecipeDescriptor.Registry registry, Integer molangVersion) The caller must supply a known language context; raw storage metadata does not establish one.intmaxSlots()
-
Method Details
-
bind
public static NativeStoragePolicy bind(ItemStoragePolicy policy, NativeRecipeDescriptor.Registry registry, Integer molangVersion) The caller must supply a known language context; raw storage metadata does not establish one. -
accepts
Filter admission is independent of recipe-source locks, quantity and slot permissions. -
maxSlots
public int maxSlots() -
allowNested
public boolean allowNested() -
molangVersion
-