Uses of Interface
net.minecraft.world.item.Tier
Package
Description
-
Uses of Tier in net.minecraft.world.item
ModifierConstructorDescriptionAxeItem
(Tier p_40521_, float p_40522_, float p_40523_, Item.Properties p_40524_) DiggerItem
(float p_204108_, float p_204109_, Tier p_204110_, TagKey<Block> p_204111_, Item.Properties p_204112_) HoeItem
(Tier p_41336_, int p_41337_, float p_41338_, Item.Properties p_41339_) PickaxeItem
(Tier p_42961_, int p_42962_, float p_42963_, Item.Properties p_42964_) ShovelItem
(Tier p_43114_, float p_43115_, float p_43116_, Item.Properties p_43117_) SwordItem
(Tier p_43269_, int p_43270_, float p_43271_, Item.Properties p_43272_) TieredItem
(Tier p_43308_, Item.Properties p_43309_) -
Uses of Tier in net.minecraftforge.common
Modifier and TypeFieldDescriptionTierSortingRegistry.sortedTiers
TierSortingRegistry.sortedTiersUnmodifiable
private static final com.google.common.collect.BiMap<ResourceLocation,
Tier> TierSortingRegistry.tiers
Modifier and TypeMethodDescriptionstatic @Nullable Tier
TierSortingRegistry.byName
(ResourceLocation name) Returns the tier associated with a name, if registered into the sorting system.static Tier
TierSortingRegistry.registerTier
(Tier tier, ResourceLocation name, List<Object> after, List<Object> before) Registers a tier into the tier sorting registry.Modifier and TypeMethodDescriptionTierSortingRegistry.getSortedTiers()
Returns the list of tiers in the order defined by the dependencies.TierSortingRegistry.getTiersLowerThan
(Tier tier) Helper to query all tiers that are lower than the given tierModifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
Returns the name associated with a tier, if the tier is registered into the sorting system.TierSortingRegistry.getTiersLowerThan
(Tier tier) Helper to query all tiers that are lower than the given tierstatic boolean
TierSortingRegistry.isCorrectTierForDrops
(Tier tier, BlockState state) Queries if a tier is high enough to be able to get drops for the given blockstate.private static boolean
TierSortingRegistry.isCorrectTierVanilla
(Tier tier, BlockState state) Fallback for when a tier isn't in the registry, copy of the logic inDiggerItem.isCorrectToolForDrops(net.minecraft.world.level.block.state.BlockState)
static boolean
TierSortingRegistry.isTierSorted
(Tier tier) Queries if a tier should be evaluated using the sorting system, by calling isCorrectTierForDropsprivate static void
TierSortingRegistry.processTier
(Tier tier, ResourceLocation name, List<Object> afters, List<Object> befores) static Tier
TierSortingRegistry.registerTier
(Tier tier, ResourceLocation name, List<Object> after, List<Object> before) Registers a tier into the tier sorting registry.Modifier and TypeMethodDescriptionprivate static void
TierSortingRegistry.setTierOrder
(List<Tier> tierList) -
Uses of Tier in net.minecraftforge.debug.entity.player
ModifierConstructorDescription(package private)
KnockbackSwordItem
(Tier itemTier, int attackDamageIn, float attackSpeedIn, float attackKnockbackIn, Item.Properties properties) -
Uses of Tier in net.minecraftforge.debug.item