MCPcopy Create free account

hub / github.com/CraftTweaker/CraftTweaker / functions

Functions8,150 in github.com/CraftTweaker/CraftTweaker

MethodwithInstrument
Sets the <componenttype:minecraft:instrument> of the ComponentAccess to have the given {@link Instrument} @return The new instance with the mod
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2330
MethodwithIntangibleProjectile
Sets the <componenttype:minecraft:intangible_projectile> of the ComponentAccess to exist. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1162
MethodwithItemName
Sets the <componenttype:minecraft:item_name> of the ComponentAccess to have the given {@link Component} @return The new instance with the modif
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:451
MethodwithJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:78
MethodwithJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:101
MethodwithJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:78
MethodwithJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:101
MethodwithJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:211
MethodwithJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
common/src/main/java/com/blamejared/crafttweaker/api/fluid/IFluidStack.java:299
MethodwithJsonComponents
(IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:87
MethodwithJsonComponents
(IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:115
MethodwithJsonComponents
(IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:87
MethodwithJsonComponents
(IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:115
MethodwithJsonComponents
(IData value)
common/src/main/java/com/blamejared/crafttweaker/api/fluid/IFluidStack.java:302
MethodwithLineAdded
(ItemLore internal, Component line)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemLore.java:29
MethodwithLock
Sets the <componenttype:minecraft:lock> of the ComponentAccess to have the given string. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2998
MethodwithLodestoneTracker
Sets the <componenttype:minecraft:lodestone_tracker> of the ComponentAccess to have the given {@link LodestoneTracker} @return The new instance
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2465
MethodwithLore
Sets the <componenttype:minecraft:lore> of the ComponentAccess to have the given stdlib.List<{@link Component}> @param components The lis
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:501
MethodwithLuck
(LootParams.Builder internal, float luck)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootParamsBuilder.java:61
MethodwithMapColor
Sets the <componenttype:minecraft:map_color> of the ComponentAccess. @param rgb The new map colour @docParam rgb 0xFF0000 @return The new ins
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1468
MethodwithMapDecorations
Sets the <componenttype:minecraft:map_decorations> of the ComponentAccess to have the given values. @return The new instance with the modified
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1584
MethodwithMapId
Sets the <componenttype:minecraft:map_id> of the ComponentAccess to have the given value. A map id is only useful after the game generates one
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1526
MethodwithMapPostProcessing
Sets the <componenttype:minecraft:map_post_processing> of the ComponentAccess to have the given {@link MapPostProcessing} @return The new insta
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1643
MethodwithMaxDamage
Sets the <componenttype:minecraft:max_damage> of the ComponentAccess to have the given value. It is likely that you need to call withDamage(0)
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:230
MethodwithMaxStackSize
Sets the <componenttype:minecraft:stack_size> of the ComponentAccess to have the given value. Non standard stack sizes may render differently an
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:179
MethodwithNoteBlockSound
Sets the <componenttype:minecraft:note_block_sound> of the ComponentAccess to have the given {@link ResourceLocation} @return The new instance
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2653
MethodwithNutrition
Creates a new food properties based on this instance, with the given nutrition value. @param nutrition The new nutrition value. @return The new food
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:96
MethodwithOminousBottleAmplifier
Sets the <componenttype:minecraft:ominous_bottle_amplifier> of the ComponentAccess to have the given amplifier. @return The new instance with t
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2374
MethodwithOptionalParameter
(LootParams.Builder internal, Class<T> tClass, LootContextParam<T> param, @ZenCodeType.Nullable T value)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootParamsBuilder.java:36
MethodwithOptionalRandomSeed
Supplies a seed to be passed into a new {@link Random}. @param seed The optional seed to use, defaults to {@code 0}. @return This builder for chaini
common/src/main/java/com/blamejared/crafttweaker/natives/loot/ExpandLootContextBuilder.java:57
MethodwithParameter
(LootParams.Builder internal, Class<T> tClass, LootContextParam<T> param, T value)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootParamsBuilder.java:30
MethodwithParser
(final Decoder<E> decoder)
common/src/main/java/com/blamejared/crafttweaker/api/data/op/IDataOps.java:474
MethodwithPosition
(BlockHitResult internal, BlockPos param0)
common/src/main/java/com/blamejared/crafttweaker/natives/util/ExpandBlockHitResult.java:23
MethodwithPotDecorations
Sets the &lt;componenttype:minecraft:pot_decorations&gt; of the ComponentAccess to have the given items. @return The new instance with the modified d
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2800
MethodwithPotionContents
Sets the &lt;componenttype:minecraft:potion_contents&gt; of the ComponentAccess to have the given {@link Potion} and no custom effects @param potion
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1831
MethodwithProfile
Sets the &lt;componenttype:minecraft:profile&gt; of the ComponentAccess to have the given {@link ResolvableProfile} @return The new instance with the
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2609
MethodwithRarity
Sets the &lt;componenttype:minecraft:rarity&gt; of the ComponentAccess to have the given {@link Rarity} @param rarity The rarity to set @return The
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:568
MethodwithRecipes
Sets the &lt;componenttype:minecraft:recipes&gt; of the ComponentAccess to have the given {@link List<ResourceLocation>} @return The new instance wit
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2421
MethodwithRepairCost
Sets the &lt;componenttype:minecraft:repair_cost&gt; of the ComponentAccess to have the given value. @param cost The repair cost @return The new ins
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1033
MethodwithReplacedPages
(WritableBookContent internal, List<Filterable<String>> pages)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandWritableBookContent.java:29
MethodwithReplacedPages
(WrittenBookContent internal, List<Filterable<Component>> pages)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandWrittenBookContent.java:31
MethodwithReplacedPages
Sets the pages of the book content. @param list The pages of the book content. @return The new book content.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandBookContent.java:35
MethodwithSaturation
Creates a new food properties based on this instance, with the given saturation modifier. @param saturation The new saturation modifier. @return The
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:120
MethodwithScore
(final EntityHasScoreCondition.Builder internal, final String name, final IntRange range)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/condition/builder/ExpandEntityHasScoreConditionBuilder.java:16
MethodwithStoredEnchantments
Sets the &lt;componenttype:minecraft:stored_enchantments&gt; of the ComponentAccess to have the given {@link ItemEnchantments} @return The new instan
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1359
MethodwithSuspiciousStewEffects
Sets the &lt;componenttype:minecraft:suspicious_stew_effects&gt; of the ComponentAccess to have the given {@link SuspiciousStewEffects} {@link Suspici
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1928
MethodwithTag
(IData tag)
forge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:52
MethodwithTag
(@ZenCodeType.Nullable IData tag)
forge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:53
MethodwithTool
Sets the &lt;componenttype:minecraft:tool&gt; of the ComponentAccess to have the given data. A {@link Tool} instance is constructed from the parameter
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1300
MethodwithTooltip
Sets whether the predicate should show in the tooltip. @param tooltip Whether the predicate should show in the tooltip. @return The new AdventureMod
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandAdventureModePredicate.java:85
MethodwithTooltip
(ItemEnchantments internal, boolean withTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemEnchantments.java:44
MethodwithTooltip
Sets whether the DyedItemColor should show in the tooltip. @param tooltip Whether the DyedItemColor should show in the tooltip. @return The DyedItem
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandDyedItemColor.java:57
MethodwithTooltip
(ItemAttributeModifiers internal, boolean showInTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:35
MethodwithTooltip
(Unbreakable internal, boolean showInTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandUnbreakable.java:20
MethodwithTooltip
Sets whether the armor trim should show in the tooltip. @param withTooltip Whether the armor trim should show in the tooltip. @return The new ArmorT
common/src/main/java/com/blamejared/crafttweaker/natives/item/armortrim/ExpandArmorTrim.java:56
MethodwithTrim
Sets the &lt;componenttype:minecraft:trim&gt; of the ComponentAccess to have the given {@link ArmorTrim} @return The new instance with the modified d
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2080
MethodwithUnbreakable
Sets the &lt;componenttype:minecraft:unbreakable&gt; of the ComponentAccess. The existance of the component makes the ComponentAccess unbreakable. @p
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:330
MethodwithUsingConvertsTo
Creates a new food properties based on this instance, with the given using converts to value. @param usingConvertsTo The new using converts to value.
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:192
MethodwithWritableBookContent
@return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1981
MethodwithWrittenBookContent
Sets the &lt;componenttype:minecraft:written_book_content&gt; of the ComponentAccess to have the given {@link WrittenBookContent} @return The new ins
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2036
Methodwither
(DamageSources internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:114
MethodwitherSkull
(DamageSources internal, WitherSkull entity, Entity cause)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:222
Methodwithout
(DataComponentType<T> type)
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:194
Methodwithout
(DataComponentType<T> type)
common/src/main/java/com/blamejared/crafttweaker/api/fluid/IFluidStack.java:293
MethodwithoutAttributeModifiers
Removes the &lt;componenttype:minecraft:attribute_modifiers&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:863
MethodwithoutBannerPatterns
Removes the &lt;componenttype:minecraft:banner_patterns&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2719
MethodwithoutBaseColor
Removes the &lt;componenttype:minecraft:base_color&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2767
MethodwithoutBees
Removes the &lt;componenttype:minecraft:bees&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2965
MethodwithoutBlockEntityData
Removes the &lt;componenttype:minecraft:block_entity_data&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2298
MethodwithoutBlockState
Removes the &lt;componenttype:minecraft:block_state&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2921
MethodwithoutBucketEntityData
Removes the &lt;componenttype:minecraft:bucket_entity_data&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2243
MethodwithoutBundleContents
Removes the &lt;componenttype:minecraft:bundle_contents&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1790
MethodwithoutCanBreak
Removes the &lt;componenttype:minecraft:can_break&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:796
MethodwithoutCanPlaceOn
Removes the &lt;componenttype:minecraft:can_place_on&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:729
MethodwithoutChargedProjectiles
Removes the &lt;componenttype:minecraft:charged_projectiles&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1731
MethodwithoutComponents
()
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:200
MethodwithoutContainer
Removes the &lt;componenttype:minecraft:container&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2877
MethodwithoutContainerLoot
Removes the &lt;componenttype:minecraft:container_loot&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:3075
MethodwithoutCreativeSlotLock
Removes the &lt;componenttype:minecraft:creative_slot_lock&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1080
MethodwithoutCustomData
Removes the &lt;componenttype:minecraft:custom_data&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:138
MethodwithoutCustomModelData
Removes the &lt;componenttype:minecraft:custom_model_data&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:923
MethodwithoutCustomName
Removes the &lt;componenttype:minecraft:custom_name&gt; from the ComponentAccess @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:408
MethodwithoutDamage
Removes the &lt;componenttype:minecraft:damage&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:292
MethodwithoutDebugStickState
Removes the &lt;componenttype:minecraft:debug_stick_state&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2134
MethodwithoutDyedColor
Removes the &lt;componenttype:minecraft:dyed_color&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1431
MethodwithoutEffect
Creates a new food properties based on this instance, without the given effect. @param effect The effect to remove. @return The new food properties.
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:260
MethodwithoutEnchantment
Removes the {@link Enchantment} from the ComponentAccess. @param enchantment The {@link Enchantment} to remove @return The new instance with the mod
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:649
MethodwithoutEnchantmentGlintOverride
Removes the &lt;componenttype:minecraft:enchantment_glint_override&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1137
MethodwithoutEnchantments
Removes the &lt;componenttype:minecraft:enchantments&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:662
MethodwithoutEntityDate
Removes the &lt;componenttype:minecraft:entity_data&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2189
MethodwithoutFireResistant
Removes the &lt;componenttype:minecraft:fire_resistant&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1255
MethodwithoutFireworkExplosion
Removes the &lt;componenttype:minecraft:firework_explosion&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2520
MethodwithoutFireworks
Removes the &lt;componenttype:minecraft:fireworks&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2576
MethodwithoutFood
Removes the &lt;componenttype:minecraft:food&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1220
MethodwithoutHideAdditionalTooltip
Removes the &lt;componenttype:minecraft:hide_additional_tooltip&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:958
MethodwithoutHideTooltip
Removes the &lt;componenttype:minecraft:hide_tooltip&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:993
MethodwithoutInstrument
Removes the &lt;componenttype:minecraft:instrument&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2341
MethodwithoutIntangibleProjectile
Removes the &lt;componenttype:minecraft:intangible_projectile&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1173
MethodwithoutItemName
Removes the &lt;componenttype:minecraft:item_name&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:462
MethodwithoutLock
Removes the &lt;componenttype:minecraft:lock&gt; from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:3020
← previousnext →8,001–8,100 of 8,150, ranked by callers