Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CraftTweaker/CraftTweaker
/ functions
Functions
8,150 in github.com/CraftTweaker/CraftTweaker
⨍
Functions
8,150
◇
Types & classes
1,621
Method
withInstrument
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
Method
withIntangibleProjectile
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
Method
withItemName
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
Method
withJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:78
Method
withJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:101
Method
withJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:78
Method
withJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:101
Method
withJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:211
Method
withJsonComponent
(DataComponentType type, @ZenCodeType.Nullable IData value)
common/src/main/java/com/blamejared/crafttweaker/api/fluid/IFluidStack.java:299
Method
withJsonComponents
(IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:87
Method
withJsonComponents
(IData value)
neoforge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:115
Method
withJsonComponents
(IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:87
Method
withJsonComponents
(IData value)
fabric/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:115
Method
withJsonComponents
(IData value)
common/src/main/java/com/blamejared/crafttweaker/api/fluid/IFluidStack.java:302
Method
withLineAdded
(ItemLore internal, Component line)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemLore.java:29
Method
withLock
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
Method
withLodestoneTracker
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
Method
withLore
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
Method
withLuck
(LootParams.Builder internal, float luck)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootParamsBuilder.java:61
Method
withMapColor
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
Method
withMapDecorations
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
Method
withMapId
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
Method
withMapPostProcessing
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
Method
withMaxDamage
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
Method
withMaxStackSize
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
Method
withNoteBlockSound
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
Method
withNutrition
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
Method
withOminousBottleAmplifier
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
Method
withOptionalParameter
(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
Method
withOptionalRandomSeed
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
Method
withParameter
(LootParams.Builder internal, Class<T> tClass, LootContextParam<T> param, T value)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootParamsBuilder.java:30
Method
withParser
(final Decoder<E> decoder)
common/src/main/java/com/blamejared/crafttweaker/api/data/op/IDataOps.java:474
Method
withPosition
(BlockHitResult internal, BlockPos param0)
common/src/main/java/com/blamejared/crafttweaker/natives/util/ExpandBlockHitResult.java:23
Method
withPotDecorations
Sets the <componenttype:minecraft:pot_decorations> 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
Method
withPotionContents
Sets the <componenttype:minecraft:potion_contents> 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
Method
withProfile
Sets the <componenttype:minecraft:profile> 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
Method
withRarity
Sets the <componenttype:minecraft:rarity> 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
Method
withRecipes
Sets the <componenttype:minecraft:recipes> 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
Method
withRepairCost
Sets the <componenttype:minecraft:repair_cost> 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
Method
withReplacedPages
(WritableBookContent internal, List<Filterable<String>> pages)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandWritableBookContent.java:29
Method
withReplacedPages
(WrittenBookContent internal, List<Filterable<Component>> pages)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandWrittenBookContent.java:31
Method
withReplacedPages
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
Method
withSaturation
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
Method
withScore
(final EntityHasScoreCondition.Builder internal, final String name, final IntRange range)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/condition/builder/ExpandEntityHasScoreConditionBuilder.java:16
Method
withStoredEnchantments
Sets the <componenttype:minecraft:stored_enchantments> 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
Method
withSuspiciousStewEffects
Sets the <componenttype:minecraft:suspicious_stew_effects> of the ComponentAccess to have the given {@link SuspiciousStewEffects} {@link Suspici
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1928
Method
withTag
(IData tag)
forge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStackMutable.java:52
Method
withTag
(@ZenCodeType.Nullable IData tag)
forge/src/main/java/com/blamejared/crafttweaker/api/fluid/MCFluidStack.java:53
Method
withTool
Sets the <componenttype:minecraft:tool> 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
Method
withTooltip
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
Method
withTooltip
(ItemEnchantments internal, boolean withTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemEnchantments.java:44
Method
withTooltip
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
Method
withTooltip
(ItemAttributeModifiers internal, boolean showInTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:35
Method
withTooltip
(Unbreakable internal, boolean showInTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandUnbreakable.java:20
Method
withTooltip
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
Method
withTrim
Sets the <componenttype:minecraft:trim> 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
Method
withUnbreakable
Sets the <componenttype:minecraft:unbreakable> 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
Method
withUsingConvertsTo
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
Method
withWritableBookContent
@return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1981
Method
withWrittenBookContent
Sets the <componenttype:minecraft:written_book_content> 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
Method
wither
(DamageSources internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:114
Method
witherSkull
(DamageSources internal, WitherSkull entity, Entity cause)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:222
Method
without
(DataComponentType<T> type)
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:194
Method
without
(DataComponentType<T> type)
common/src/main/java/com/blamejared/crafttweaker/api/fluid/IFluidStack.java:293
Method
withoutAttributeModifiers
Removes the <componenttype:minecraft:attribute_modifiers> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:863
Method
withoutBannerPatterns
Removes the <componenttype:minecraft:banner_patterns> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2719
Method
withoutBaseColor
Removes the <componenttype:minecraft:base_color> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2767
Method
withoutBees
Removes the <componenttype:minecraft:bees> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2965
Method
withoutBlockEntityData
Removes the <componenttype:minecraft:block_entity_data> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2298
Method
withoutBlockState
Removes the <componenttype:minecraft:block_state> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2921
Method
withoutBucketEntityData
Removes the <componenttype:minecraft:bucket_entity_data> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2243
Method
withoutBundleContents
Removes the <componenttype:minecraft:bundle_contents> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1790
Method
withoutCanBreak
Removes the <componenttype:minecraft:can_break> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:796
Method
withoutCanPlaceOn
Removes the <componenttype:minecraft:can_place_on> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:729
Method
withoutChargedProjectiles
Removes the <componenttype:minecraft:charged_projectiles> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1731
Method
withoutComponents
()
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:200
Method
withoutContainer
Removes the <componenttype:minecraft:container> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2877
Method
withoutContainerLoot
Removes the <componenttype:minecraft:container_loot> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:3075
Method
withoutCreativeSlotLock
Removes the <componenttype:minecraft:creative_slot_lock> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1080
Method
withoutCustomData
Removes the <componenttype:minecraft:custom_data> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:138
Method
withoutCustomModelData
Removes the <componenttype:minecraft:custom_model_data> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:923
Method
withoutCustomName
Removes the <componenttype:minecraft:custom_name> from the ComponentAccess @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:408
Method
withoutDamage
Removes the <componenttype:minecraft:damage> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:292
Method
withoutDebugStickState
Removes the <componenttype:minecraft:debug_stick_state> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2134
Method
withoutDyedColor
Removes the <componenttype:minecraft:dyed_color> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1431
Method
withoutEffect
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
Method
withoutEnchantment
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
Method
withoutEnchantmentGlintOverride
Removes the <componenttype:minecraft:enchantment_glint_override> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1137
Method
withoutEnchantments
Removes the <componenttype:minecraft:enchantments> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:662
Method
withoutEntityDate
Removes the <componenttype:minecraft:entity_data> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2189
Method
withoutFireResistant
Removes the <componenttype:minecraft:fire_resistant> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1255
Method
withoutFireworkExplosion
Removes the <componenttype:minecraft:firework_explosion> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2520
Method
withoutFireworks
Removes the <componenttype:minecraft:fireworks> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2576
Method
withoutFood
Removes the <componenttype:minecraft:food> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1220
Method
withoutHideAdditionalTooltip
Removes the <componenttype:minecraft:hide_additional_tooltip> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:958
Method
withoutHideTooltip
Removes the <componenttype:minecraft:hide_tooltip> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:993
Method
withoutInstrument
Removes the <componenttype:minecraft:instrument> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2341
Method
withoutIntangibleProjectile
Removes the <componenttype:minecraft:intangible_projectile> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1173
Method
withoutItemName
Removes the <componenttype:minecraft:item_name> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:462
Method
withoutLock
Removes the <componenttype:minecraft:lock> from the ComponentAccess. @return The new instance with the modified data.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:3020
← previous
next →
8,001–8,100 of 8,150, ranked by callers