Uses of Interface
net.minecraft.world.item.Tier
Packages that use Tier
-
Uses of Tier in net.minecraft.world.item
Classes in net.minecraft.world.item that implement TierFields in net.minecraft.world.item declared as TierMethods in net.minecraft.world.item that return TierConstructors in net.minecraft.world.item with parameters of type TierModifierConstructorDescriptionAxeItem
(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
Classes in net.minecraftforge.common that implement TierFields in net.minecraftforge.common with type parameters of type TierModifier and TypeFieldDescriptionTierSortingRegistry.sortedTiers
TierSortingRegistry.sortedTiersUnmodifiable
private static final com.google.common.collect.BiMap<ResourceLocation,
Tier> TierSortingRegistry.tiers
Methods in net.minecraftforge.common that return TierModifier 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.Methods in net.minecraftforge.common that return types with arguments of type TierModifier 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 tierMethods in net.minecraftforge.common with parameters of type 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.Method parameters in net.minecraftforge.common with type arguments of type TierModifier and TypeMethodDescriptionprivate static void
TierSortingRegistry.setTierOrder
(List<Tier> tierList)