Modifier and Type | Method and Description |
---|---|
void |
Block.fillItemGroup(ItemGroup group,
NonNullList<ItemStack> items) |
Modifier and Type | Field and Description |
---|---|
NonNullList<ItemStack> |
CreativeScreen.CreativeContainer.itemList |
Modifier and Type | Method and Description |
---|---|
void |
AnvilScreen.sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList) |
void |
CreativeCraftingListener.sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
HotbarSnapshot.hotbarItems |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
LivingEntity.armorArray |
private NonNullList<ItemStack> |
LivingEntity.handInventory |
private NonNullList<ItemStack> |
MobEntity.inventoryArmor |
private NonNullList<ItemStack> |
MobEntity.inventoryHands |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
ArmorStandEntity.armorItems |
private NonNullList<ItemStack> |
ArmorStandEntity.handItems |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
ContainerMinecartEntity.minecartContainerItems |
Modifier and Type | Field and Description |
---|---|
NonNullList<ItemStack> |
PlayerInventory.armorInventory |
NonNullList<ItemStack> |
PlayerInventory.mainInventory |
NonNullList<ItemStack> |
PlayerInventory.offHandInventory |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NonNullList<ItemStack>> |
PlayerInventory.allInventories |
Modifier and Type | Method and Description |
---|---|
void |
ServerPlayerEntity.sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
Inventory.inventoryContents |
private NonNullList<ItemStack> |
MerchantInventory.slots |
private NonNullList<ItemStack> |
CraftingInventory.stackList |
private NonNullList<ItemStack> |
CraftResultInventory.stackResult |
Modifier and Type | Method and Description |
---|---|
static void |
InventoryHelper.dropItems(World p_219961_0_,
BlockPos p_219961_1_,
NonNullList<ItemStack> p_219961_2_) |
static void |
ItemStackHelper.loadAllItems(CompoundNBT tag,
NonNullList<ItemStack> list) |
static CompoundNBT |
ItemStackHelper.saveAllItems(CompoundNBT tag,
NonNullList<ItemStack> list) |
static CompoundNBT |
ItemStackHelper.saveAllItems(CompoundNBT tag,
NonNullList<ItemStack> list,
boolean saveEmpty) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
Container.inventoryItemStacks |
Modifier and Type | Method and Description |
---|---|
NonNullList<ItemStack> |
Container.getInventory() |
Modifier and Type | Method and Description |
---|---|
void |
IContainerListener.sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList) |
Modifier and Type | Method and Description |
---|---|
void |
ItemGroup.fill(NonNullList<ItemStack> items) |
void |
TippedArrowItem.fillItemGroup(ItemGroup group,
NonNullList<ItemStack> items) |
void |
BlockItem.fillItemGroup(ItemGroup group,
NonNullList<ItemStack> items) |
void |
EnchantedBookItem.fillItemGroup(ItemGroup group,
NonNullList<ItemStack> items) |
void |
PotionItem.fillItemGroup(ItemGroup group,
NonNullList<ItemStack> items) |
void |
Item.fillItemGroup(ItemGroup group,
NonNullList<ItemStack> items) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<Ingredient> |
ShapedRecipe.recipeItems |
private NonNullList<Ingredient> |
ShapelessRecipe.recipeItems |
Modifier and Type | Method and Description |
---|---|
private static NonNullList<Ingredient> |
ShapedRecipe.deserializeIngredients(java.lang.String[] pattern,
java.util.Map<java.lang.String,Ingredient> keys,
int patternWidth,
int patternHeight) |
NonNullList<Ingredient> |
SingleItemRecipe.getIngredients() |
NonNullList<Ingredient> |
ShapedRecipe.getIngredients() |
NonNullList<Ingredient> |
ShapelessRecipe.getIngredients() |
default NonNullList<Ingredient> |
IRecipe.getIngredients() |
NonNullList<Ingredient> |
AbstractCookingRecipe.getIngredients() |
<C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipeNonNull(IRecipeType<T> recipeTypeIn,
C inventoryIn,
World worldIn) |
default NonNullList<ItemStack> |
IRecipe.getRemainingItems(C inv) |
NonNullList<ItemStack> |
BookCloningRecipe.getRemainingItems(CraftingInventory inv) |
NonNullList<ItemStack> |
BannerDuplicateRecipe.getRemainingItems(CraftingInventory inv) |
private static NonNullList<Ingredient> |
ShapelessRecipe.Serializer.readIngredients(com.google.gson.JsonArray p_199568_0_) |
Constructor and Description |
---|
ShapedRecipe(ResourceLocation idIn,
java.lang.String groupIn,
int recipeWidthIn,
int recipeHeightIn,
NonNullList<Ingredient> recipeItemsIn,
ItemStack recipeOutputIn) |
ShapelessRecipe(ResourceLocation idIn,
java.lang.String groupIn,
ItemStack recipeOutputIn,
NonNullList<Ingredient> recipeItemsIn) |
Constructor and Description |
---|
SWindowItemsPacket(int p_i47317_1_,
NonNullList<ItemStack> p_i47317_2_) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
BarrelTileEntity.barrelContents |
private NonNullList<ItemStack> |
BrewingStandTileEntity.brewingItemStacks |
private NonNullList<ItemStack> |
ChestTileEntity.chestContents |
private NonNullList<ItemStack> |
CampfireTileEntity.inventory |
private NonNullList<ItemStack> |
HopperTileEntity.inventory |
private NonNullList<ItemStack> |
ShulkerBoxTileEntity.items |
protected NonNullList<ItemStack> |
AbstractFurnaceTileEntity.items |
private NonNullList<ItemStack> |
DispenserTileEntity.stacks |
Modifier and Type | Method and Description |
---|---|
NonNullList<ItemStack> |
CampfireTileEntity.getInventory() |
protected NonNullList<ItemStack> |
ChestTileEntity.getItems() |
protected NonNullList<ItemStack> |
BarrelTileEntity.getItems() |
protected NonNullList<ItemStack> |
ShulkerBoxTileEntity.getItems() |
protected NonNullList<ItemStack> |
DispenserTileEntity.getItems() |
protected abstract NonNullList<ItemStack> |
LockableLootTileEntity.getItems() |
protected NonNullList<ItemStack> |
HopperTileEntity.getItems() |
Modifier and Type | Method and Description |
---|---|
protected void |
ChestTileEntity.setItems(NonNullList<ItemStack> itemsIn) |
protected void |
BarrelTileEntity.setItems(NonNullList<ItemStack> itemsIn) |
protected void |
ShulkerBoxTileEntity.setItems(NonNullList<ItemStack> itemsIn) |
protected void |
DispenserTileEntity.setItems(NonNullList<ItemStack> itemsIn) |
protected abstract void |
LockableLootTileEntity.setItems(NonNullList<ItemStack> itemsIn) |
protected void |
HopperTileEntity.setItems(NonNullList<ItemStack> itemsIn) |
Modifier and Type | Method and Description |
---|---|
static <E> NonNullList<E> |
NonNullList.create() |
static <E> NonNullList<E> |
NonNullList.from(E defaultElementIn,
E... elements) |
static <E> NonNullList<E> |
NonNullList.withSize(int size,
E fill) |
Modifier and Type | Method and Description |
---|---|
static void |
BrewingRecipeRegistry.brewPotions(NonNullList<ItemStack> inputs,
ItemStack ingredient,
int[] inputIndexes)
Used by the brewing stand to brew its inventory Extra parameters exist to
allow modders to create bigger brewing stands without much hassle
|
static boolean |
BrewingRecipeRegistry.canBrew(NonNullList<ItemStack> inputs,
ItemStack ingredient,
int[] inputIndexes)
Used by the brewing stand to determine if its contents can be brewed.
|
Modifier and Type | Method and Description |
---|---|
static float |
ForgeEventFactory.fireBlockHarvesting(NonNullList<ItemStack> drops,
World world,
BlockPos pos,
BlockState state,
int fortune,
float dropChance,
boolean silkTouch,
PlayerEntity player) |
static boolean |
ForgeEventFactory.onPotionAttemptBrew(NonNullList<ItemStack> stacks) |
static void |
ForgeEventFactory.onPotionBrewed(NonNullList<ItemStack> brewingItemStacks) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
PotionBrewEvent.stacks |
Constructor and Description |
---|
Post(NonNullList<ItemStack> stacks) |
PotionBrewEvent(NonNullList<ItemStack> stacks) |
Pre(NonNullList<ItemStack> stacks) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
ItemFishedEvent.stacks |
Modifier and Type | Method and Description |
---|---|
NonNullList<ItemStack> |
ItemFishedEvent.getDrops()
Use this to get the items the player will receive.
|
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
BlockEvent.HarvestDropsEvent.drops |
Constructor and Description |
---|
HarvestDropsEvent(World world,
BlockPos pos,
BlockState state,
int fortuneLevel,
float dropChance,
NonNullList<ItemStack> drops,
PlayerEntity harvester,
boolean isSilkTouching) |
Modifier and Type | Field and Description |
---|---|
protected NonNullList<ItemStack> |
ItemStackHandler.stacks |
Constructor and Description |
---|
ItemStackHandler(NonNullList<ItemStack> stacks) |