MCPcopy Create free account

hub / github.com/BlakeBr0/MysticalAgriculture / functions

Functions1,548 in github.com/BlakeBr0/MysticalAgriculture

↓ 424 callersMethodget
(ItemStack stack, @Nullable ClientLevel level, @Nullable ItemOwner owner, int seed)
src/main/java/com/blakebr0/mysticalagriculture/client/properties/SoulJarProperty.java:14
↓ 325 callersMethodregister
Register a crop in the crop registry @param crop the crop to register
src/main/java/com/blakebr0/mysticalagriculture/api/registry/ICropRegistry.java:15
↓ 304 callersMethodresource
(String path)
src/main/java/com/blakebr0/mysticalagriculture/MysticalAgriculture.java:129
↓ 128 callersMethodof
()
src/main/java/com/blakebr0/mysticalagriculture/crafting/ingredient/FilledSoulJarIngredient.java:60
↓ 115 callersMethodaddSlot
(IRecipeLayoutBuilder builder, SlotPosition position, Ingredient ingredient)
src/main/java/com/blakebr0/mysticalagriculture/compat/jei/category/InfusionCategory.java:133
↓ 108 callersMethodregisterGear
(String name, Function<Identifier, Item> item)
src/main/java/com/blakebr0/mysticalagriculture/init/ModItems.java:290
↓ 87 callersMethodgetItem
Get the augment item for this augment @return the augment item
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/Augment.java:126
↓ 85 callersMethodadd
Add a user to the cache for the specified augment, meaning they have it equipped currently @param augment the augment @param player the player @param
src/main/java/com/blakebr0/mysticalagriculture/api/lib/AbilityCache.java:22
↓ 85 callersMethodregister
(String name)
src/main/java/com/blakebr0/mysticalagriculture/init/ModItems.java:279
↓ 82 callersMethoditem
(String name)
src/main/java/com/blakebr0/mysticalagriculture/api/lib/LazyIngredient.java:33
↓ 81 callersMethodgetAugments
Gets the augments currently installed on this tinkerable @param stack the {@link ITinkerable} @return the installed augments
src/main/java/com/blakebr0/mysticalagriculture/api/util/AugmentUtils.java:155
↓ 74 callersMethodregister
(String name, Function<Identifier, Block> block)
src/main/java/com/blakebr0/mysticalagriculture/init/ModBlocks.java:139
↓ 68 callersMethodset
Set the resource in this handler @param index unused @param resource the resource @param amount the amount of the resource
src/main/java/com/blakebr0/mysticalagriculture/api/machine/MachineUpgradeItemStackHandler.java:20
↓ 61 callersMethodtag
(String name)
src/main/java/com/blakebr0/mysticalagriculture/api/lib/LazyIngredient.java:41
↓ 59 callersMethodwithRequiredMods
(Crop crop, String... mods)
src/main/java/com/blakebr0/mysticalagriculture/lib/ModCrops.java:392
↓ 55 callersMethodgetId
The id of this crop, the modid is taken from the namespace for {@link Crop#getModId()}, and the path is used for {@link Crop#getName()} @return the id
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:116
↓ 54 callersMethodresource
Creates a {@link Identifier} in the `mysticalagriculture` namespace @param path the path @return the resource location
src/main/java/com/blakebr0/mysticalagriculture/api/MysticalAgricultureAPI.java:54
↓ 45 callersMethodgetValue
@return the tier value of this tier
src/main/java/com/blakebr0/mysticalagriculture/api/crop/CropTier.java:76
↓ 37 callersMethodgetTextColor
@return the text color of this tier
src/main/java/com/blakebr0/mysticalagriculture/api/crop/CropTier.java:90
↓ 34 callersMethodgetInstance
()
src/main/java/com/blakebr0/mysticalagriculture/registry/CropRegistry.java:100
↓ 25 callersMethodmap
(List<RecipeHolder<T>> list, Map<Identifier, T> map)
src/main/java/com/blakebr0/mysticalagriculture/client/handler/ClientRecipeHandler.java:68
↓ 24 callersMethodaddVertex
(VertexConsumer renderer, PoseStack stack, float x, float y, float z, float u, float v, int color, int lightCo
src/main/java/com/blakebr0/mysticalagriculture/client/tesr/renderer/EssenceVesselRenderer.java:131
↓ 23 callersMethodmakeComponentMap
Creates a {@link DataComponentMap} with the necessary components for this mob soul type using the max amount of souls @param type the mod soul type @
src/main/java/com/blakebr0/mysticalagriculture/api/util/MobSoulUtils.java:18
↓ 22 callersMethodclear
()
src/main/java/com/blakebr0/mysticalagriculture/api/machine/MachineUpgradeItemStackHandler.java:41
↓ 22 callersMethodgetInventory
()
src/main/java/com/blakebr0/mysticalagriculture/tileentity/HarvesterTileEntity.java:78
↓ 22 callersMethodgetTier
Get the tier/group this machine upgrade belongs to @return the tier of this machine upgrade
src/main/java/com/blakebr0/mysticalagriculture/api/machine/IMachineUpgrade.java:13
↓ 21 callersMethodgroup
()
src/main/java/com/blakebr0/mysticalagriculture/api/crafting/IInfusionRecipe.java:34
↓ 20 callersMethodforEach
(BiConsumer<IMysticalAgriculturePlugin, PluginConfig> action)
src/main/java/com/blakebr0/mysticalagriculture/registry/PluginRegistry.java:51
↓ 18 callersMethodgetTooltipForTier
(int tier)
src/main/java/com/blakebr0/mysticalagriculture/lib/ModTooltips.java:52
↓ 17 callersMethodaddAugmentListToTooltip
Used to add the augment tooltip lines to an item @param tooltip the tooltip consumer from {@link Item#appendHoverText} @param stack the {@link ITin
src/main/java/com/blakebr0/mysticalagriculture/api/util/AugmentUtils.java:232
↓ 17 callersMethodgetEssenceItem
The essence item for this crop type @return the essence item
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:331
↓ 16 callersMethodgetFuelLeft
()
src/main/java/com/blakebr0/mysticalagriculture/container/HarvesterContainer.java:112
↓ 16 callersMethodonInventoryTick
Called when the item is ticked in the player's inventory, {@link Item#inventoryTick(ItemStack, ServerLevel, Entity, EquipmentSlot)} @param stack the i
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/Augment.java:252
↓ 14 callersMethodassemble
Special case version of {@link Recipe#assemble(RecipeInput)} that will only return the newly enchanted item with the provided level or empty @param i
src/main/java/com/blakebr0/mysticalagriculture/api/crafting/IEnchanterRecipe.java:40
↓ 14 callersMethodgetSeedsItem
The seeds item for this crop type @return the seed item
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:368
↓ 13 callersMethodgetCrops
Get an unmodifiable list of all the registered crops @return a list of registered crops
src/main/java/com/blakebr0/mysticalagriculture/api/registry/ICropRegistry.java:33
↓ 13 callersMethodregister
(String name, BlockEntityType.BlockEntitySupplier<T> tile, Supplier<Block[]> blocks)
src/main/java/com/blakebr0/mysticalagriculture/init/ModTileEntities.java:43
↓ 12 callersMethodgetFuelItemValue
()
src/main/java/com/blakebr0/mysticalagriculture/container/HarvesterContainer.java:116
↓ 12 callersMethodgetModId
The modid of the mod that registered this crop @return the modid of this crop
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:133
↓ 12 callersMethodgetName
The internal name of this crop. This is used for registration, so it MUST be all lowercase with underscores for spaces @return the internal name of th
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:125
↓ 12 callersMethodonBlockDestroyed
Called when a block is destroyed using this item, {@link Item#mineBlock(ItemStack, Level, BlockState, BlockPos, LivingEntity)} @param stack the item @
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/Augment.java:241
↓ 12 callersMethodonHitEntity
Called when this item is used to attack an entity, {@link Item#hurtEnemy(ItemStack, LivingEntity, LivingEntity)} @param stack the item @param target t
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/Augment.java:230
↓ 12 callersMethodonItemUse
Called when the item is used while targeting a block, {@link Item#useOn(UseOnContext)} @param context the item use context @return was the action succ
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/Augment.java:196
↓ 12 callersMethodonRightClick
Called when the item is right-clicked while not targeting a block, {@link Item#use(Level, Player, InteractionHand)} @param stack the item @param level
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/Augment.java:208
↓ 12 callersMethodonRightClickEntity
Called when this item is right-clicked on an entity, {@link Item#interactLivingEntity(ItemStack, Player, LivingEntity, InteractionHand)} @param stack
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/Augment.java:220
↓ 11 callersMethodhasEffect
Whether this crop's items should have the enchantment glint effect @param stack the stack @return should the crop have the glint effect?
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:523
↓ 11 callersMethodisEnabled
Whether this crop has recipes and shows up in the creative menu @return is this crop enabled?
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:487
↓ 11 callersMethodtest
(IContext context)
src/main/java/com/blakebr0/mysticalagriculture/crafting/condition/CropEnabledCondition.java:22
↓ 10 callersMethodgetDisplayName
Get the localized name of this crop using the key crop.{@link Crop#getModId()}.{@link Crop#getName()}, or the display name set via {@link Crop#setDisp
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:152
↓ 10 callersMethodgetProgress
()
src/main/java/com/blakebr0/mysticalagriculture/container/OreInfuserContainer.java:101
↓ 9 callersMethodgetCropBlock
The crop block for this crop type @return the crop block
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:294
↓ 9 callersMethodgetIngredient
()
src/main/java/com/blakebr0/mysticalagriculture/api/crafting/IReprocessorRecipe.java:14
↓ 9 callersMethodgetInstance
()
src/main/java/com/blakebr0/mysticalagriculture/registry/MobSoulTypeRegistry.java:85
↓ 9 callersMethodgetType
Gets the mob soul type from the provided item stack @param stack the soul jar stack @return the mob soul type
src/main/java/com/blakebr0/mysticalagriculture/api/util/MobSoulUtils.java:67
↓ 9 callersMethodisValidInput
(ItemStack stack, RecipeType<?> type)
src/main/java/com/blakebr0/mysticalagriculture/util/RecipeIngredientCache.java:89
↓ 9 callersMethodsetEssenceItem
Used to set the essence item instance for this crop, the supplier should return the same instance every time @param essence the essence item @return t
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:340
↓ 9 callersMethodslotsChanged
(Container matrix)
src/main/java/com/blakebr0/mysticalagriculture/container/EnchanterContainer.java:56
↓ 8 callersMethodaddIngredient
(Ingredient ingredient)
src/main/java/com/blakebr0/mysticalagriculture/data/recipe/InfusionRecipeBuilder.java:40
↓ 8 callersMethodgetInstance
()
src/main/java/com/blakebr0/mysticalagriculture/registry/AugmentRegistry.java:39
↓ 8 callersMethodgetNameWithSuffix
Used to get the internal name of this crop with an _suffix @param suffix the suffix to append (without the initial underscore) @return the name with _
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:143
↓ 8 callersMethodgetPath
(Identifier id)
src/main/java/com/blakebr0/mysticalagriculture/data/generator/ItemTagsJsonGenerator.java:32
↓ 8 callersMethodonTake
(Player player, ItemStack stack)
src/main/java/com/blakebr0/mysticalagriculture/container/slot/ElementSlot.java:19
↓ 7 callersMethodgetFuelCapacityMultiplier
()
src/main/java/com/blakebr0/mysticalagriculture/api/machine/MachineUpgradeTier.java:54
↓ 7 callersMethodgetFuelUsageMultiplier
()
src/main/java/com/blakebr0/mysticalagriculture/api/machine/MachineUpgradeTier.java:46
↓ 7 callersMethodgetInventory
()
src/main/java/com/blakebr0/mysticalagriculture/tileentity/AwakeningAltarTileEntity.java:54
↓ 7 callersMethodgetOperationTimeMultiplier
()
src/main/java/com/blakebr0/mysticalagriculture/api/machine/MachineUpgradeTier.java:38
↓ 7 callersMethodgetSoulRequirement
The required amount of souls to fill up a soul jar @return the max amount of souls
src/main/java/com/blakebr0/mysticalagriculture/api/soul/MobSoulType.java:123
↓ 7 callersMethodremove
Remove a user from the cache for the specified augment, meaning they no longer have it equipped, and the onRemove callback will be invoked @param augm
src/main/java/com/blakebr0/mysticalagriculture/api/lib/AbilityCache.java:43
↓ 7 callersMethodsetFarmlandBlock
Used to set the farmland block instance for this tier @param farmland the farmland block @return this crop tier
src/main/java/com/blakebr0/mysticalagriculture/api/crop/CropTier.java:107
↓ 6 callersMethodgetEnergy
()
src/main/java/com/blakebr0/mysticalagriculture/tileentity/HarvesterTileEntity.java:248
↓ 6 callersMethodgetEntityIds
The resource location ids of the entity types for this mob soul type. Don't modify this directly, use {@link IMobSoulTypeRegistry#addEntityTo(MobSoulT
src/main/java/com/blakebr0/mysticalagriculture/api/soul/MobSoulType.java:114
↓ 6 callersMethodgetMachineTier
Gets the {@link MachineUpgradeTier} for the item in the inventory, or null if there's no upgrade @return the machine upgrade tier
src/main/java/com/blakebr0/mysticalagriculture/api/machine/IUpgradeableMachine.java:16
↓ 6 callersMethodgetModels
All the textures related to this crop @return the crop's textures
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:208
↓ 6 callersMethodgetSouls
Gets the amount of souls currently stored in the provided item stack @param stack the soul jar stack @return the amount of souls
src/main/java/com/blakebr0/mysticalagriculture/api/util/MobSoulUtils.java:83
↓ 6 callersMethodgetStackCopy
()
src/main/java/com/blakebr0/mysticalagriculture/api/machine/MachineUpgradeItemStackHandler.java:37
↓ 6 callersMethodof
(Identifier crop, ComponentType type)
src/main/java/com/blakebr0/mysticalagriculture/crafting/ingredient/CropComponentIngredient.java:115
↓ 6 callersMethodregisterTier
Register a crop tier in the crop registry @param tier the crop tier to register
src/main/java/com/blakebr0/mysticalagriculture/api/registry/ICropRegistry.java:21
↓ 5 callersMethodcache
(RecipeManager manager, RecipeType<T> type, Function<T, List<Ingredient>> ingredients)
src/main/java/com/blakebr0/mysticalagriculture/util/RecipeIngredientCache.java:103
↓ 5 callersMethodgetAugmentSlots
Gets the total number of augment slots for this tinkerable @return number of augment slots
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/ITinkerable.java:10
↓ 5 callersMethodgetCrop
Gets the crop from this object @return the crop
src/main/java/com/blakebr0/mysticalagriculture/api/crop/ICropProvider.java:11
↓ 5 callersMethodgetExperience
Gets the amount of experience currently stored in the specified item stack @param stack the item stack @return the amount of experience
src/main/java/com/blakebr0/mysticalagriculture/api/util/ExperienceCapsuleUtils.java:43
↓ 5 callersMethodgetIngredients
()
src/main/java/com/blakebr0/mysticalagriculture/api/crafting/IEnchanterRecipe.java:21
↓ 5 callersMethodgetInstance
()
src/main/java/com/blakebr0/mysticalagriculture/registry/PluginRegistry.java:55
↓ 5 callersMethodgetOperationTime
()
src/main/java/com/blakebr0/mysticalagriculture/container/OreInfuserContainer.java:105
↓ 5 callersMethodgetPlayerKey
(Player player)
src/main/java/com/blakebr0/mysticalagriculture/api/lib/AbilityCache.java:112
↓ 5 callersMethodgetRecipeConfig
Get the dynamic recipe config for this crop @return the crop's recipe config
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:541
↓ 5 callersMethodgetType
The type of crop this crop belongs to @return the type of this crop
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:190
↓ 5 callersMethodisCached
Check if the provided player is already cached for this augment @param augment the augment @param player the player @return is cached
src/main/java/com/blakebr0/mysticalagriculture/api/lib/AbilityCache.java:83
↓ 5 callersMethoditems
()
src/main/java/com/blakebr0/mysticalagriculture/crafting/ingredient/FilledSoulJarIngredient.java:35
↓ 4 callersMethodaddCondition
(ICondition condition)
src/main/java/com/blakebr0/mysticalagriculture/data/recipe/CraftingRecipeBuilder.java:44
↓ 4 callersMethodaddFlowerModel
(ModelEvent.RegisterStandalone event, CropType type, Identifier id)
src/main/java/com/blakebr0/mysticalagriculture/client/handler/ModelHandler.java:135
↓ 4 callersMethodcreateEssenceIngredient
(SizedIngredient ingredient)
src/main/java/com/blakebr0/mysticalagriculture/compat/jei/category/AwakeningCategory.java:88
↓ 4 callersMethodcreateIngredientItemStack
(IEnchanterRecipe recipe, int slot)
src/main/java/com/blakebr0/mysticalagriculture/compat/jei/category/EnchanterCategory.java:81
↓ 4 callersMethodgetAOEBlocks
This method returns a stream of blocks that should be affected by the AOE augment. @return the stream of block positions that are affected by AOE.
src/main/java/com/blakebr0/mysticalagriculture/api/tinkering/AOEAugment.java:30
↓ 4 callersMethodgetAugment
Get the augment in the specified augment slot @param stack the {@link ITinkerable} item @param slot the augment slot @return the augment
src/main/java/com/blakebr0/mysticalagriculture/api/util/AugmentUtils.java:114
↓ 4 callersMethodgetAugmentById
Get the crop with the specified internal name from the crop registry @param id the resource location id of the crop @return the crop for this id
src/main/java/com/blakebr0/mysticalagriculture/api/registry/IAugmentRegistry.java:26
↓ 4 callersMethodgetCachedAbilities
Gets the augment ids for the cached abilities for this player @param player the player @return the augment ids
src/main/java/com/blakebr0/mysticalagriculture/api/lib/AbilityCache.java:103
↓ 4 callersMethodgetCraftingMaterial
Get the crafting ingredient for this crop from the underlying {@link LazyIngredient} @return the crafting material of this crop
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:460
↓ 4 callersMethodgetCropById
Get the crop with the specified internal id from the crop registry @param id the resource location id of the crop @return the crop for this id
src/main/java/com/blakebr0/mysticalagriculture/api/registry/ICropRegistry.java:40
↓ 4 callersMethodgetCruxBlock
The crux block for this crop type @return the crux block
src/main/java/com/blakebr0/mysticalagriculture/api/crop/Crop.java:504
next →1–100 of 1,548, ranked by callers