Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- alwaysFastest - Variable in class com.natoboram.switcheroo.SwitcherooConfig
- alwaysFastest(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Shows the configuration for
alwaysFastest
. - alwaysFastestToggle(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Sets the configuration for
alwaysFastest
.
B
- blacklist - Variable in class com.natoboram.switcheroo.SwitcherooConfig
- Blacklist() - Constructor for class com.natoboram.switcheroo.SwitcherooConfig.Blacklist
- blacklistBlocks(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Shows the list of blacklisted blocks.
- blacklistBlocksAdd(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Add a block to the blacklist.
- blacklistBlocksRemove(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Remove a block from the blacklist.
- blacklistMobs(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Shows the list of blacklisted mobs.
- blacklistMobsAdd(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Add a mob to the blacklist.
- blacklistMobsRemove(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Remove a mob from the blacklist.
- blockIdentifier() - Static method in class com.natoboram.switcheroo.BlockIdentifierArgumentType
- BlockIdentifierArgumentType - Class in com.natoboram.switcheroo
-
Argument type for obtaining a block
Identifier
. - BlockIdentifierArgumentType() - Constructor for class com.natoboram.switcheroo.BlockIdentifierArgumentType
- blocks - Variable in class com.natoboram.switcheroo.SwitcherooConfig.Blacklist
- BlockSwitch - Class in com.natoboram.switcheroo
-
Execute a switcheroo action when attacking a block.
- BlockUtil - Class in com.natoboram.switcheroo
- BlockUtil() - Constructor for class com.natoboram.switcheroo.BlockUtil
C
- com.natoboram.switcheroo - package com.natoboram.switcheroo
- Commands - Class in com.natoboram.switcheroo
- Commands() - Constructor for class com.natoboram.switcheroo.Commands
- CropSwitch - Class in com.natoboram.switcheroo
-
Execute a switcheroo action when attacking crops.
D
- debug - Variable in class com.natoboram.switcheroo.SwitcherooConfig
E
- enableCrop - Variable in class com.natoboram.switcheroo.SwitcherooConfig
- entityIdentifier() - Static method in class com.natoboram.switcheroo.EntityIdentifierArgumentType
- EntityIdentifierArgumentType - Class in com.natoboram.switcheroo
-
Argument type for obtaining an entity
Identifier
. - EntityIdentifierArgumentType() - Constructor for class com.natoboram.switcheroo.EntityIdentifierArgumentType
- EntitySwitch - Class in com.natoboram.switcheroo
-
Execute a switcheroo action when attacking an entity.
F
- fortune - Variable in class com.natoboram.switcheroo.SwitcherooConfig.Prefer
G
- getAttackDamage(ItemStack, EntityGroup) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- getAttackSpeed(ItemStack) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- getBlockIdentifier(String, CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.BlockIdentifierArgumentType
- getDps(ItemStack, EntityGroup) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- getEntityIdentifier(CommandContext<FabricClientCommandSource>, String) - Method in class com.natoboram.switcheroo.EntityIdentifierArgumentType
- getExamples() - Method in class com.natoboram.switcheroo.BlockIdentifierArgumentType
- getExamples() - Method in class com.natoboram.switcheroo.EntityIdentifierArgumentType
- getMaxAttackDamage(ArrayList<ItemStack>, EntityGroup) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- getMaxDps(ArrayList<ItemStack>, EntityGroup) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- getMiningSpeedMultiplier(ItemStack, BlockState) - Static method in class com.natoboram.switcheroo.ItemStackUtil
-
Wrapper for
ItemStack.getMiningSpeedMultiplier(net.minecraft.block.BlockState)
that takes into account efficiency levels. - getModConfigScreenFactory() - Method in class com.natoboram.switcheroo.SwitcherooModMenu
I
- interact(PlayerEntity, World, Hand, Entity, EntityHitResult) - Method in class com.natoboram.switcheroo.EntitySwitch
- interact(PlayerEntity, World, Hand, BlockPos, Direction) - Method in class com.natoboram.switcheroo.BlockSwitch
- interact(PlayerEntity, World, Hand, BlockPos, Direction) - Method in class com.natoboram.switcheroo.CropSwitch
- isInList(Block, String[]) - Static method in class com.natoboram.switcheroo.BlockUtil
- ItemStackUtil - Class in com.natoboram.switcheroo
- ItemStackUtil() - Constructor for class com.natoboram.switcheroo.ItemStackUtil
K
- keepFastestTools(ArrayList<ItemStack>, BlockState) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- keepLowestStacks(ArrayList<ItemStack>) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- keepMostAttackDamage(ArrayList<ItemStack>, EntityGroup, Double) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- keepMostDamagedItems(ArrayList<ItemStack>) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- keepMostDps(ArrayList<ItemStack>, EntityGroup, Double) - Static method in class com.natoboram.switcheroo.ItemStackUtil
- keepSlowestTools(ArrayList<ItemStack>, BlockState) - Static method in class com.natoboram.switcheroo.ItemStackUtil
L
- listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class com.natoboram.switcheroo.BlockIdentifierArgumentType
- listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class com.natoboram.switcheroo.EntityIdentifierArgumentType
M
- Main - Class in com.natoboram.switcheroo
- Main() - Constructor for class com.natoboram.switcheroo.Main
- minDurability - Variable in class com.natoboram.switcheroo.SwitcherooConfig
- minDurability(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Shows the configuration for
minDurability
. - minDurabilitySet(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Sets the configuration for
minDurability
. - mobs - Variable in class com.natoboram.switcheroo.SwitcherooConfig.Blacklist
- MOD_ID - Static variable in class com.natoboram.switcheroo.Main
N
- NOT_FOUND_EXCEPTION - Static variable in class com.natoboram.switcheroo.BlockIdentifierArgumentType
- NOT_FOUND_EXCEPTION - Static variable in class com.natoboram.switcheroo.EntityIdentifierArgumentType
O
- onInitializeClient() - Method in class com.natoboram.switcheroo.Main
P
- parse(StringReader) - Method in class com.natoboram.switcheroo.BlockIdentifierArgumentType
- parse(StringReader) - Method in class com.natoboram.switcheroo.EntityIdentifierArgumentType
- prefer - Variable in class com.natoboram.switcheroo.SwitcherooConfig
- Prefer() - Constructor for class com.natoboram.switcheroo.SwitcherooConfig.Prefer
- preferSilkTouch(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Shows the list of blocks to prefer Silk Touch on.
- preferSilkTouchAdd(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Add a block to prefer Silk Touch on.
- preferSilkTouchRemove(CommandContext<FabricClientCommandSource>) - Static method in class com.natoboram.switcheroo.Commands
-
Remove a block to prefer Silk Touch on.
R
- register(CommandDispatcher<FabricClientCommandSource>, CommandRegistryAccess) - Method in class com.natoboram.switcheroo.RegisterCommands
- RegisterCommands - Class in com.natoboram.switcheroo
- removeDamagedEnchantedItems(ArrayList<ItemStack>, SwitcherooConfig) - Static method in class com.natoboram.switcheroo.ItemStackUtil
-
Removes enchanted items that have only 5 durability left.
S
- silk_touch - Variable in class com.natoboram.switcheroo.SwitcherooConfig.Prefer
- Switch - Class in com.natoboram.switcheroo
- Switch() - Constructor for class com.natoboram.switcheroo.Switch
- switcheroo(PlayerEntity, ItemStack, SwitcherooConfig) - Static method in class com.natoboram.switcheroo.Switch
-
Perform the actual switcheroo.
- SwitcherooConfig - Class in com.natoboram.switcheroo
- SwitcherooConfig() - Constructor for class com.natoboram.switcheroo.SwitcherooConfig
- SwitcherooConfig.Blacklist - Class in com.natoboram.switcheroo
- SwitcherooConfig.Prefer - Class in com.natoboram.switcheroo
- SwitcherooModMenu - Class in com.natoboram.switcheroo
- SwitcherooModMenu() - Constructor for class com.natoboram.switcheroo.SwitcherooModMenu
All Classes and Interfaces|All Packages|Constant Field Values