Modifier and Type | Field and Description |
---|---|
private ItemStack |
DisplayInfo.icon |
Modifier and Type | Method and Description |
---|---|
private static ItemStack |
DisplayInfo.deserializeIcon(com.google.gson.JsonObject object) |
ItemStack |
DisplayInfo.getIcon() |
Modifier and Type | Method and Description |
---|---|
Advancement.Builder |
Advancement.Builder.withDisplay(ItemStack stack,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |
Constructor and Description |
---|
DisplayInfo(ItemStack icon,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |
Modifier and Type | Method and Description |
---|---|
void |
ShotCrossbowTrigger.func_215111_a(ServerPlayerEntity shooter,
ItemStack stack) |
void |
VillagerTradeTrigger.func_215114_a(ServerPlayerEntity p_215114_1_,
AbstractVillagerEntity p_215114_2_,
ItemStack p_215114_3_) |
boolean |
ShotCrossbowTrigger.Instance.func_215121_a(ItemStack p_215121_1_) |
boolean |
VillagerTradeTrigger.Instance.func_215125_a(ServerPlayerEntity p_215125_1_,
AbstractVillagerEntity p_215125_2_,
ItemStack p_215125_3_) |
boolean |
BeeNestDestroyedTrigger.Instance.func_226228_a_(Block p_226228_1_,
ItemStack p_226228_2_,
int p_226228_3_) |
boolean |
RightClickBlockWithItemTrigger.Instance.func_226700_a_(BlockState p_226700_1_,
ServerWorld p_226700_2_,
BlockPos p_226700_3_,
ItemStack p_226700_4_) |
boolean |
PlacedBlockTrigger.Instance.test(BlockState state,
BlockPos pos,
ServerWorld world,
ItemStack item) |
boolean |
ItemPredicate.test(ItemStack item) |
boolean |
UsedTotemTrigger.Instance.test(ItemStack item) |
boolean |
ConsumeItemTrigger.Instance.test(ItemStack item) |
boolean |
NBTPredicate.test(ItemStack item) |
boolean |
FilledBucketTrigger.Instance.test(ItemStack p_204826_1_) |
boolean |
EnchantedItemTrigger.Instance.test(ItemStack item,
int levelsIn) |
boolean |
ItemDurabilityTrigger.Instance.test(ItemStack item,
int p_193197_2_) |
void |
BeeNestDestroyedTrigger.test(ServerPlayerEntity p_226223_1_,
Block p_226223_2_,
ItemStack p_226223_3_,
int p_226223_4_) |
void |
RightClickBlockWithItemTrigger.test(ServerPlayerEntity p_226695_1_,
BlockPos p_226695_2_,
ItemStack p_226695_3_) |
boolean |
FishingRodHookedTrigger.Instance.test(ServerPlayerEntity p_204830_1_,
ItemStack p_204830_2_,
FishingBobberEntity p_204830_3_,
java.util.Collection<ItemStack> p_204830_4_) |
void |
PlacedBlockTrigger.trigger(ServerPlayerEntity player,
BlockPos pos,
ItemStack item) |
void |
UsedTotemTrigger.trigger(ServerPlayerEntity player,
ItemStack item) |
void |
ConsumeItemTrigger.trigger(ServerPlayerEntity player,
ItemStack item) |
void |
FilledBucketTrigger.trigger(ServerPlayerEntity p_204817_1_,
ItemStack p_204817_2_) |
void |
FishingRodHookedTrigger.trigger(ServerPlayerEntity p_204820_1_,
ItemStack p_204820_2_,
FishingBobberEntity p_204820_3_,
java.util.Collection<ItemStack> p_204820_4_) |
void |
EnchantedItemTrigger.trigger(ServerPlayerEntity player,
ItemStack item,
int levelsSpent) |
void |
ItemDurabilityTrigger.trigger(ServerPlayerEntity player,
ItemStack itemIn,
int newDurability) |
Modifier and Type | Method and Description |
---|---|
boolean |
FishingRodHookedTrigger.Instance.test(ServerPlayerEntity p_204830_1_,
ItemStack p_204830_2_,
FishingBobberEntity p_204830_3_,
java.util.Collection<ItemStack> p_204830_4_) |
void |
FishingRodHookedTrigger.trigger(ServerPlayerEntity p_204820_1_,
ItemStack p_204820_2_,
FishingBobberEntity p_204820_3_,
java.util.Collection<ItemStack> p_204820_4_) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemStack> |
SkullWallPlayerBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
BeehiveBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
ShulkerBoxBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
MovingPistonBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
FlowingFluidBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
Block.getDrops(BlockState state,
LootContext.Builder builder)
Deprecated.
|
static java.util.List<ItemStack> |
Block.getDrops(BlockState state,
ServerWorld worldIn,
BlockPos pos,
TileEntity tileEntityIn) |
static java.util.List<ItemStack> |
Block.getDrops(BlockState state,
ServerWorld worldIn,
BlockPos pos,
TileEntity tileEntityIn,
Entity entityIn,
ItemStack stack) |
java.util.List<ItemStack> |
BlockState.getDrops(LootContext.Builder builder) |
Modifier and Type | Method and Description |
---|---|
void |
ShulkerBoxBlock.addInformation(ItemStack stack,
IBlockReader worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
Block.addInformation(ItemStack stack,
IBlockReader worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
private static boolean |
ComposterBlock.addItem(BlockState p_220293_0_,
IWorld p_220293_1_,
BlockPos p_220293_2_,
ItemStack p_220293_3_) |
boolean |
ComposterBlock.EmptyInventory.canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
ComposterBlock.FullInventory.canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
ComposterBlock.PartialInventory.canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
ComposterBlock.EmptyInventory.canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
boolean |
ComposterBlock.FullInventory.canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
boolean |
ComposterBlock.PartialInventory.canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
static boolean |
WitherSkeletonSkullBlock.canSpawnMob(World p_196299_0_,
BlockPos p_196299_1_,
ItemStack p_196299_2_) |
protected IDispenseItemBehavior |
DropperBlock.getBehavior(ItemStack stack) |
protected IDispenseItemBehavior |
DispenserBlock.getBehavior(ItemStack stack) |
static java.util.List<ItemStack> |
Block.getDrops(BlockState state,
ServerWorld worldIn,
BlockPos pos,
TileEntity tileEntityIn,
Entity entityIn,
ItemStack stack) |
void |
BeehiveBlock.harvestBlock(World worldIn,
PlayerEntity player,
BlockPos pos,
BlockState state,
TileEntity te,
ItemStack stack) |
void |
DoorBlock.harvestBlock(World worldIn,
PlayerEntity player,
BlockPos pos,
BlockState state,
TileEntity te,
ItemStack stack) |
void |
BedBlock.harvestBlock(World worldIn,
PlayerEntity player,
BlockPos pos,
BlockState state,
TileEntity te,
ItemStack stack) |
void |
TurtleEggBlock.harvestBlock(World worldIn,
PlayerEntity player,
BlockPos pos,
BlockState state,
TileEntity te,
ItemStack stack) |
void |
IceBlock.harvestBlock(World worldIn,
PlayerEntity player,
BlockPos pos,
BlockState state,
TileEntity te,
ItemStack stack) |
void |
Block.harvestBlock(World worldIn,
PlayerEntity player,
BlockPos pos,
BlockState state,
TileEntity te,
ItemStack stack) |
void |
DoublePlantBlock.harvestBlock(World worldIn,
PlayerEntity player,
BlockPos pos,
BlockState state,
TileEntity te,
ItemStack stack) |
void |
JukeboxBlock.insertRecord(IWorld worldIn,
BlockPos pos,
BlockState state,
ItemStack recordStack) |
void |
SkullWallPlayerBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
CommandBlockBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
TripWireHookBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BeaconBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
DoorBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BedBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
AbstractBannerBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
WitherSkeletonSkullBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
StructureBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
DispenserBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
ShulkerBoxBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
RedstoneDiodeBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BarrelBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
HopperBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
WitherSkeletonWallSkullBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
ConduitBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
EnchantingTableBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
PistonBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
BrewingStandBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
Block.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
DoublePlantBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
SkullPlayerBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
AbstractFurnaceBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
void |
ChestBlock.onBlockPlacedBy(World worldIn,
BlockPos pos,
BlockState state,
LivingEntity placer,
ItemStack stack) |
private static void |
LecternBlock.placeBook(World worldIn,
BlockPos pos,
BlockState state,
ItemStack stack) |
void |
SpawnerBlock.spawnAdditionalDrops(BlockState state,
World worldIn,
BlockPos pos,
ItemStack stack) |
void |
SilverfishBlock.spawnAdditionalDrops(BlockState state,
World worldIn,
BlockPos pos,
ItemStack stack) |
void |
RedstoneOreBlock.spawnAdditionalDrops(BlockState state,
World worldIn,
BlockPos pos,
ItemStack stack) |
void |
OreBlock.spawnAdditionalDrops(BlockState state,
World worldIn,
BlockPos pos,
ItemStack stack) |
void |
Block.spawnAdditionalDrops(BlockState state,
World worldIn,
BlockPos pos,
ItemStack stack)
Deprecated.
|
void |
BlockState.spawnAdditionalDrops(World worldIn,
BlockPos pos,
ItemStack stack) |
static void |
Block.spawnAsEntity(World worldIn,
BlockPos pos,
ItemStack stack) |
static void |
Block.spawnDrops(BlockState state,
World worldIn,
BlockPos pos,
TileEntity tileEntityIn,
Entity entityIn,
ItemStack stack) |
static boolean |
LecternBlock.tryPlaceBook(World worldIn,
BlockPos pos,
BlockState state,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
void |
Block.fillItemGroup(ItemGroup group,
NonNullList<ItemStack> items) |
Constructor and Description |
---|
FullInventory(BlockState p_i50463_1_,
IWorld p_i50463_2_,
BlockPos p_i50463_3_,
ItemStack p_i50463_4_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
Minecraft.storeTEInStack(ItemStack stack,
TileEntity te) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
Minecraft.storeTEInStack(ItemStack stack,
TileEntity te) |
Modifier and Type | Method and Description |
---|---|
void |
ClientPlayerEntity.openBook(ItemStack stack,
Hand hand) |
Modifier and Type | Field and Description |
---|---|
protected ItemStack |
IngameGui.highlightingItemStack |
Modifier and Type | Method and Description |
---|---|
private void |
IngameGui.renderHotbarItem(int x,
int y,
float partialTicks,
PlayerEntity player,
ItemStack stack) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
AdvancementTabGui.icon |
Modifier and Type | Method and Description |
---|---|
void |
AdvancementTabType.drawIcon(int p_192652_1_,
int p_192652_2_,
int p_192652_3_,
ItemRenderer renderItemIn,
ItemStack stack) |
Modifier and Type | Field and Description |
---|---|
ItemStack[] |
RecipeOverlayGui.RecipeButtonWidget.Child.field_201705_a |
Modifier and Type | Method and Description |
---|---|
ItemStack |
GhostRecipe.GhostIngredient.getItem() |
Constructor and Description |
---|
Child(int p_i48748_2_,
int p_i48748_3_,
ItemStack[] p_i48748_4_) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
EditBookScreen.book |
private ItemStack |
LoomScreen.field_214119_q |
private ItemStack |
LoomScreen.field_214120_r |
private ItemStack |
LoomScreen.field_214121_s |
private ItemStack |
EnchantmentScreen.last |
Modifier and Type | Method and Description |
---|---|
private void |
CreateFlatWorldScreen.DetailsList.LayerEntry.func_214389_a(int p_214389_1_,
int p_214389_2_,
ItemStack p_214389_3_) |
static ReadBookScreen.IBookInfo |
ReadBookScreen.IBookInfo.func_216917_a(ItemStack p_216917_0_) |
private static java.util.List<java.lang.String> |
ReadBookScreen.UnwrittenBookInfo.func_216919_b(ItemStack p_216919_0_) |
private static java.util.List<java.lang.String> |
ReadBookScreen.WrittenBookInfo.func_216921_b(ItemStack stack) |
java.util.List<java.lang.String> |
Screen.getTooltipFromItem(ItemStack p_getTooltipFromItem_1_) |
protected void |
Screen.renderTooltip(ItemStack p_renderTooltip_1_,
int p_renderTooltip_2_,
int p_renderTooltip_3_) |
Constructor and Description |
---|
EditBookScreen(PlayerEntity player,
ItemStack bookIn,
Hand handIn) |
UnwrittenBookInfo(ItemStack p_i50617_1_) |
WrittenBookInfo(ItemStack p_i50616_1_) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
ContainerScreen.draggedStack |
private ItemStack |
ContainerScreen.returningStack |
private ItemStack |
ContainerScreen.shiftClickedSlot |
Modifier and Type | Field and Description |
---|---|
NonNullList<ItemStack> |
CreativeScreen.CreativeContainer.itemList |
Modifier and Type | Method and Description |
---|---|
ItemStack |
CreativeScreen.CreativeSlot.decrStackSize(int amount) |
ItemStack |
CreativeScreen.CreativeSlot.getStack() |
ItemStack |
CreativeScreen.CreativeSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
CreativeScreen.CreativeContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
Modifier and Type | Method and Description |
---|---|
boolean |
CreativeScreen.CreativeContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
private void |
ContainerScreen.drawItemStack(ItemStack stack,
int x,
int y,
java.lang.String altText) |
private void |
MerchantScreen.func_214137_a(ItemStack p_214137_1_,
ItemStack p_214137_2_,
int p_214137_3_,
int p_214137_4_) |
int |
CreativeScreen.CreativeSlot.getItemStackLimit(ItemStack stack) |
boolean |
CreativeScreen.CreativeSlot.isItemValid(ItemStack stack) |
ItemStack |
CreativeScreen.CreativeSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
void |
CreativeScreen.CreativeSlot.putStack(ItemStack stack) |
protected void |
CreativeScreen.renderTooltip(ItemStack p_renderTooltip_1_,
int p_renderTooltip_2_,
int p_renderTooltip_3_) |
void |
AnvilScreen.sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack) |
void |
CreativeCraftingListener.sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack) |
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 ItemStack |
PlayerController.currentItemHittingBlock |
Modifier and Type | Method and Description |
---|---|
ItemStack |
PlayerController.windowClick(int windowId,
int slotId,
int mouseButton,
ClickType type,
PlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
void |
PlayerController.sendPacketDropItem(ItemStack itemStackIn) |
void |
PlayerController.sendSlotPacket(ItemStack itemStackIn,
int slotId) |
Modifier and Type | Method and Description |
---|---|
private static ItemStack |
ClientPlayNetHandler.func_217282_a(PlayerEntity p_217282_0_) |
Constructor and Description |
---|
BreakingParticle(World p_i47644_1_,
double p_i47644_2_,
double p_i47644_4_,
double p_i47644_6_,
double p_i47644_8_,
double p_i47644_10_,
double p_i47644_12_,
ItemStack p_i47644_14_) |
BreakingParticle(World p_i47645_1_,
double p_i47645_2_,
double p_i47645_4_,
double p_i47645_6_,
ItemStack p_i47645_8_) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
GameRenderer.itemActivationItem |
private ItemStack |
FirstPersonRenderer.itemStackMainHand |
private ItemStack |
FirstPersonRenderer.itemStackOffHand |
Modifier and Type | Method and Description |
---|---|
void |
GameRenderer.displayItemActivation(ItemStack stack) |
IBakedModel |
ItemModelMesher.getItemModel(ItemStack stack) |
IBakedModel |
ItemRenderer.getItemModelWithOverrides(ItemStack stack,
World worldIn,
LivingEntity entitylivingbaseIn) |
private IBakedModel |
ItemRenderer.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
TextureAtlasSprite |
ItemModelMesher.getParticleIcon(ItemStack stack) |
static RenderType |
RenderTypeLookup.getRenderType(ItemStack itemStackIn) |
void |
ItemRenderer.renderItem(ItemStack itemStackIn,
ItemCameraTransforms.TransformType transformTypeIn,
boolean leftHand,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn,
IBakedModel modelIn) |
void |
ItemRenderer.renderItem(ItemStack itemStackIn,
ItemCameraTransforms.TransformType transformTypeIn,
int combinedLightIn,
int combinedOverlayIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn) |
void |
ItemRenderer.renderItem(LivingEntity livingEntityIn,
ItemStack itemStackIn,
ItemCameraTransforms.TransformType transformTypeIn,
boolean leftHand,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
World worldIn,
int combinedLightIn,
int combinedOverlayIn) |
void |
ItemRenderer.renderItemAndEffectIntoGUI(ItemStack stack,
int xPosition,
int yPosition) |
void |
ItemRenderer.renderItemAndEffectIntoGUI(LivingEntity entityIn,
ItemStack itemIn,
int x,
int y) |
private void |
FirstPersonRenderer.renderItemInFirstPerson(AbstractClientPlayerEntity player,
float partialTicks,
float pitch,
Hand handIn,
float swingProgress,
ItemStack stack,
float equippedProgress,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn) |
void |
ItemRenderer.renderItemIntoGUI(ItemStack stack,
int x,
int y) |
protected void |
ItemRenderer.renderItemModelIntoGUI(ItemStack stack,
int x,
int y,
IBakedModel bakedmodel) |
void |
ItemRenderer.renderItemOverlayIntoGUI(FontRenderer fr,
ItemStack stack,
int xPosition,
int yPosition,
java.lang.String text) |
void |
ItemRenderer.renderItemOverlays(FontRenderer fr,
ItemStack stack,
int xPosition,
int yPosition) |
void |
FirstPersonRenderer.renderItemSide(LivingEntity livingEntityIn,
ItemStack itemStackIn,
ItemCameraTransforms.TransformType transformTypeIn,
boolean leftHand,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn) |
private void |
FirstPersonRenderer.renderMapFirstPerson(MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
ItemStack stack) |
private void |
FirstPersonRenderer.renderMapFirstPersonSide(MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
float equippedProgress,
HandSide handIn,
float swingProgress,
ItemStack stack) |
private void |
ItemRenderer.renderModel(IBakedModel modelIn,
ItemStack stack,
int combinedLightIn,
int combinedOverlayIn,
MatrixStack matrixStackIn,
IVertexBuilder bufferIn) |
void |
ItemRenderer.renderQuads(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
java.util.List<BakedQuad> quadsIn,
ItemStack itemStackIn,
int combinedLightIn,
int combinedOverlayIn) |
private void |
FirstPersonRenderer.transformEatFirstPerson(MatrixStack matrixStackIn,
float partialTicks,
HandSide handIn,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
int |
IItemColor.getColor(ItemStack p_getColor_1_,
int p_getColor_2_) |
int |
ItemColors.getColor(ItemStack stack,
int tintIndex) |
Modifier and Type | Method and Description |
---|---|
private BipedModel.ArmPose |
PlayerRenderer.getArmPose(AbstractClientPlayerEntity playerIn,
ItemStack itemStackMain,
ItemStack itemStackOff,
Hand handIn) |
protected int |
ItemRenderer.getModelCount(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
private void |
HeldItemLayer.func_229135_a_(LivingEntity p_229135_1_,
ItemStack p_229135_2_,
ItemCameraTransforms.TransformType p_229135_3_,
HandSide p_229135_4_,
MatrixStack p_229135_5_,
IRenderTypeBuffer p_229135_6_,
int p_229135_7_) |
protected A |
ArmorLayer.getArmorModelHook(T entity,
ItemStack itemStack,
EquipmentSlotType slot,
A model)
Hook to allow item-sensitive armor model.
|
protected A |
BipedArmorLayer.getArmorModelHook(T entity,
ItemStack itemStack,
EquipmentSlotType slot,
A model) |
ResourceLocation |
ArmorLayer.getArmorResource(Entity entity,
ItemStack stack,
EquipmentSlotType slot,
java.lang.String type)
More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.
|
ResourceLocation |
ElytraLayer.getElytraTexture(ItemStack stack,
T entity)
Gets the texture to use with this ElytraLayer.
|
boolean |
ElytraLayer.shouldRender(ItemStack stack,
T entity)
Determines if the ElytraLayer should render.
|
Modifier and Type | Method and Description |
---|---|
IBakedModel |
ItemOverrideList.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
(package private) boolean |
ItemOverride.matchesItemStack(ItemStack stack,
World worldIn,
LivingEntity livingEntity) |
Modifier and Type | Method and Description |
---|---|
void |
ItemStackTileEntityRenderer.render(ItemStack itemStackIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
HotbarSnapshot.hotbarItems |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ItemStack> |
HotbarSnapshot.delegate() |
Modifier and Type | Method and Description |
---|---|
void |
FindTreeStep.handleSetSlot(ItemStack stack) |
void |
Tutorial.handleSetSlot(ItemStack stack) |
default void |
ITutorialStep.handleSetSlot(ItemStack stack) |
void |
PunchTreeStep.handleSetSlot(ItemStack stack) |
void |
CraftPlanksStep.handleSetSlot(ItemStack stack) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ItemStack> |
RecipeBookCategories.icons |
static SearchTreeManager.Key<ItemStack> |
SearchTreeManager.ITEMS |
static SearchTreeManager.Key<ItemStack> |
SearchTreeManager.TAGS |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemStack> |
RecipeBookCategories.getIcons() |
Constructor and Description |
---|
RecipeBookCategories(ItemStack... p_i48836_3_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
ItemInput.createStack(int count,
boolean allowOversizedStacks) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Predicate<ItemStack> |
ItemPredicateArgument.IResult.create(com.mojang.brigadier.context.CommandContext<CommandSource> p_create_1_) |
static java.util.function.Predicate<ItemStack> |
ItemPredicateArgument.getItemPredicate(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
ItemInput.test(ItemStack p_test_1_) |
boolean |
ItemPredicateArgument.ItemPredicate.test(ItemStack p_test_1_) |
boolean |
ItemPredicateArgument.TagPredicate.test(ItemStack p_test_1_) |
Modifier and Type | Method and Description |
---|---|
private static ItemStack |
LootCommand.func_218872_a(CommandSource p_218872_0_,
EquipmentSlotType p_218872_1_) |
Modifier and Type | Method and Description |
---|---|
private static int |
LootCommand.func_218876_a(com.mojang.brigadier.context.CommandContext<CommandSource> p_218876_0_,
ResourceLocation p_218876_1_,
BlockPos p_218876_2_,
ItemStack p_218876_3_,
LootCommand.ITargetHandler p_218876_4_) |
private static int |
LootCommand.func_218879_a(com.mojang.brigadier.context.CommandContext<CommandSource> p_218879_0_,
BlockPos p_218879_1_,
ItemStack p_218879_2_,
LootCommand.ITargetHandler p_218879_3_) |
private static boolean |
LootCommand.func_218883_a(ItemStack p_218883_0_,
ItemStack p_218883_1_) |
private static boolean |
LootCommand.func_218890_a(IInventory p_218890_0_,
ItemStack p_218890_1_) |
private static int |
ReplaceItemCommand.replaceItemBlock(CommandSource source,
BlockPos pos,
int slotIn,
ItemStack newStack) |
private static int |
ReplaceItemCommand.replaceItemEntities(CommandSource source,
java.util.Collection<? extends Entity> targets,
int slotIn,
ItemStack newStack) |
Modifier and Type | Method and Description |
---|---|
int |
LootCommand.ITargetHandler.accept(com.mojang.brigadier.context.CommandContext<CommandSource> p_accept_1_,
java.util.List<ItemStack> p_accept_2_,
LootCommand.ISuccessListener p_accept_3_) |
void |
LootCommand.ISuccessListener.accept(java.util.List<ItemStack> p_accept_1_) |
private static int |
ClearCommand.clearInventory(CommandSource source,
java.util.Collection<ServerPlayerEntity> targetPlayers,
java.util.function.Predicate<ItemStack> itemPredicateIn,
int maxCount) |
private static int |
LootCommand.func_218859_a(java.util.Collection<ServerPlayerEntity> p_218859_0_,
java.util.List<ItemStack> p_218859_1_,
LootCommand.ISuccessListener p_218859_2_) |
private static void |
LootCommand.func_218860_a(CommandSource p_218860_0_,
java.util.List<ItemStack> p_218860_1_,
ResourceLocation p_218860_2_) |
private static int |
LootCommand.func_218865_a(java.util.Collection<? extends Entity> p_218865_0_,
int p_218865_1_,
int p_218865_2_,
java.util.List<ItemStack> p_218865_3_,
LootCommand.ISuccessListener p_218865_4_) |
private static void |
LootCommand.func_218875_a(CommandSource p_218875_0_,
java.util.List<ItemStack> p_218875_1_) |
private static int |
LootCommand.func_218881_a(CommandSource p_218881_0_,
Vec3d p_218881_1_,
java.util.List<ItemStack> p_218881_2_,
LootCommand.ISuccessListener p_218881_3_) |
private static int |
LootCommand.func_218894_a(CommandSource p_218894_0_,
BlockPos p_218894_1_,
int p_218894_2_,
int p_218894_3_,
java.util.List<ItemStack> p_218894_4_,
LootCommand.ISuccessListener p_218894_5_) |
private static int |
LootCommand.func_218900_a(CommandSource p_218900_0_,
BlockPos p_218900_1_,
java.util.List<ItemStack> p_218900_2_,
LootCommand.ISuccessListener p_218900_3_) |
private static void |
LootCommand.func_218901_a(Entity p_218901_0_,
java.util.List<ItemStack> p_218901_1_,
int p_218901_2_,
int p_218901_3_,
java.util.List<ItemStack> p_218901_4_) |
private static void |
LootCommand.func_218901_a(Entity p_218901_0_,
java.util.List<ItemStack> p_218901_1_,
int p_218901_2_,
int p_218901_3_,
java.util.List<ItemStack> p_218901_4_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
IDispenseItemBehavior.dispense(IBlockSource p_dispense_1_,
ItemStack p_dispense_2_) |
ItemStack |
DefaultDispenseItemBehavior.dispense(IBlockSource p_dispense_1_,
ItemStack p_dispense_2_) |
protected ItemStack |
ShulkerBoxDispenseBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
ItemStack |
DispenseBoatBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
ItemStack |
ProjectileDispenseBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
protected ItemStack |
DefaultDispenseItemBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
IDispenseItemBehavior.dispense(IBlockSource p_dispense_1_,
ItemStack p_dispense_2_) |
ItemStack |
DefaultDispenseItemBehavior.dispense(IBlockSource p_dispense_1_,
ItemStack p_dispense_2_) |
protected ItemStack |
ShulkerBoxDispenseBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
ItemStack |
DispenseBoatBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
ItemStack |
ProjectileDispenseBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
protected ItemStack |
DefaultDispenseItemBehavior.dispenseStack(IBlockSource source,
ItemStack stack) |
static void |
DefaultDispenseItemBehavior.doDispense(World worldIn,
ItemStack stack,
int speed,
Direction facing,
IPosition position) |
protected abstract IProjectile |
ProjectileDispenseBehavior.getProjectileEntity(World worldIn,
IPosition position,
ItemStack stackIn) |
Modifier and Type | Method and Description |
---|---|
static ItemStack |
EnchantmentHelper.addRandomEnchantment(java.util.Random random,
ItemStack stack,
int level,
boolean allowTreasure) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<EquipmentSlotType,ItemStack> |
Enchantment.getEntityEquipment(LivingEntity livingEntityIn) |
static java.util.Map.Entry<EquipmentSlotType,ItemStack> |
EnchantmentHelper.getRandomItemWithEnchantment(Enchantment targetEnchantment,
LivingEntity entityIn) |
Modifier and Type | Method and Description |
---|---|
static ItemStack |
EnchantmentHelper.addRandomEnchantment(java.util.Random random,
ItemStack stack,
int level,
boolean allowTreasure) |
private static void |
EnchantmentHelper.applyEnchantmentModifier(EnchantmentHelper.IEnchantmentVisitor modifier,
ItemStack stack) |
static java.util.List<EnchantmentData> |
EnchantmentHelper.buildEnchantmentList(java.util.Random randomIn,
ItemStack itemStackIn,
int level,
boolean allowTreasure) |
static int |
EnchantmentHelper.calcItemStackEnchantability(java.util.Random rand,
int enchantNum,
int power,
ItemStack stack) |
boolean |
UnbreakingEnchantment.canApply(ItemStack stack) |
boolean |
EfficiencyEnchantment.canApply(ItemStack stack) |
boolean |
DamageEnchantment.canApply(ItemStack stack) |
boolean |
ThornsEnchantment.canApply(ItemStack stack) |
boolean |
Enchantment.canApply(ItemStack stack) |
boolean |
Enchantment.canApplyAtEnchantingTable(ItemStack stack)
This applies specifically to applying at the enchanting table.
|
static java.util.List<EnchantmentData> |
EnchantmentHelper.getEnchantmentDatas(int p_185291_0_,
ItemStack stack,
boolean allowTreasure) |
static int |
EnchantmentHelper.getEnchantmentLevel(Enchantment enchID,
ItemStack stack) |
static java.util.Map<Enchantment,java.lang.Integer> |
EnchantmentHelper.getEnchantments(ItemStack stack) |
static int |
EnchantmentHelper.getFishingLuckBonus(ItemStack stack) |
static int |
EnchantmentHelper.getFishingSpeedBonus(ItemStack stack) |
static int |
EnchantmentHelper.getLoyaltyModifier(ItemStack stack) |
static float |
EnchantmentHelper.getModifierForCreature(ItemStack stack,
CreatureAttribute creatureAttribute) |
static int |
EnchantmentHelper.getRiptideModifier(ItemStack stack) |
static boolean |
EnchantmentHelper.hasBindingCurse(ItemStack stack) |
static boolean |
EnchantmentHelper.hasChanneling(ItemStack stack) |
static boolean |
EnchantmentHelper.hasVanishingCurse(ItemStack stack) |
static boolean |
UnbreakingEnchantment.negateDamage(ItemStack stack,
int level,
java.util.Random rand) |
static void |
EnchantmentHelper.setEnchantments(java.util.Map<Enchantment,java.lang.Integer> enchMap,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
private static void |
EnchantmentHelper.applyEnchantmentModifierArray(EnchantmentHelper.IEnchantmentVisitor modifier,
java.lang.Iterable<ItemStack> stacks) |
static int |
EnchantmentHelper.getEnchantmentModifierDamage(java.lang.Iterable<ItemStack> stacks,
DamageSource source) |
Modifier and Type | Field and Description |
---|---|
protected ItemStack |
LivingEntity.activeItemStack |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
LivingEntity.armorArray |
private static java.util.List<ItemStack> |
Entity.EMPTY_EQUIPMENT |
private NonNullList<ItemStack> |
LivingEntity.handInventory |
private NonNullList<ItemStack> |
MobEntity.inventoryArmor |
private NonNullList<ItemStack> |
MobEntity.inventoryHands |
Modifier and Type | Method and Description |
---|---|
ItemStack |
LivingEntity.findAmmo(ItemStack shootable) |
ItemStack |
LivingEntity.getActiveItemStack() |
ItemStack |
LivingEntity.getHeldItem(Hand hand) |
ItemStack |
LivingEntity.getHeldItemMainhand() |
ItemStack |
LivingEntity.getHeldItemOffhand() |
ItemStack |
IRendersAsItem.getItem() |
abstract ItemStack |
LivingEntity.getItemStackFromSlot(EquipmentSlotType slotIn) |
ItemStack |
MobEntity.getItemStackFromSlot(EquipmentSlotType slotIn) |
ItemStack |
LivingEntity.onFoodEaten(World p_213357_1_,
ItemStack p_213357_2_) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Iterable<ItemStack> |
LivingEntity.getArmorInventoryList() |
java.lang.Iterable<ItemStack> |
MobEntity.getArmorInventoryList() |
java.lang.Iterable<ItemStack> |
Entity.getArmorInventoryList() |
java.lang.Iterable<ItemStack> |
Entity.getEquipmentAndArmor() |
java.lang.Iterable<ItemStack> |
MobEntity.getHeldEquipment() |
java.lang.Iterable<ItemStack> |
Entity.getHeldEquipment() |
Modifier and Type | Method and Description |
---|---|
private void |
LivingEntity.addItemParticles(ItemStack stack,
int count) |
private void |
LivingEntity.applyFoodEffects(ItemStack p_213349_1_,
World p_213349_2_,
LivingEntity p_213349_3_) |
protected boolean |
MobEntity.canEquipItem(ItemStack stack) |
boolean |
LivingEntity.canPickUpItem(ItemStack itemstackIn) |
boolean |
MobEntity.canPickUpItem(ItemStack itemstackIn) |
boolean |
LivingEntity.curePotionEffects(ItemStack curativeItem)
Removes all potion effects that have curativeItem as a curative item for its effect
|
ItemEntity |
Entity.entityDropItem(ItemStack stack) |
ItemEntity |
Entity.entityDropItem(ItemStack stack,
float offsetY) |
ItemStack |
LivingEntity.findAmmo(ItemStack shootable) |
protected SoundEvent |
LivingEntity.getDrinkSound(ItemStack stack) |
SoundEvent |
LivingEntity.getEatSound(ItemStack itemStackIn) |
static EquipmentSlotType |
MobEntity.getSlotForItemStack(ItemStack stack) |
static boolean |
MobEntity.isItemStackInSlot(EquipmentSlotType slotIn,
ItemStack stack) |
ItemStack |
LivingEntity.onFoodEaten(World p_213357_1_,
ItemStack p_213357_2_) |
protected void |
LivingEntity.playEquipSound(ItemStack stack) |
private void |
LivingEntity.renderBrokenItemStack(ItemStack stack) |
boolean |
MobEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
boolean |
Entity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
void |
LivingEntity.setHeldItem(Hand hand,
ItemStack stack) |
abstract void |
LivingEntity.setItemStackToSlot(EquipmentSlotType slotIn,
ItemStack stack) |
void |
MobEntity.setItemStackToSlot(EquipmentSlotType slotIn,
ItemStack stack) |
void |
Entity.setItemStackToSlot(EquipmentSlotType slotIn,
ItemStack stack) |
void |
ICrossbowUser.shoot(LivingEntity target,
ItemStack p_213670_2_,
IProjectile projectile,
float projectileAngle) |
protected boolean |
MobEntity.shouldExchangeEquipment(ItemStack candidate,
ItemStack existing,
EquipmentSlotType slotTypeIn) |
Entity |
EntityType.spawn(World worldIn,
ItemStack stack,
PlayerEntity playerIn,
BlockPos pos,
SpawnReason reason,
boolean p_220331_6_,
boolean p_220331_7_) |
protected void |
LivingEntity.triggerItemUseEffects(ItemStack p_226293_1_,
int p_226293_2_) |
void |
NPCMerchant.verifySellingItem(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
static void |
BrainUtil.throwItemAt(LivingEntity from,
ItemStack stack,
LivingEntity to) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
ShowWaresTask.field_220559_a |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ItemStack> |
ShowWaresTask.field_220560_b |
Modifier and Type | Method and Description |
---|---|
private ItemStack |
CelebrateRaidVictoryTask.makeFirework(DyeColor color,
int flightTime) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<ItemStack> |
GiveHeroGiftsTask.getGifts(VillagerEntity p_220399_1_) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
UseItemGoal.field_220767_b |
Modifier and Type | Method and Description |
---|---|
protected boolean |
TemptGoal.isTempting(ItemStack stack) |
Constructor and Description |
---|
UseItemGoal(T p_i50319_1_,
ItemStack p_i50319_2_,
SoundEvent p_i50319_3_,
java.util.function.Predicate<? super T> p_i50319_4_) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
ArmorStandEntity.armorItems |
private static DataParameter<ItemStack> |
EyeOfEnderEntity.field_213864_b |
private static DataParameter<ItemStack> |
FireworkRocketEntity.FIREWORK_ITEM |
private NonNullList<ItemStack> |
ArmorStandEntity.handItems |
private static DataParameter<ItemStack> |
ItemFrameEntity.ITEM |
private static DataParameter<ItemStack> |
ItemEntity.ITEM |
Modifier and Type | Method and Description |
---|---|
private ItemStack |
EyeOfEnderEntity.func_213861_i() |
static ItemStack |
ItemEntity.func_226533_a_(ItemStack p_226533_0_,
ItemStack p_226533_1_,
int p_226533_2_) |
ItemStack |
ItemFrameEntity.getDisplayedItem() |
ItemStack |
EyeOfEnderEntity.getItem() |
ItemStack |
ItemEntity.getItem() |
ItemStack |
FireworkRocketEntity.getItem() |
ItemStack |
ArmorStandEntity.getItemStackFromSlot(EquipmentSlotType slotIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<ItemStack> |
ArmorStandEntity.getArmorInventoryList() |
java.lang.Iterable<ItemStack> |
ArmorStandEntity.getHeldEquipment() |
Modifier and Type | Method and Description |
---|---|
boolean |
ArmorStandEntity.canPickUpItem(ItemStack itemstackIn) |
ItemEntity |
HangingEntity.entityDropItem(ItemStack stack,
float offsetY) |
private static void |
ItemEntity.func_213858_a(ItemEntity p_213858_0_,
ItemStack p_213858_1_,
ItemEntity p_213858_2_,
ItemStack p_213858_3_) |
void |
EyeOfEnderEntity.func_213863_b(ItemStack p_213863_1_) |
private boolean |
ArmorStandEntity.func_226529_a_(PlayerEntity p_226529_1_,
EquipmentSlotType p_226529_2_,
ItemStack p_226529_3_,
Hand p_226529_4_) |
private static void |
ItemEntity.func_226531_a_(ItemEntity p_226531_0_,
ItemStack p_226531_1_,
ItemStack p_226531_2_) |
static boolean |
ItemEntity.func_226532_a_(ItemStack p_226532_0_,
ItemStack p_226532_1_) |
static ItemStack |
ItemEntity.func_226533_a_(ItemStack p_226533_0_,
ItemStack p_226533_1_,
int p_226533_2_) |
private void |
ItemFrameEntity.removeItem(ItemStack stack) |
boolean |
ArmorStandEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
boolean |
ItemFrameEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
void |
ItemFrameEntity.setDisplayedItem(ItemStack stack) |
void |
ItemFrameEntity.setDisplayedItemWithUpdate(ItemStack stack,
boolean p_174864_2_) |
void |
ItemEntity.setItem(ItemStack stack) |
void |
ArmorStandEntity.setItemStackToSlot(EquipmentSlotType slotIn,
ItemStack stack) |
Constructor and Description |
---|
FireworkRocketEntity(World worldIn,
double x,
double y,
double z,
ItemStack givenItem) |
FireworkRocketEntity(World p_i50165_1_,
ItemStack p_i50165_2_,
double p_i50165_3_,
double p_i50165_5_,
double p_i50165_7_,
boolean p_i50165_9_) |
FireworkRocketEntity(World p_i47367_1_,
ItemStack p_i47367_2_,
LivingEntity p_i47367_3_) |
ItemEntity(World worldIn,
double x,
double y,
double z,
ItemStack stack) |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
ContainerMinecartEntity.minecartContainerItems |
Modifier and Type | Method and Description |
---|---|
ItemStack |
ContainerMinecartEntity.decrStackSize(int index,
int count) |
ItemStack |
ContainerMinecartEntity.getStackInSlot(int index) |
ItemStack |
ContainerMinecartEntity.removeStackFromSlot(int index) |
Modifier and Type | Method and Description |
---|---|
boolean |
ContainerMinecartEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
void |
ContainerMinecartEntity.setInventorySlotContents(int index,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
void |
IMerchant.verifySellingItem(ItemStack stack) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
VillagerTrades.ItemsForEmeraldsAndItemsTrade.buyingItem |
private ItemStack |
VillagerTrades.ItemsForEmeraldsTrade.field_221208_a |
private ItemStack |
VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade.potionStack |
private ItemStack |
VillagerTrades.ItemsForEmeraldsAndItemsTrade.sellingItem |
private ItemStack |
VillagerTrades.EnchantedItemForEmeraldsTrade.sellingStack |
Modifier and Type | Method and Description |
---|---|
protected SoundEvent |
WanderingTraderEntity.getDrinkSound(ItemStack stack) |
boolean |
AbstractVillagerEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
void |
AbstractVillagerEntity.verifySellingItem(ItemStack stack) |
Constructor and Description |
---|
ItemsForEmeraldsTrade(ItemStack p_i50531_1_,
int p_i50531_2_,
int p_i50531_3_,
int p_i50531_4_,
int p_i50531_5_) |
ItemsForEmeraldsTrade(ItemStack p_i50532_1_,
int p_i50532_2_,
int p_i50532_3_,
int p_i50532_4_,
int p_i50532_5_,
float p_i50532_6_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
MonsterEntity.findAmmo(ItemStack shootable) |
protected ItemStack |
ZombieEntity.getSkullDrop() |
protected ItemStack |
ZombieVillagerEntity.getSkullDrop() |
protected ItemStack |
HuskEntity.getSkullDrop() |
protected ItemStack |
ZombiePigmanEntity.getSkullDrop() |
protected ItemStack |
DrownedEntity.getSkullDrop() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ZombieEntity.canEquipItem(ItemStack stack) |
ItemStack |
MonsterEntity.findAmmo(ItemStack shootable) |
protected AbstractArrowEntity |
WitherSkeletonEntity.fireArrow(ItemStack arrowStack,
float distanceFactor) |
protected AbstractArrowEntity |
StrayEntity.fireArrow(ItemStack arrowStack,
float distanceFactor) |
protected AbstractArrowEntity |
AbstractSkeletonEntity.fireArrow(ItemStack arrowStack,
float distanceFactor) |
boolean |
PillagerEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
void |
AbstractSkeletonEntity.setItemStackToSlot(EquipmentSlotType slotIn,
ItemStack stack) |
void |
PillagerEntity.shoot(LivingEntity target,
ItemStack p_213670_2_,
IProjectile projectile,
float projectileAngle) |
protected boolean |
DrownedEntity.shouldExchangeEquipment(ItemStack candidate,
ItemStack existing,
EquipmentSlotType slotTypeIn) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemStack> |
SheepEntity.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune) |
java.util.List<ItemStack> |
MooshroomEntity.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune) |
java.util.List<ItemStack> |
SnowGolemEntity.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune) |
Modifier and Type | Method and Description |
---|---|
private boolean |
FoxEntity.canEatItem(ItemStack itemStackIn) |
protected boolean |
FoxEntity.canEquipItem(ItemStack stack) |
boolean |
FoxEntity.canPickUpItem(ItemStack itemstackIn) |
boolean |
DolphinEntity.canPickUpItem(ItemStack itemstackIn) |
boolean |
PandaEntity.canPickUpItem(ItemStack itemstackIn) |
protected void |
CatEntity.consumeItemFromStack(PlayerEntity player,
ItemStack stack) |
protected void |
FoxEntity.consumeItemFromStack(PlayerEntity player,
ItemStack stack) |
protected void |
AnimalEntity.consumeItemFromStack(PlayerEntity player,
ItemStack stack) |
private void |
DolphinEntity.PlayWithItemsGoal.func_220810_a(ItemStack p_220810_1_) |
SoundEvent |
FoxEntity.getEatSound(ItemStack itemStackIn) |
private org.apache.commons.lang3.tuple.Pair<Effect,java.lang.Integer> |
MooshroomEntity.getStewEffect(ItemStack p_213443_1_) |
boolean |
ChickenEntity.isBreedingItem(ItemStack stack) |
boolean |
WolfEntity.isBreedingItem(ItemStack stack) |
boolean |
CatEntity.isBreedingItem(ItemStack stack) |
boolean |
FoxEntity.isBreedingItem(ItemStack stack) |
boolean |
RabbitEntity.isBreedingItem(ItemStack stack) |
boolean |
PandaEntity.isBreedingItem(ItemStack stack) |
boolean |
ParrotEntity.isBreedingItem(ItemStack stack) |
boolean |
OcelotEntity.isBreedingItem(ItemStack stack) |
boolean |
PolarBearEntity.isBreedingItem(ItemStack stack) |
boolean |
TurtleEntity.isBreedingItem(ItemStack stack) |
boolean |
BeeEntity.isBreedingItem(ItemStack stack) |
boolean |
PigEntity.isBreedingItem(ItemStack stack) |
boolean |
AnimalEntity.isBreedingItem(ItemStack stack) |
private boolean |
PandaEntity.isBreedingItemOrCake(ItemStack stack) |
boolean |
SheepEntity.isShearable(ItemStack item,
IWorldReader world,
BlockPos pos) |
boolean |
MooshroomEntity.isShearable(ItemStack item,
IWorldReader world,
BlockPos pos) |
boolean |
SnowGolemEntity.isShearable(ItemStack item,
IWorldReader world,
BlockPos pos) |
private boolean |
TurtleEntity.PlayerTemptGoal.isTemptedBy(ItemStack p_203131_1_) |
java.util.List<ItemStack> |
SheepEntity.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune) |
java.util.List<ItemStack> |
MooshroomEntity.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune) |
java.util.List<ItemStack> |
SnowGolemEntity.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune) |
private void |
FoxEntity.spawnItem(ItemStack stackIn) |
private void |
FoxEntity.spitOutItem(ItemStack stackIn) |
Modifier and Type | Method and Description |
---|---|
protected ItemStack |
CodEntity.getFishBucket() |
protected abstract ItemStack |
AbstractFishEntity.getFishBucket() |
protected ItemStack |
PufferfishEntity.getFishBucket() |
protected ItemStack |
TropicalFishEntity.getFishBucket() |
protected ItemStack |
SalmonEntity.getFishBucket() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFishEntity.setBucketData(ItemStack bucket) |
protected void |
TropicalFishEntity.setBucketData(ItemStack bucket) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
HorseEntity.func_213803_dV() |
Modifier and Type | Method and Description |
---|---|
private void |
HorseEntity.func_213804_l(ItemStack p_213804_1_) |
private void |
HorseEntity.func_213805_k(ItemStack p_213805_1_) |
private static DyeColor |
LlamaEntity.getCarpetColor(ItemStack p_195403_0_) |
protected boolean |
AbstractHorseEntity.handleEating(PlayerEntity player,
ItemStack stack) |
protected boolean |
LlamaEntity.handleEating(PlayerEntity player,
ItemStack stack) |
boolean |
AbstractHorseEntity.isArmor(ItemStack stack) |
boolean |
HorseEntity.isArmor(ItemStack stack) |
boolean |
LlamaEntity.isArmor(ItemStack stack) |
boolean |
AbstractHorseEntity.isBreedingItem(ItemStack stack) |
boolean |
AbstractHorseEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
boolean |
AbstractChestedHorseEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
PlayerInventory.itemStack |
private ItemStack |
PlayerEntity.itemStackMainHand |
Modifier and Type | Field and Description |
---|---|
private java.util.List<NonNullList<ItemStack>> |
PlayerInventory.allInventories |
NonNullList<ItemStack> |
PlayerInventory.armorInventory |
NonNullList<ItemStack> |
PlayerInventory.mainInventory |
NonNullList<ItemStack> |
PlayerInventory.offHandInventory |
Modifier and Type | Method and Description |
---|---|
ItemStack |
PlayerInventory.armorItemInSlot(int slotIn) |
ItemStack |
PlayerInventory.decrStackSize(int index,
int count) |
ItemStack |
PlayerEntity.findAmmo(ItemStack shootable) |
ItemStack |
PlayerInventory.getCurrentItem() |
ItemStack |
PlayerInventory.getItemStack() |
ItemStack |
PlayerEntity.getItemStackFromSlot(EquipmentSlotType slotIn) |
ItemStack |
PlayerInventory.getStackInSlot(int index) |
ItemStack |
PlayerEntity.onFoodEaten(World p_213357_1_,
ItemStack p_213357_2_) |
ItemStack |
PlayerInventory.removeStackFromSlot(int index) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<ItemStack> |
PlayerEntity.getArmorInventoryList() |
java.lang.Iterable<ItemStack> |
PlayerEntity.getHeldEquipment() |
Modifier and Type | Method and Description |
---|---|
boolean |
PlayerInventory.add(int slotIn,
ItemStack stack) |
boolean |
PlayerEntity.addItemStackToInventory(ItemStack p_191521_1_) |
boolean |
PlayerInventory.addItemStackToInventory(ItemStack itemStackIn) |
private int |
PlayerInventory.addResource(int p_191973_1_,
ItemStack p_191973_2_) |
private boolean |
PlayerInventory.canMergeStacks(ItemStack stack1,
ItemStack stack2) |
boolean |
PlayerEntity.canPickUpItem(ItemStack itemstackIn) |
boolean |
PlayerEntity.canPlayerEdit(BlockPos pos,
Direction facing,
ItemStack stack) |
void |
PlayerInventory.deleteStack(ItemStack stack) |
ItemEntity |
PlayerEntity.dropItem(ItemStack itemStackIn,
boolean unused) |
ItemEntity |
PlayerEntity.dropItem(ItemStack droppedItem,
boolean dropAround,
boolean traceItem) |
ItemEntity |
ServerPlayerEntity.dropItem(ItemStack droppedItem,
boolean dropAround,
boolean traceItem) |
ItemStack |
PlayerEntity.findAmmo(ItemStack shootable) |
int |
PlayerInventory.findSlotMatchingUnusedItem(ItemStack p_194014_1_) |
int |
PlayerInventory.getSlotFor(ItemStack stack) |
boolean |
PlayerInventory.hasItemStack(ItemStack itemStackIn) |
void |
PlayerEntity.onEnchant(ItemStack enchantedItem,
int cost) |
void |
ServerPlayerEntity.onEnchant(ItemStack enchantedItem,
int cost) |
ItemStack |
PlayerEntity.onFoodEaten(World p_213357_1_,
ItemStack p_213357_2_) |
void |
PlayerEntity.openBook(ItemStack stack,
Hand hand) |
void |
ServerPlayerEntity.openBook(ItemStack stack,
Hand hand) |
void |
PlayerInventory.placeItemBackInInventory(World worldIn,
ItemStack stack) |
boolean |
PlayerEntity.replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
void |
ServerPlayerEntity.sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack) |
void |
PlayerInventory.setInventorySlotContents(int index,
ItemStack stack) |
void |
PlayerInventory.setItemStack(ItemStack itemStackIn) |
void |
PlayerEntity.setItemStackToSlot(EquipmentSlotType slotIn,
ItemStack stack) |
void |
PlayerInventory.setPickedItemStack(ItemStack stack) |
private boolean |
PlayerInventory.stackEqualExact(ItemStack stack1,
ItemStack stack2) |
int |
PlayerInventory.storeItemStack(ItemStack itemStackIn) |
private int |
PlayerInventory.storePartialItemStack(ItemStack itemStackIn) |
Modifier and Type | Method and Description |
---|---|
int |
PlayerInventory.clearMatchingItems(java.util.function.Predicate<ItemStack> p_195408_1_,
int count) |
void |
ServerPlayerEntity.sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
TridentEntity.thrownStack |
Modifier and Type | Field and Description |
---|---|
private static DataParameter<ItemStack> |
PotionEntity.ITEM |
private static DataParameter<ItemStack> |
ProjectileItemEntity.ITEMSTACK_DATA |
private static DataParameter<ItemStack> |
AbstractFireballEntity.STACK |
Modifier and Type | Method and Description |
---|---|
protected ItemStack |
ProjectileItemEntity.func_213882_k() |
protected ItemStack |
TridentEntity.getArrowStack() |
protected ItemStack |
ArrowEntity.getArrowStack() |
protected ItemStack |
SpectralArrowEntity.getArrowStack() |
protected abstract ItemStack |
AbstractArrowEntity.getArrowStack() |
ItemStack |
PotionEntity.getItem() |
ItemStack |
AbstractFireballEntity.getItem() |
ItemStack |
ProjectileItemEntity.getItem() |
protected ItemStack |
AbstractFireballEntity.getStack() |
Modifier and Type | Method and Description |
---|---|
static AbstractArrowEntity |
ProjectileHelper.fireArrow(LivingEntity shooter,
ItemStack arrowStack,
float distanceFactor) |
static int |
ArrowEntity.getCustomColor(ItemStack p_191508_0_) |
int |
FishingBobberEntity.handleHookRetraction(ItemStack p_146034_1_) |
private void |
PotionEntity.makeAreaOfEffectCloud(ItemStack p_190542_1_,
Potion p_190542_2_) |
void |
PotionEntity.setItem(ItemStack stack) |
void |
ProjectileItemEntity.setItem(ItemStack stack) |
void |
ArrowEntity.setPotionEffect(ItemStack stack) |
void |
AbstractFireballEntity.setStack(ItemStack p_213898_1_) |
Constructor and Description |
---|
TridentEntity(World worldIn,
LivingEntity thrower,
ItemStack thrownStackIn) |
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 |
---|---|
ItemStack |
Inventory.addItem(ItemStack stack) |
ItemStack |
DoubleSidedInventory.decrStackSize(int index,
int count) |
ItemStack |
CraftingInventory.decrStackSize(int index,
int count) |
ItemStack |
IInventory.decrStackSize(int index,
int count) |
ItemStack |
Inventory.decrStackSize(int index,
int count) |
ItemStack |
MerchantInventory.decrStackSize(int index,
int count) |
ItemStack |
CraftResultInventory.decrStackSize(int index,
int count) |
ItemStack |
Inventory.func_223374_a(Item p_223374_1_,
int p_223374_2_) |
static ItemStack |
ItemStackHelper.getAndRemove(java.util.List<ItemStack> stacks,
int index) |
static ItemStack |
ItemStackHelper.getAndSplit(java.util.List<ItemStack> stacks,
int index,
int amount) |
ItemStack |
DoubleSidedInventory.getStackInSlot(int index) |
ItemStack |
CraftingInventory.getStackInSlot(int index) |
ItemStack |
IInventory.getStackInSlot(int index) |
ItemStack |
Inventory.getStackInSlot(int index) |
ItemStack |
MerchantInventory.getStackInSlot(int index) |
ItemStack |
CraftResultInventory.getStackInSlot(int index) |
ItemStack |
DoubleSidedInventory.removeStackFromSlot(int index) |
ItemStack |
CraftingInventory.removeStackFromSlot(int index) |
ItemStack |
IInventory.removeStackFromSlot(int index) |
ItemStack |
Inventory.removeStackFromSlot(int index) |
ItemStack |
MerchantInventory.removeStackFromSlot(int index) |
ItemStack |
CraftResultInventory.removeStackFromSlot(int index) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
Inventory.addItem(ItemStack stack) |
boolean |
ISidedInventory.canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
ISidedInventory.canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
private void |
Inventory.func_223372_c(ItemStack p_223372_1_) |
private void |
Inventory.func_223373_a(ItemStack p_223373_1_,
ItemStack p_223373_2_) |
private void |
Inventory.func_223375_b(ItemStack p_223375_1_) |
boolean |
DoubleSidedInventory.isItemValidForSlot(int index,
ItemStack stack) |
default boolean |
IInventory.isItemValidForSlot(int index,
ItemStack stack) |
void |
DoubleSidedInventory.setInventorySlotContents(int index,
ItemStack stack) |
void |
CraftingInventory.setInventorySlotContents(int index,
ItemStack stack) |
void |
IInventory.setInventorySlotContents(int index,
ItemStack stack) |
void |
Inventory.setInventorySlotContents(int index,
ItemStack stack) |
void |
MerchantInventory.setInventorySlotContents(int index,
ItemStack stack) |
void |
CraftResultInventory.setInventorySlotContents(int index,
ItemStack stack) |
static void |
InventoryHelper.spawnItemStack(World worldIn,
double x,
double y,
double z,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
static void |
InventoryHelper.dropItems(World p_219961_0_,
BlockPos p_219961_1_,
NonNullList<ItemStack> p_219961_2_) |
static ItemStack |
ItemStackHelper.getAndRemove(java.util.List<ItemStack> stacks,
int index) |
static ItemStack |
ItemStackHelper.getAndSplit(java.util.List<ItemStack> stacks,
int index,
int amount) |
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) |
Constructor and Description |
---|
Inventory(ItemStack... stacksIn) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
StonecutterContainer.itemStackInput |
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
Container.inventoryItemStacks |
Modifier and Type | Method and Description |
---|---|
private ItemStack |
GrindstoneContainer.copyEnchantments(ItemStack copyTo,
ItemStack copyFrom) |
ItemStack |
FurnaceResultSlot.decrStackSize(int amount) |
ItemStack |
MerchantResultSlot.decrStackSize(int amount) |
ItemStack |
CraftingResultSlot.decrStackSize(int amount) |
ItemStack |
Slot.decrStackSize(int amount) |
ItemStack |
LecternContainer.getBook() |
ItemStack |
Slot.getStack() |
ItemStack |
FurnaceResultSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
BrewingStandContainer.PotionSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
MerchantResultSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
CraftingResultSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
Slot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
private ItemStack |
GrindstoneContainer.removeEnchantments(ItemStack stack,
int damage,
int count) |
ItemStack |
Container.slotClick(int slotId,
int dragType,
ClickType clickTypeIn,
PlayerEntity player) |
ItemStack |
MerchantContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
CartographyContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
RepairContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
EnchantmentContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
AbstractFurnaceContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
WorkbenchContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
BrewingStandContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
HopperContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
BeaconContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
ChestContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
GrindstoneContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
StonecutterContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
ShulkerBoxContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
Container.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
HorseInventoryContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
LoomContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
PlayerContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
ItemStack |
DispenserContainer.transferStackInSlot(PlayerEntity playerIn,
int index) |
Modifier and Type | Method and Description |
---|---|
NonNullList<ItemStack> |
Container.getInventory() |
Modifier and Type | Method and Description |
---|---|
static boolean |
Container.areItemsAndTagsEqual(ItemStack stack1,
ItemStack stack2) |
private boolean |
MerchantContainer.areItemStacksEqual(ItemStack stack1,
ItemStack stack2) |
static boolean |
Container.canAddItemToSlot(Slot slotIn,
ItemStack stack,
boolean stackSizeMatters) |
static boolean |
BrewingStandContainer.PotionSlot.canHoldPotion(ItemStack stack) |
boolean |
MerchantContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
CartographyContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
WorkbenchContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
StonecutterContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
Container.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
PlayerContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
static void |
Container.computeStackSize(java.util.Set<Slot> dragSlotsIn,
int dragModeIn,
ItemStack stack,
int slotStackSize) |
private ItemStack |
GrindstoneContainer.copyEnchantments(ItemStack copyTo,
ItemStack copyFrom) |
private void |
CartographyContainer.func_216993_a(ItemStack p_216993_1_,
ItemStack p_216993_2_,
ItemStack p_216993_3_) |
private void |
MerchantContainer.func_217053_c(int p_217053_1_,
ItemStack p_217053_2_) |
private java.util.List<EnchantmentData> |
EnchantmentContainer.getEnchantmentList(ItemStack stack,
int enchantSlot,
int level) |
int |
Slot.getItemStackLimit(ItemStack stack) |
int |
FurnaceFuelSlot.getItemStackLimit(ItemStack stack) |
protected boolean |
AbstractFurnaceContainer.hasRecipe(ItemStack stack) |
static boolean |
FurnaceFuelSlot.isBucket(ItemStack stack) |
protected boolean |
AbstractFurnaceContainer.isFuel(ItemStack stack) |
boolean |
FurnaceResultSlot.isItemValid(ItemStack stack) |
boolean |
BrewingStandContainer.FuelSlot.isItemValid(ItemStack stack) |
boolean |
BrewingStandContainer.IngredientSlot.isItemValid(ItemStack stack) |
boolean |
BrewingStandContainer.PotionSlot.isItemValid(ItemStack stack) |
boolean |
BeaconContainer.BeaconSlot.isItemValid(ItemStack stack) |
boolean |
MerchantResultSlot.isItemValid(ItemStack stack) |
boolean |
CraftingResultSlot.isItemValid(ItemStack stack) |
boolean |
Slot.isItemValid(ItemStack stack) |
boolean |
FurnaceFuelSlot.isItemValid(ItemStack stack) |
boolean |
ShulkerBoxSlot.isItemValid(ItemStack stack) |
static boolean |
BrewingStandContainer.FuelSlot.isValidBrewingFuel(ItemStack itemStackIn) |
protected boolean |
Container.mergeItemStack(ItemStack stack,
int startIndex,
int endIndex,
boolean reverseDirection) |
protected void |
FurnaceResultSlot.onCrafting(ItemStack stack) |
protected void |
MerchantResultSlot.onCrafting(ItemStack stack) |
protected void |
CraftingResultSlot.onCrafting(ItemStack stack) |
protected void |
Slot.onCrafting(ItemStack stack) |
protected void |
FurnaceResultSlot.onCrafting(ItemStack stack,
int amount) |
protected void |
MerchantResultSlot.onCrafting(ItemStack stack,
int amount) |
protected void |
CraftingResultSlot.onCrafting(ItemStack stack,
int amount) |
protected void |
Slot.onCrafting(ItemStack stack,
int amount) |
void |
Slot.onSlotChange(ItemStack oldStackIn,
ItemStack newStackIn) |
ItemStack |
FurnaceResultSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
BrewingStandContainer.PotionSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
MerchantResultSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
CraftingResultSlot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
ItemStack |
Slot.onTake(PlayerEntity thePlayer,
ItemStack stack) |
void |
Slot.putStack(ItemStack stack) |
void |
Container.putStackInSlot(int slotID,
ItemStack stack) |
private ItemStack |
GrindstoneContainer.removeEnchantments(ItemStack stack,
int damage,
int count) |
void |
IContainerListener.sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack) |
private void |
StonecutterContainer.updateAvailableRecipes(IInventory inventoryIn,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
void |
IContainerListener.sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList) |
void |
Container.setAll(java.util.List<ItemStack> p_190896_1_) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
MerchantOffer.buyingStackFirst |
private ItemStack |
MerchantOffer.buyingStackSecond |
static ItemStack |
ItemStack.EMPTY |
private ItemStack |
ItemGroup.icon |
protected ItemStack |
ItemUseContext.item |
private ItemStack |
MerchantOffer.sellingStack |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<ItemStack> |
ShootableItem.ARROWS |
static java.util.function.Predicate<ItemStack> |
ShootableItem.ARROWS_OR_FIREWORKS |
Modifier and Type | Method and Description |
---|---|
ItemStack |
ItemStack.copy() |
abstract ItemStack |
ItemGroup.createIcon() |
static ItemStack |
IDyeableArmorItem.dyeItem(ItemStack stack,
java.util.List<DyeItem> dyes) |
protected ItemStack |
BucketItem.emptyBucket(ItemStack p_203790_1_,
PlayerEntity p_203790_2_) |
private ItemStack |
BucketItem.fillBucket(ItemStack emptyBuckets,
PlayerEntity player,
Item fullBucket) |
static ItemStack |
FilledMapItem.func_219992_b(World worldIn,
ItemStack stack) |
ItemStack |
MerchantOffer.func_222205_b() |
ItemStack |
MerchantOffer.getBuyingStackFirst() |
ItemStack |
MerchantOffer.getBuyingStackSecond() |
ItemStack |
MerchantOffer.getCopyOfSellingStack() |
ItemStack |
TippedArrowItem.getDefaultInstance() |
ItemStack |
PotionItem.getDefaultInstance() |
ItemStack |
Item.getDefaultInstance() |
static ItemStack |
EnchantedBookItem.getEnchantedItemStack(EnchantmentData p_92111_0_) |
static ItemStack |
ShootableItem.getHeldAmmo(LivingEntity living,
java.util.function.Predicate<ItemStack> isAmmo) |
ItemStack |
ItemGroup.getIcon() |
ItemStack |
ItemUseContext.getItem() |
ItemStack |
MerchantOffer.getSellingStack() |
ItemStack |
ChorusFruitItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
SuspiciousStewItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
HoneyBottleItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
SoupItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
PotionItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
MilkBucketItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
Item.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
ItemStack.onItemUseFinish(World worldIn,
LivingEntity entityLiving) |
static ItemStack |
ItemStack.read(CompoundNBT compound) |
ItemStack |
ItemStack.setDisplayName(ITextComponent name) |
static ItemStack |
FilledMapItem.setupNewMap(World worldIn,
int worldX,
int worldZ,
byte scale,
boolean trackingPosition,
boolean unlimitedTracking) |
ItemStack |
ItemStack.split(int amount) |
protected ItemStack |
GlassBottleItem.turnBottleIntoItem(ItemStack p_185061_1_,
PlayerEntity player,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
private static void |
CrossbowItem.addChargedProjectile(ItemStack crossbow,
ItemStack projectile) |
static void |
SuspiciousStewItem.addEffect(ItemStack itemStackIn,
Effect effectIn,
int effectDuration) |
static void |
EnchantedBookItem.addEnchantment(ItemStack p_92115_0_,
EnchantmentData stack) |
void |
FireworkStarItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
MusicDiscItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
AirItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
TippedArrowItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
FireworkRocketItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
CrossbowItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
ShieldItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
WrittenBookItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
BlockItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
FilledMapItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
BannerPatternItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
FishBucketItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
EnchantedBookItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
PotionItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
LingeringPotionItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
Item.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
void |
BannerItem.addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
static void |
BannerItem.appendHoverTextFromTileEntityTag(ItemStack stack,
java.util.List<ITextComponent> p_185054_1_) |
static boolean |
BoneMealItem.applyBonemeal(ItemStack stack,
World worldIn,
BlockPos pos)
Deprecated.
|
static boolean |
BoneMealItem.applyBonemeal(ItemStack stack,
World worldIn,
BlockPos pos,
PlayerEntity player) |
static boolean |
ItemStack.areItemsEqual(ItemStack stackA,
ItemStack stackB) |
static boolean |
ItemStack.areItemsEqualIgnoreDurability(ItemStack stackA,
ItemStack stackB) |
static boolean |
ItemStack.areItemStacksEqual(ItemStack stackA,
ItemStack stackB) |
static boolean |
ItemStack.areItemStackTagsEqual(ItemStack stackA,
ItemStack stackB) |
float |
IItemPropertyGetter.call(ItemStack p_call_1_,
World p_call_2_,
LivingEntity p_call_3_) |
boolean |
ElytraItem.canElytraFly(ItemStack stack,
LivingEntity entity) |
protected boolean |
HangingEntityItem.canPlace(PlayerEntity playerIn,
Direction directionIn,
ItemStack itemStackIn,
BlockPos posIn) |
protected boolean |
ItemFrameItem.canPlace(PlayerEntity playerIn,
Direction directionIn,
ItemStack itemStackIn,
BlockPos posIn) |
private static void |
CrossbowItem.clearProjectiles(ItemStack stack) |
AbstractArrowEntity |
ArrowItem.createArrow(World worldIn,
ItemStack stack,
LivingEntity shooter) |
AbstractArrowEntity |
SpectralArrowItem.createArrow(World worldIn,
ItemStack stack,
LivingEntity shooter) |
private static AbstractArrowEntity |
CrossbowItem.createArrow(World worldIn,
LivingEntity shooter,
ItemStack crossbow,
ItemStack ammo) |
private static MapData |
FilledMapItem.createMapData(ItemStack stack,
World worldIn,
int x,
int z,
int scale,
boolean trackingPosition,
boolean unlimitedTracking,
DimensionType dimensionTypeIn) |
boolean |
MerchantOffer.doTransaction(ItemStack p_222215_1_,
ItemStack p_222215_2_) |
static ItemStack |
IDyeableArmorItem.dyeItem(ItemStack stack,
java.util.List<DyeItem> dyes) |
boolean |
ElytraItem.elytraFlightTick(ItemStack stack,
LivingEntity entity,
int flightTicks) |
protected ItemStack |
BucketItem.emptyBucket(ItemStack p_203790_1_,
PlayerEntity p_203790_2_) |
private boolean |
MerchantOffer.equalIgnoringDamage(ItemStack left,
ItemStack right) |
private ItemStack |
BucketItem.fillBucket(ItemStack emptyBuckets,
PlayerEntity player,
Item fullBucket) |
private static void |
CrossbowItem.fireProjectile(World worldIn,
LivingEntity shooter,
Hand handIn,
ItemStack crossbow,
ItemStack projectile,
float soundPitch,
boolean isCreativeMode,
float velocity,
float inaccuracy,
float projectileAngle) |
static void |
CrossbowItem.fireProjectiles(World worldIn,
LivingEntity shooter,
Hand handIn,
ItemStack stack,
float velocityIn,
float inaccuracyIn) |
private static void |
CrossbowItem.fireProjectilesAfter(World worldIn,
LivingEntity shooter,
ItemStack stack) |
private BlockState |
BlockItem.func_219985_a(BlockPos p_219985_1_,
World p_219985_2_,
ItemStack p_219985_3_,
BlockState p_219985_4_) |
static ItemStack |
FilledMapItem.func_219992_b(World worldIn,
ItemStack stack) |
private static float |
CrossbowItem.func_220013_l(ItemStack p_220013_0_) |
private static boolean |
CrossbowItem.func_220023_a(LivingEntity p_220023_0_,
ItemStack p_220023_1_,
ItemStack p_220023_2_,
boolean p_220023_3_,
boolean p_220023_4_) |
static int |
WrittenBookItem.func_220049_j(ItemStack p_220049_0_) |
MerchantOffer |
MerchantOffers.func_222197_a(ItemStack p_222197_1_,
ItemStack p_222197_2_,
int p_222197_3_) |
static boolean |
ArmorItem.func_226626_a_(IBlockSource p_226626_0_,
ItemStack p_226626_1_) |
static void |
FilledMapItem.func_226642_a_(ServerWorld p_226642_0_,
ItemStack p_226642_1_) |
private static float |
CrossbowItem.getCharge(int useTime,
ItemStack stack) |
private static java.util.List<ItemStack> |
CrossbowItem.getChargedProjectiles(ItemStack stack) |
static int |
CrossbowItem.getChargeTime(ItemStack stack) |
default int |
IDyeableArmorItem.getColor(ItemStack stack) |
static DyeColor |
DyeColor.getColor(ItemStack stack) |
static DyeColor |
ShieldItem.getColor(ItemStack stack) |
static int |
FilledMapItem.getColor(ItemStack stack) |
protected MapData |
FilledMapItem.getCustomMapData(ItemStack stack,
World worldIn) |
static MapData |
FilledMapItem.getData(ItemStack stack,
World worldIn) |
float |
SwordItem.getDestroySpeed(ItemStack stack,
BlockState state) |
float |
ShearsItem.getDestroySpeed(ItemStack stack,
BlockState state) |
float |
AxeItem.getDestroySpeed(ItemStack stack,
BlockState state) |
float |
PickaxeItem.getDestroySpeed(ItemStack stack,
BlockState state) |
float |
ToolItem.getDestroySpeed(ItemStack stack,
BlockState state) |
float |
Item.getDestroySpeed(ItemStack stack,
BlockState state) |
ITextComponent |
SkullItem.getDisplayName(ItemStack stack) |
ITextComponent |
WrittenBookItem.getDisplayName(ItemStack stack) |
ITextComponent |
Item.getDisplayName(ItemStack stack) |
static ListNBT |
EnchantedBookItem.getEnchantments(ItemStack stack) |
static int |
WrittenBookItem.getGeneration(ItemStack book) |
int |
Item.getHarvestLevel(ItemStack stack,
ToolType tool,
PlayerEntity player,
BlockState blockState) |
boolean |
ElytraItem.getIsRepairable(ItemStack toRepair,
ItemStack repair) |
boolean |
TieredItem.getIsRepairable(ItemStack toRepair,
ItemStack repair) |
boolean |
ShieldItem.getIsRepairable(ItemStack toRepair,
ItemStack repair) |
boolean |
ArmorItem.getIsRepairable(ItemStack toRepair,
ItemStack repair) |
boolean |
Item.getIsRepairable(ItemStack toRepair,
ItemStack repair) |
static MapData |
FilledMapItem.getMapData(ItemStack stack,
World worldIn) |
static int |
FilledMapItem.getMapId(ItemStack stack) |
Rarity |
Item.getRarity(ItemStack stack) |
java.util.Set<ToolType> |
Item.getToolTypes(ItemStack stack) |
java.lang.String |
TippedArrowItem.getTranslationKey(ItemStack stack) |
java.lang.String |
ShieldItem.getTranslationKey(ItemStack stack) |
java.lang.String |
PotionItem.getTranslationKey(ItemStack stack) |
java.lang.String |
Item.getTranslationKey(ItemStack stack) |
IPacket<?> |
AbstractMapItem.getUpdatePacket(ItemStack stack,
World worldIn,
PlayerEntity player) |
IPacket<?> |
FilledMapItem.getUpdatePacket(ItemStack stack,
World worldIn,
PlayerEntity player) |
UseAction |
BowItem.getUseAction(ItemStack stack) |
UseAction |
CrossbowItem.getUseAction(ItemStack stack) |
UseAction |
ShieldItem.getUseAction(ItemStack stack) |
UseAction |
HoneyBottleItem.getUseAction(ItemStack stack) |
UseAction |
TridentItem.getUseAction(ItemStack stack) |
UseAction |
PotionItem.getUseAction(ItemStack stack) |
UseAction |
MilkBucketItem.getUseAction(ItemStack stack) |
UseAction |
Item.getUseAction(ItemStack stack) |
int |
BowItem.getUseDuration(ItemStack stack) |
int |
CrossbowItem.getUseDuration(ItemStack stack) |
int |
ShieldItem.getUseDuration(ItemStack stack) |
int |
HoneyBottleItem.getUseDuration(ItemStack stack) |
int |
TridentItem.getUseDuration(ItemStack stack) |
int |
PotionItem.getUseDuration(ItemStack stack) |
int |
MilkBucketItem.getUseDuration(ItemStack stack) |
int |
Item.getUseDuration(ItemStack stack) |
static boolean |
BoneMealItem.growSeagrass(ItemStack stack,
World worldIn,
BlockPos pos,
Direction side) |
private void |
DebugStickItem.handleClick(PlayerEntity player,
BlockState state,
IWorld worldIn,
BlockPos pos,
boolean rightClick,
ItemStack stack) |
private static boolean |
CrossbowItem.hasAmmo(LivingEntity entityIn,
ItemStack stack) |
private static boolean |
CrossbowItem.hasChargedProjectile(ItemStack stack,
Item ammoItem) |
default boolean |
IDyeableArmorItem.hasColor(ItemStack stack) |
boolean |
ExperienceBottleItem.hasEffect(ItemStack stack) |
boolean |
DebugStickItem.hasEffect(ItemStack stack) |
boolean |
EnderCrystalItem.hasEffect(ItemStack stack) |
boolean |
SimpleFoiledItem.hasEffect(ItemStack stack) |
boolean |
WrittenBookItem.hasEffect(ItemStack stack) |
boolean |
EnchantedGoldenAppleItem.hasEffect(ItemStack stack) |
boolean |
EnchantedBookItem.hasEffect(ItemStack stack) |
boolean |
PotionItem.hasEffect(ItemStack stack) |
boolean |
Item.hasEffect(ItemStack stack) |
boolean |
SwordItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
HoeItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
ToolItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
TridentItem.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
boolean |
Item.hitEntity(ItemStack stack,
LivingEntity target,
LivingEntity attacker) |
ICapabilityProvider |
BucketItem.initCapabilities(ItemStack stack,
CompoundNBT nbt) |
ICapabilityProvider |
MilkBucketItem.initCapabilities(ItemStack stack,
CompoundNBT nbt) |
void |
FilledMapItem.inventoryTick(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected) |
void |
Item.inventoryTick(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected) |
static boolean |
CrossbowItem.isCharged(ItemStack stack) |
boolean |
Item.isCrossbow(ItemStack stack) |
boolean |
EnchantedBookItem.isEnchantable(ItemStack stack) |
boolean |
Item.isEnchantable(ItemStack stack) |
boolean |
BookItem.isEnchantable(ItemStack stack) |
boolean |
ArrowItem.isInfinite(ItemStack stack,
ItemStack bow,
PlayerEntity player) |
boolean |
ItemStack.isItemEqual(ItemStack other) |
boolean |
ItemStack.isItemEqualIgnoreDurability(ItemStack stack) |
private boolean |
ItemStack.isItemStackEqual(ItemStack other) |
boolean |
Item.isRepairable(ItemStack stack) |
static boolean |
ElytraItem.isUsable(ItemStack stack) |
boolean |
DyeItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
NameTagItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
ShearsItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity entity,
Hand hand) |
boolean |
SaddleItem.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
Item.itemInteractionForEntity(ItemStack stack,
PlayerEntity playerIn,
LivingEntity target,
Hand hand) |
boolean |
MerchantOffer.matches(ItemStack p_222204_1_,
ItemStack p_222204_2_) |
boolean |
SwordItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
ShearsItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
ToolItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
TridentItem.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
boolean |
Item.onBlockDestroyed(ItemStack stack,
World worldIn,
BlockState state,
BlockPos pos,
LivingEntity entityLiving) |
protected boolean |
BlockItem.onBlockPlaced(BlockPos pos,
World worldIn,
PlayerEntity player,
ItemStack stack,
BlockState state) |
protected boolean |
SignItem.onBlockPlaced(BlockPos pos,
World worldIn,
PlayerEntity player,
ItemStack stack,
BlockState state) |
void |
FilledMapItem.onCreated(ItemStack stack,
World worldIn,
PlayerEntity playerIn) |
void |
Item.onCreated(ItemStack stack,
World worldIn,
PlayerEntity playerIn) |
ItemStack |
ChorusFruitItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
SuspiciousStewItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
HoneyBottleItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
SoupItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
PotionItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
MilkBucketItem.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
ItemStack |
Item.onItemUseFinish(ItemStack stack,
World worldIn,
LivingEntity entityLiving) |
void |
BucketItem.onLiquidPlaced(World worldIn,
ItemStack p_203792_2_,
BlockPos pos) |
void |
FishBucketItem.onLiquidPlaced(World worldIn,
ItemStack p_203792_2_,
BlockPos pos) |
void |
BowItem.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
CrossbowItem.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
TridentItem.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
Item.onPlayerStoppedUsing(ItemStack stack,
World worldIn,
LivingEntity entityLiving,
int timeLeft) |
void |
CrossbowItem.onUse(World worldIn,
LivingEntity livingEntityIn,
ItemStack stack,
int count) |
void |
Item.onUse(World worldIn,
LivingEntity livingEntityIn,
ItemStack stack,
int count) |
private void |
FishBucketItem.placeFish(World worldIn,
ItemStack p_205357_2_,
BlockPos pos) |
default void |
IDyeableArmorItem.removeColor(ItemStack stack) |
static boolean |
WrittenBookItem.resolveContents(ItemStack stack,
CommandSource resolvingSource,
PlayerEntity resolvingPlayer) |
protected static void |
FilledMapItem.scaleMap(ItemStack p_185063_0_,
World p_185063_1_,
int p_185063_2_) |
static void |
CrossbowItem.setCharged(ItemStack stack,
boolean chargedIn) |
default void |
IDyeableArmorItem.setColor(ItemStack stack,
int color) |
static boolean |
BlockItem.setTileEntityNBT(World worldIn,
PlayerEntity player,
BlockPos pos,
ItemStack stackIn) |
protected ItemStack |
GlassBottleItem.turnBottleIntoItem(ItemStack p_185061_1_,
PlayerEntity player,
ItemStack stack) |
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) |
static ItemStack |
ShootableItem.getHeldAmmo(LivingEntity living,
java.util.function.Predicate<ItemStack> isAmmo) |
Constructor and Description |
---|
BlockItemUseContext(World worldIn,
PlayerEntity playerIn,
Hand handIn,
ItemStack stackIn,
BlockRayTraceResult rayTraceResultIn) |
DirectionalPlaceContext(World worldIn,
BlockPos pos,
Direction lookDirectionIn,
ItemStack stackIn,
Direction against) |
ItemUseContext(World worldIn,
PlayerEntity player,
Hand handIn,
ItemStack heldItem,
BlockRayTraceResult rayTraceResultIn) |
MerchantOffer(ItemStack buyingStackFirstIn,
ItemStack sellingStackIn,
int maxUsesIn,
int givenEXPIn,
float priceMultiplierIn) |
MerchantOffer(ItemStack buyingStackFirstIn,
ItemStack buyingStackSecondIn,
ItemStack sellingStackIn,
int maxUsesIn,
int givenEXPIn,
float priceMultiplierIn) |
MerchantOffer(ItemStack buyingStackFirstIn,
ItemStack buyingStackSecondIn,
ItemStack sellingStackIn,
int usesIn,
int maxUsesIn,
int givenEXPIn,
float priceMultiplierIn) |
MerchantOffer(ItemStack buyingStackFirstIn,
ItemStack buyingStackSecondIn,
ItemStack sellingStackIn,
int usesIn,
int maxUsesIn,
int givenEXPIn,
float priceMultiplierIn,
int demandIn) |
Modifier and Type | Field and Description |
---|---|
private ItemStack[] |
Ingredient.matchingStacks |
private ItemStack |
ShapedRecipe.recipeOutput |
private ItemStack |
ShapelessRecipe.recipeOutput |
protected ItemStack |
SingleItemRecipe.result |
protected ItemStack |
AbstractCookingRecipe.result |
private ItemStack |
Ingredient.SingleItemList.stack |
Modifier and Type | Method and Description |
---|---|
<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) |
java.util.Collection<ItemStack> |
Ingredient.IItemList.getStacks() |
java.util.Collection<ItemStack> |
Ingredient.SingleItemList.getStacks() |
java.util.Collection<ItemStack> |
Ingredient.TagList.getStacks() |
Modifier and Type | Method and Description |
---|---|
void |
RecipeItemHelper.accountPlainStack(ItemStack stack) |
void |
RecipeItemHelper.accountStack(ItemStack stack) |
protected void |
ServerRecipePlacer.consumeIngredient(Slot slotToFill,
ItemStack ingredientIn) |
T |
SingleItemRecipe.Serializer.IRecipeFactory.create(ResourceLocation p_create_1_,
java.lang.String p_create_2_,
Ingredient p_create_3_,
ItemStack p_create_4_) |
T |
CookingRecipeSerializer.IFactory.create(ResourceLocation p_create_1_,
java.lang.String p_create_2_,
Ingredient p_create_3_,
ItemStack p_create_4_,
float p_create_5_,
int p_create_6_) |
static Ingredient |
Ingredient.fromStacks(ItemStack... stacks) |
void |
RecipeItemHelper.func_221264_a(ItemStack stack,
int minCount) |
static int |
RecipeItemHelper.pack(ItemStack stack) |
boolean |
Ingredient.test(ItemStack p_test_1_) |
Constructor and Description |
---|
AbstractCookingRecipe(IRecipeType<?> typeIn,
ResourceLocation idIn,
java.lang.String groupIn,
Ingredient ingredientIn,
ItemStack resultIn,
float experienceIn,
int cookTimeIn) |
BlastingRecipe(ResourceLocation p_i50031_1_,
java.lang.String p_i50031_2_,
Ingredient p_i50031_3_,
ItemStack p_i50031_4_,
float p_i50031_5_,
int p_i50031_6_) |
CampfireCookingRecipe(ResourceLocation p_i50030_1_,
java.lang.String p_i50030_2_,
Ingredient p_i50030_3_,
ItemStack p_i50030_4_,
float p_i50030_5_,
int p_i50030_6_) |
FurnaceRecipe(ResourceLocation idIn,
java.lang.String groupIn,
Ingredient ingredientIn,
ItemStack resultIn,
float experienceIn,
int cookTimeIn) |
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) |
SingleItemList(ItemStack stackIn) |
SingleItemRecipe(IRecipeType<?> type,
IRecipeSerializer<?> serializer,
ResourceLocation id,
java.lang.String group,
Ingredient ingredient,
ItemStack result) |
SmokingRecipe(ResourceLocation p_i50022_1_,
java.lang.String p_i50022_2_,
Ingredient p_i50022_3_,
ItemStack p_i50022_4_,
float p_i50022_5_,
int p_i50022_6_) |
StonecuttingRecipe(ResourceLocation p_i50021_1_,
java.lang.String p_i50021_2_,
Ingredient p_i50021_3_,
ItemStack p_i50021_4_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
PacketBuffer.readItemStack() |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
PacketBuffer.writeItemStack(ItemStack stack) |
PacketBuffer |
PacketBuffer.writeItemStack(ItemStack stack,
boolean limitedTag)
Most ItemStack serialization is Server to Client,and doesn't need to know the FULL tag details.
|
Modifier and Type | Field and Description |
---|---|
static IDataSerializer<ItemStack> |
DataSerializers.ITEMSTACK |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
CClickWindowPacket.clickedItem |
private ItemStack |
CEditBookPacket.stack |
private ItemStack |
CCreativeInventoryActionPacket.stack |
Modifier and Type | Method and Description |
---|---|
ItemStack |
CClickWindowPacket.getClickedItem() |
ItemStack |
CEditBookPacket.getStack() |
ItemStack |
CCreativeInventoryActionPacket.getStack() |
Constructor and Description |
---|
CClickWindowPacket(int windowIdIn,
int slotIdIn,
int usedButtonIn,
ClickType modeIn,
ItemStack clickedItemIn,
short actionNumberIn) |
CCreativeInventoryActionPacket(int slotIdIn,
ItemStack stackIn) |
CEditBookPacket(ItemStack stackIn,
boolean updateAllIn,
Hand handIn) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
SSetSlotPacket.item |
private ItemStack |
SEntityEquipmentPacket.itemStack |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ItemStack> |
SWindowItemsPacket.itemStacks |
Modifier and Type | Method and Description |
---|---|
ItemStack |
SEntityEquipmentPacket.getItemStack() |
ItemStack |
SSetSlotPacket.getStack() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemStack> |
SWindowItemsPacket.getItemStacks() |
Constructor and Description |
---|
SEntityEquipmentPacket(int entityIdIn,
EquipmentSlotType equipmentSlotIn,
ItemStack itemStackIn) |
SSetSlotPacket(int windowIdIn,
int slotIn,
ItemStack itemIn) |
Constructor and Description |
---|
SWindowItemsPacket(int p_i47317_1_,
NonNullList<ItemStack> p_i47317_2_) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
ItemParticleData.itemStack |
Modifier and Type | Method and Description |
---|---|
ItemStack |
ItemParticleData.getItemStack() |
Constructor and Description |
---|
ItemParticleData(ParticleType<ItemParticleData> p_i47952_1_,
ItemStack p_i47952_2_) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ItemStack> |
EffectInstance.curativeItems |
private static java.util.function.Predicate<ItemStack> |
PotionBrewing.IS_POTION_ITEM |
Modifier and Type | Method and Description |
---|---|
static ItemStack |
PotionUtils.addPotionToItemStack(ItemStack itemIn,
Potion potionIn) |
static ItemStack |
PotionUtils.appendEffects(ItemStack itemIn,
java.util.Collection<EffectInstance> effects) |
static ItemStack |
PotionBrewing.doReaction(ItemStack reagent,
ItemStack potionIn) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemStack> |
EffectInstance.getCurativeItems() |
Modifier and Type | Method and Description |
---|---|
static ItemStack |
PotionUtils.addPotionToItemStack(ItemStack itemIn,
Potion potionIn) |
static void |
PotionUtils.addPotionTooltip(ItemStack itemIn,
java.util.List<ITextComponent> lores,
float durationFactor) |
static ItemStack |
PotionUtils.appendEffects(ItemStack itemIn,
java.util.Collection<EffectInstance> effects) |
static ItemStack |
PotionBrewing.doReaction(ItemStack reagent,
ItemStack potionIn) |
static int |
PotionUtils.getColor(ItemStack itemStackIn) |
static java.util.List<EffectInstance> |
PotionUtils.getEffectsFromStack(ItemStack stack) |
static java.util.List<EffectInstance> |
PotionUtils.getFullEffectsFromItem(ItemStack itemIn) |
static Potion |
PotionUtils.getPotionFromItem(ItemStack itemIn) |
static boolean |
PotionBrewing.hasConversions(ItemStack input,
ItemStack reagent) |
protected static boolean |
PotionBrewing.hasItemConversions(ItemStack input,
ItemStack reagent) |
protected static boolean |
PotionBrewing.hasTypeConversions(ItemStack input,
ItemStack reagent) |
protected static boolean |
PotionBrewing.isItemConversionReagent(ItemStack stack) |
static boolean |
PotionBrewing.isReagent(ItemStack stack) |
protected static boolean |
PotionBrewing.isTypeConversionReagent(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
void |
EffectInstance.setCurativeItems(java.util.List<ItemStack> curativeItems) |
Modifier and Type | Method and Description |
---|---|
void |
RealmsScreenProxy.renderTooltip(ItemStack p_renderTooltip_1_,
int p_renderTooltip_2_,
int p_renderTooltip_3_) |
void |
RealmsScreen.renderTooltip(ItemStack p_renderTooltip_1_,
int p_renderTooltip_2_,
int p_renderTooltip_3_) |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
DemoPlayerInteractionManager.func_219441_a(PlayerEntity playerIn,
World worldIn,
ItemStack stackIn,
Hand handIn,
BlockRayTraceResult blockRaytraceResultIn) |
ActionResultType |
PlayerInteractionManager.func_219441_a(PlayerEntity playerIn,
World worldIn,
ItemStack stackIn,
Hand handIn,
BlockRayTraceResult blockRaytraceResultIn) |
ActionResultType |
DemoPlayerInteractionManager.processRightClick(PlayerEntity player,
World worldIn,
ItemStack stack,
Hand hand) |
ActionResultType |
PlayerInteractionManager.processRightClick(PlayerEntity player,
World worldIn,
ItemStack stack,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
private static ItemStack |
TestUtils.func_229546_a_(java.lang.String p_229546_0_,
boolean p_229546_1_,
java.lang.String p_229546_2_) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
LecternTileEntity.book |
private ItemStack |
BannerPattern.patternItem |
private ItemStack |
JukeboxTileEntity.record |
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 |
---|---|
ItemStack |
LockableLootTileEntity.decrStackSize(int index,
int count) |
ItemStack |
BrewingStandTileEntity.decrStackSize(int index,
int count) |
ItemStack |
HopperTileEntity.decrStackSize(int index,
int count) |
ItemStack |
AbstractFurnaceTileEntity.decrStackSize(int index,
int count) |
private ItemStack |
LecternTileEntity.ensureResolved(ItemStack stack,
PlayerEntity player) |
ItemStack |
LecternTileEntity.getBook() |
ItemStack |
BannerTileEntity.getItem(BlockState p_190615_1_) |
ItemStack |
JukeboxTileEntity.getRecord() |
ItemStack |
LockableLootTileEntity.getStackInSlot(int index) |
ItemStack |
BrewingStandTileEntity.getStackInSlot(int index) |
ItemStack |
AbstractFurnaceTileEntity.getStackInSlot(int index) |
private static ItemStack |
HopperTileEntity.insertStack(IInventory source,
IInventory destination,
ItemStack stack,
int index,
Direction direction) |
static ItemStack |
HopperTileEntity.putStackInInventoryAllSlots(IInventory source,
IInventory destination,
ItemStack stack,
Direction direction) |
ItemStack |
LockableLootTileEntity.removeStackFromSlot(int index) |
ItemStack |
BrewingStandTileEntity.removeStackFromSlot(int index) |
ItemStack |
AbstractFurnaceTileEntity.removeStackFromSlot(int index) |
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 |
---|---|
boolean |
CampfireTileEntity.addItem(ItemStack itemStackIn,
int cookTime) |
int |
DispenserTileEntity.addItemStack(ItemStack stack) |
private static boolean |
HopperTileEntity.canCombine(ItemStack stack1,
ItemStack stack2) |
boolean |
ShulkerBoxTileEntity.canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
BrewingStandTileEntity.canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
AbstractFurnaceTileEntity.canExtractItem(int index,
ItemStack stack,
Direction direction) |
private static boolean |
HopperTileEntity.canExtractItemFromSlot(IInventory inventoryIn,
ItemStack stack,
int index,
Direction side) |
boolean |
ShulkerBoxTileEntity.canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
boolean |
BrewingStandTileEntity.canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
boolean |
AbstractFurnaceTileEntity.canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
private static boolean |
HopperTileEntity.canInsertItemInSlot(IInventory inventoryIn,
ItemStack stack,
int index,
Direction side) |
static BannerPattern |
BannerPattern.create(java.lang.String enumName,
java.lang.String fileNameIn,
java.lang.String hashNameIn,
ItemStack craftingStack) |
private ItemStack |
LecternTileEntity.ensureResolved(ItemStack stack,
PlayerEntity player) |
java.util.Optional<CampfireCookingRecipe> |
CampfireTileEntity.findMatchingRecipe(ItemStack itemStackIn) |
static ListNBT |
BannerTileEntity.func_230139_a_(ItemStack p_230139_0_) |
protected int |
SmokerTileEntity.getBurnTime(ItemStack fuel) |
protected int |
AbstractFurnaceTileEntity.getBurnTime(ItemStack fuel) |
protected int |
BlastFurnaceTileEntity.getBurnTime(ItemStack fuel) |
static int |
BannerTileEntity.getPatterns(ItemStack stack) |
private static ItemStack |
HopperTileEntity.insertStack(IInventory source,
IInventory destination,
ItemStack stack,
int index,
Direction direction) |
static boolean |
AbstractFurnaceTileEntity.isFuel(ItemStack stack) |
boolean |
BrewingStandTileEntity.isItemValidForSlot(int index,
ItemStack stack) |
boolean |
AbstractFurnaceTileEntity.isItemValidForSlot(int index,
ItemStack stack) |
void |
BannerTileEntity.loadFromItemStack(ItemStack p_195534_1_,
DyeColor p_195534_2_) |
static ItemStack |
HopperTileEntity.putStackInInventoryAllSlots(IInventory source,
IInventory destination,
ItemStack stack,
Direction direction) |
static void |
BannerTileEntity.removeBannerData(ItemStack stack) |
void |
LecternTileEntity.setBook(ItemStack stack) |
void |
LecternTileEntity.setBook(ItemStack stack,
PlayerEntity player) |
void |
LockableLootTileEntity.setInventorySlotContents(int index,
ItemStack stack) |
void |
BrewingStandTileEntity.setInventorySlotContents(int index,
ItemStack stack) |
void |
HopperTileEntity.setInventorySlotContents(int index,
ItemStack stack) |
void |
AbstractFurnaceTileEntity.setInventorySlotContents(int index,
ItemStack stack) |
void |
JukeboxTileEntity.setRecord(ItemStack p_195535_1_) |
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) |
Constructor and Description |
---|
BannerPattern(java.lang.String fileNameIn,
java.lang.String hashNameIn,
ItemStack craftingStack) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
EntityPredicates.ArmoredMob.armor |
Modifier and Type | Method and Description |
---|---|
void |
FoodStats.consume(Item maybeFood,
ItemStack stack) |
Constructor and Description |
---|
ArmoredMob(ItemStack armor) |
Modifier and Type | Method and Description |
---|---|
boolean |
LockCode.func_219964_a(ItemStack p_219964_1_) |
private static void |
Explosion.func_229976_a_(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack,BlockPos>> p_229976_0_,
ItemStack p_229976_1_,
BlockPos p_229976_2_) |
Modifier and Type | Method and Description |
---|---|
private static void |
Explosion.func_229976_a_(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack,BlockPos>> p_229976_0_,
ItemStack p_229976_1_,
BlockPos p_229976_2_) |
Modifier and Type | Method and Description |
---|---|
static ItemStack |
Raid.createIllagerBanner() |
Modifier and Type | Method and Description |
---|---|
static void |
MapData.addTargetDecoration(ItemStack map,
BlockPos target,
java.lang.String decorationName,
MapDecoration.Type type) |
IPacket<?> |
MapData.getMapPacket(ItemStack mapStack,
IBlockReader worldIn,
PlayerEntity player) |
IPacket<?> |
MapData.MapInfo.getPacket(ItemStack stack) |
void |
MapData.updateVisiblePlayers(PlayerEntity player,
ItemStack mapStack) |
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootTable.combinedFunctions |
private java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootTable.combinedFunctions |
private java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootPool.combinedFunctions |
private java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootPool.combinedFunctions |
private java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
StandaloneLootEntry.field_216157_c |
private java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
StandaloneLootEntry.field_216157_c |
static LootParameter<ItemStack> |
LootParameters.TOOL |
Modifier and Type | Method and Description |
---|---|
ItemStack |
LootFunction.apply(ItemStack p_apply_1_,
LootContext p_apply_2_) |
protected abstract ItemStack |
LootFunction.doApply(ItemStack stack,
LootContext context) |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Consumer<ItemStack> |
LootTable.capStackSizes(java.util.function.Consumer<ItemStack> p_216124_0_) |
java.util.List<ItemStack> |
LootTable.generate(LootContext context) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
LootFunction.apply(ItemStack p_apply_1_,
LootContext p_apply_2_) |
protected abstract ItemStack |
LootFunction.doApply(ItemStack stack,
LootContext context) |
Modifier and Type | Method and Description |
---|---|
void |
LootContext.IDynamicDropProvider.add(LootContext p_add_1_,
java.util.function.Consumer<ItemStack> p_add_2_) |
static java.util.function.Consumer<ItemStack> |
LootTable.capStackSizes(java.util.function.Consumer<ItemStack> p_216124_0_) |
protected abstract void |
StandaloneLootEntry.func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
TagLootEntry.func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
ItemLootEntry.func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
EmptyLootEntry.func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
DynamicLootEntry.func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
TableLootEntry.func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
ILootGenerator.func_216188_a(java.util.function.Consumer<ItemStack> p_216188_1_,
LootContext p_216188_2_) |
void |
LootPool.generate(java.util.function.Consumer<ItemStack> p_216091_1_,
LootContext p_216091_2_) |
void |
LootTable.generate(LootContext contextData,
java.util.function.Consumer<ItemStack> stacksOut)
Deprecated.
|
void |
LootContext.generateDynamicDrop(ResourceLocation name,
java.util.function.Consumer<ItemStack> consumer) |
private void |
LootPool.generateRoll(java.util.function.Consumer<ItemStack> p_216095_1_,
LootContext p_216095_2_) |
void |
LootTable.recursiveGenerate(LootContext context,
java.util.function.Consumer<ItemStack> stacksOut) |
private void |
LootTable.shuffleItems(java.util.List<ItemStack> stacks,
int p_186463_2_,
java.util.Random rand) |
Modifier and Type | Field and Description |
---|---|
static java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootFunctionManager.IDENTITY |
static java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootFunctionManager.IDENTITY |
Modifier and Type | Method and Description |
---|---|
static java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootFunctionManager.combine(java.util.function.BiFunction<ItemStack,LootContext,ItemStack>[] p_216241_0_) |
static java.util.function.BiFunction<ItemStack,LootContext,ItemStack> |
LootFunctionManager.combine(java.util.function.BiFunction<ItemStack,LootContext,ItemStack>[] p_216241_0_) |
static java.util.function.Consumer<ItemStack> |
ILootFunction.func_215858_a(java.util.function.BiFunction<ItemStack,LootContext,ItemStack> p_215858_0_,
java.util.function.Consumer<ItemStack> p_215858_1_,
LootContext p_215858_2_) |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Consumer<ItemStack> |
ILootFunction.func_215858_a(java.util.function.BiFunction<ItemStack,LootContext,ItemStack> p_215858_0_,
java.util.function.Consumer<ItemStack> p_215858_1_,
LootContext p_215858_2_) |
static java.util.function.Consumer<ItemStack> |
ILootFunction.func_215858_a(java.util.function.BiFunction<ItemStack,LootContext,ItemStack> p_215858_0_,
java.util.function.Consumer<ItemStack> p_215858_1_,
LootContext p_215858_2_) |
static java.util.function.Consumer<ItemStack> |
ILootFunction.func_215858_a(java.util.function.BiFunction<ItemStack,LootContext,ItemStack> p_215858_0_,
java.util.function.Consumer<ItemStack> p_215858_1_,
LootContext p_215858_2_) |
Modifier and Type | Method and Description |
---|---|
static <A extends BipedModel<?>> |
ForgeHooksClient.getArmorModel(LivingEntity entityLiving,
ItemStack itemStack,
EquipmentSlotType slot,
A _default) |
static java.lang.String |
ForgeHooksClient.getArmorTexture(Entity entity,
ItemStack armor,
java.lang.String _default,
EquipmentSlotType slot,
java.lang.String type) |
int |
FluidContainerColorer.getColor(ItemStack stack,
int tintIndex) |
ModelResourceLocation |
ItemModelMesherForge.getLocation(ItemStack stack) |
static boolean |
ForgeHooksClient.renderSpecificFirstPersonHand(Hand hand,
MatrixStack mat,
IRenderTypeBuffer buffers,
int light,
float partialTicks,
float interpPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
static boolean |
ForgeHooksClient.shouldCauseReequipAnimation(ItemStack from,
ItemStack to,
int slot) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
RenderItemInFrameEvent.item |
private ItemStack |
RenderHandEvent.stack |
protected ItemStack |
RenderTooltipEvent.stack |
Modifier and Type | Method and Description |
---|---|
ItemStack |
RenderItemInFrameEvent.getItem() |
ItemStack |
RenderHandEvent.getItemStack() |
ItemStack |
RenderTooltipEvent.getStack() |
Constructor and Description |
---|
Color(ItemStack stack,
java.util.List<java.lang.String> textLines,
int x,
int y,
FontRenderer fr,
int background,
int borderStart,
int borderEnd) |
Post(ItemStack stack,
java.util.List<java.lang.String> textLines,
int x,
int y,
FontRenderer fr,
int width,
int height) |
PostBackground(ItemStack stack,
java.util.List<java.lang.String> textLines,
int x,
int y,
FontRenderer fr,
int width,
int height) |
PostText(ItemStack stack,
java.util.List<java.lang.String> textLines,
int x,
int y,
FontRenderer fr,
int width,
int height) |
Pre(ItemStack stack,
java.util.List<java.lang.String> lines,
int x,
int y,
int screenWidth,
int screenHeight,
int maxWidth,
FontRenderer fr) |
RenderHandEvent(Hand hand,
MatrixStack mat,
IRenderTypeBuffer buffers,
int light,
float partialTicks,
float interpolatedPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
RenderTooltipEvent(ItemStack stack,
java.util.List<java.lang.String> lines,
int x,
int y,
FontRenderer fr) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
PerspectiveMapWrapper.OverrideListWrapper.getModelWithOverrides(IBakedModel model,
ItemStack stack,
World worldIn,
LivingEntity entityIn) |
IBakedModel |
DynamicBucketModel.ContainedFluidOverrideHandler.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
AnimationItemOverrideList.getModelWithOverrides(IBakedModel originalModel,
ItemStack stack,
World world,
LivingEntity entity) |
Modifier and Type | Field and Description |
---|---|
protected ItemStack |
BasicTrade.forSale |
protected ItemStack |
BasicTrade.price |
protected ItemStack |
BasicTrade.price2 |
Modifier and Type | Method and Description |
---|---|
static ItemStack |
ForgeHooks.getContainerItem(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ItemStack> |
ForgeHooks.modifyLoot(java.util.List<ItemStack> list,
LootContext context)
All loot table drops should be passed to this function so that mod added effects
(e.g.
|
default java.util.List<ItemStack> |
IShearable.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune)
Deprecated.
Performs the shear function on this object.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.canContinueUsing(ItemStack from,
ItemStack to) |
static boolean |
ForgeHooks.canToolHarvestBlock(IWorldReader world,
BlockPos pos,
ItemStack stack) |
static int |
ForgeHooks.getBurnTime(ItemStack stack)
Gets the burn time of this itemstack.
|
static ItemStack |
ForgeHooks.getContainerItem(ItemStack stack) |
static java.lang.String |
ForgeHooks.getDefaultCreatorModId(ItemStack itemStack)
Used as the default implementation of
IForgeItem.getCreatorModId(net.minecraft.item.ItemStack) . |
default boolean |
IShearable.isShearable(ItemStack item,
IWorldReader world,
BlockPos pos)
Deprecated.
Checks if the object is currently shearable
Example: Sheep return false when they have no wool
|
static boolean |
ForgeHooks.isToolEffective(IWorldReader world,
BlockPos pos,
ItemStack stack) |
static boolean |
ForgeHooks.onAnvilChange(RepairContainer container,
ItemStack left,
ItemStack right,
IInventory outputSlot,
java.lang.String name,
int baseCost) |
static float |
ForgeHooks.onAnvilRepair(PlayerEntity player,
ItemStack output,
ItemStack left,
ItemStack right) |
static ItemEntity |
ForgeHooks.onPlayerTossEvent(PlayerEntity player,
ItemStack item,
boolean includeName) |
default java.util.List<ItemStack> |
IShearable.onSheared(ItemStack item,
IWorld world,
BlockPos pos,
int fortune)
Deprecated.
Performs the shear function on this object.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<ItemStack> |
ForgeHooks.modifyLoot(java.util.List<ItemStack> list,
LootContext context)
All loot table drops should be passed to this function so that mod added effects
(e.g.
|
Constructor and Description |
---|
BasicTrade(int emeralds,
ItemStack forSale,
int maxTrades,
int xp) |
BasicTrade(int emeralds,
ItemStack forSale,
int maxTrades,
int xp,
float mult) |
BasicTrade(ItemStack price,
ItemStack forSale,
int maxTrades,
int xp,
float priceMult) |
BasicTrade(ItemStack price,
ItemStack price2,
ItemStack forSale,
int maxTrades,
int xp,
float priceMult) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
BrewingRecipe.output |
Modifier and Type | Method and Description |
---|---|
ItemStack |
BrewingRecipe.getOutput() |
ItemStack |
VanillaBrewingRecipe.getOutput(ItemStack input,
ItemStack ingredient)
Code copied from TileEntityBrewingStand.brewPotions()
It brews the potion by doing the bit-shifting magic and then checking if the new PotionEffect list is different to the old one,
or if the new potion is a splash potion when the old one wasn't.
|
ItemStack |
BrewingRecipe.getOutput(ItemStack input,
ItemStack ingredient) |
static ItemStack |
BrewingRecipeRegistry.getOutput(ItemStack input,
ItemStack ingredient)
Returns the output ItemStack obtained by brewing the passed input and
ingredient.
|
ItemStack |
IBrewingRecipe.getOutput(ItemStack input,
ItemStack ingredient)
Returns the output when the passed input is brewed with the passed
ingredient.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
BrewingRecipeRegistry.addRecipe(Ingredient input,
Ingredient ingredient,
ItemStack output)
Adds a recipe to the registry.
|
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.
|
ItemStack |
VanillaBrewingRecipe.getOutput(ItemStack input,
ItemStack ingredient)
Code copied from TileEntityBrewingStand.brewPotions()
It brews the potion by doing the bit-shifting magic and then checking if the new PotionEffect list is different to the old one,
or if the new potion is a splash potion when the old one wasn't.
|
ItemStack |
BrewingRecipe.getOutput(ItemStack input,
ItemStack ingredient) |
static ItemStack |
BrewingRecipeRegistry.getOutput(ItemStack input,
ItemStack ingredient)
Returns the output ItemStack obtained by brewing the passed input and
ingredient.
|
ItemStack |
IBrewingRecipe.getOutput(ItemStack input,
ItemStack ingredient)
Returns the output when the passed input is brewed with the passed
ingredient.
|
static boolean |
BrewingRecipeRegistry.hasOutput(ItemStack input,
ItemStack ingredient)
Returns true if the passed input and ingredient have an output
|
boolean |
VanillaBrewingRecipe.isIngredient(ItemStack stack)
Code adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)
|
boolean |
BrewingRecipe.isIngredient(ItemStack ingredient) |
boolean |
IBrewingRecipe.isIngredient(ItemStack ingredient)
Returns true if the passed ItemStack is an ingredient for this recipe.
|
boolean |
VanillaBrewingRecipe.isInput(ItemStack stack)
Code adapted from TileEntityBrewingStand.isItemValidForSlot(int index, ItemStack stack)
|
boolean |
BrewingRecipe.isInput(ItemStack stack) |
boolean |
IBrewingRecipe.isInput(ItemStack input)
Returns true is the passed ItemStack is an input for this recipe.
|
static boolean |
BrewingRecipeRegistry.isValidIngredient(ItemStack stack)
Returns true if the passed ItemStack is a valid ingredient for any of the
recipes in the registry.
|
static boolean |
BrewingRecipeRegistry.isValidInput(ItemStack stack)
Returns true if the passed ItemStack is a valid input for any of the
recipes in the registry.
|
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.
|
Constructor and Description |
---|
BrewingRecipe(Ingredient input,
Ingredient ingredient,
ItemStack output) |
Modifier and Type | Field and Description |
---|---|
private ItemStack |
NBTIngredient.stack |
private ItemStack[] |
CompoundIngredient.stacks |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<ItemStack> |
StackList.items |
Modifier and Type | Method and Description |
---|---|
static ItemStack |
CraftingHelper.getItemStack(com.google.gson.JsonObject json,
boolean readNBT) |
ItemStack[] |
CompoundIngredient.getMatchingStacks() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ItemStack> |
StackList.getStacks() |
Modifier and Type | Method and Description |
---|---|
boolean |
CompoundIngredient.test(ItemStack target) |
boolean |
NBTIngredient.test(ItemStack input) |
private com.google.gson.JsonObject |
StackList.toJson(ItemStack stack) |
Constructor and Description |
---|
NBTIngredient(ItemStack stack) |
Constructor and Description |
---|
StackList(java.util.Collection<ItemStack> items) |
Modifier and Type | Method and Description |
---|---|
void |
LanguageProvider.add(ItemStack key,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
LanguageProvider.addItemStack(java.util.function.Supplier<ItemStack> key,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
default ItemStack |
IForgeEntityMinecart.getCartItem()
This function returns an ItemStack that represents this cart.
|
default ItemStack |
IForgeItemStack.getContainerItem()
ItemStack sensitive version of getContainerItem.
|
default ItemStack |
IForgeItem.getContainerItem(ItemStack itemStack)
ItemStack sensitive version of getContainerItem.
|
default ItemStack |
IForgeBlock.getPickBlock(BlockState state,
RayTraceResult target,
IBlockReader world,
BlockPos pos,
PlayerEntity player)
Called when A user uses the creative pick block button on this block
|
default ItemStack |
IForgeBlockState.getPickBlock(RayTraceResult target,
IBlockReader world,
BlockPos pos,
PlayerEntity player)
Called when A user uses the creative pick block button on this block
|
default ItemStack |
IForgeEntity.getPickedResult(RayTraceResult target)
Called when a user uses the creative pick block button on this entity.
|
default ItemStack |
IForgeItemStack.getStack() |
Modifier and Type | Method and Description |
---|---|
default java.util.List<ItemStack> |
IForgeEffect.getCurativeItems()
Get a fresh list of items that can cure this Potion.
|
java.util.List<ItemStack> |
IForgeEffectInstance.getCurativeItems()
Returns a list of curative items for the potion effect
By default, this list is initialized using
Potion#getCurativeItems |
Modifier and Type | Method and Description |
---|---|
default void |
IForgeEffectInstance.addCurativeItem(ItemStack stack)
Adds the given stack to the list of curative items for this PotionEffect
|
default boolean |
IForgeItemStack.areShareTagsEqual(ItemStack other)
Modeled after ItemStack.areItemStackTagsEqual
Uses Item.getNBTShareTag for comparison instead of NBT and capabilities.
|
default boolean |
IForgeItem.canApplyAtEnchantingTable(ItemStack stack,
Enchantment enchantment)
Checks whether an item can be enchanted with a certain enchantment.
|
default boolean |
IForgeItem.canContinueUsing(ItemStack oldStack,
ItemStack newStack)
Called while an item is in 'active' use to determine if usage should
continue.
|
default boolean |
IForgeItem.canDisableShield(ItemStack stack,
ItemStack shield,
LivingEntity entity,
LivingEntity attacker)
Can this Item disable a shield
|
default boolean |
IForgeItemStack.canDisableShield(ItemStack shield,
LivingEntity entity,
LivingEntity attacker)
Can this Item disable a shield
|
default boolean |
IForgeItem.canElytraFly(ItemStack stack,
LivingEntity entity)
Used to determine if the player can use Elytra flight.
|
default boolean |
IForgeItem.canEquip(ItemStack stack,
EquipmentSlotType armorType,
Entity entity)
Determines if the specific ItemStack can be placed in the specified armor
slot, for the entity.
|
default boolean |
IForgeItem.canHarvestBlock(ItemStack stack,
BlockState state)
ItemStack sensitive version of
#canHarvestBlock(IBlockState) |
default Entity |
IForgeItem.createEntity(World world,
Entity location,
ItemStack itemstack)
This function should return a new entity to replace the dropped item.
|
default <T extends LivingEntity> |
IForgeItem.damageItem(ItemStack stack,
int amount,
T entity,
java.util.function.Consumer<T> onBroken)
Reduce the durability of this item by the amount given.
|
default boolean |
IForgeItem.doesSneakBypassUse(ItemStack stack,
IWorldReader world,
BlockPos pos,
PlayerEntity player)
Should this item, when held, allow sneak-clicks to pass through to the
underlying block?
|
default boolean |
IForgeItem.elytraFlightTick(ItemStack stack,
LivingEntity entity,
int flightTicks)
Used to determine if the player can continue Elytra flight,
this is called each tick, and can be used to apply ItemStack damage,
consume Energy, or what have you.
|
default boolean |
IForgeItemStack.equals(ItemStack other,
boolean limitTags)
Determines if the ItemStack is equal to the other item stack, including Item, Count, and NBT.
|
default com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> |
IForgeItem.
|