Package net.minecraft.command.impl
Class ReplaceItemCommand
java.lang.Object
net.minecraft.command.impl.ReplaceItemCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypestatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198602_0_) private static intsetBlockItem(CommandSource p_198603_0_, BlockPos p_198603_1_, int p_198603_2_, ItemStack p_198603_3_) private static intsetEntityItem(CommandSource p_198604_0_, Collection<? extends Entity> p_198604_1_, int p_198604_2_, ItemStack p_198604_3_) 
- 
Field Details- 
ERROR_NOT_A_CONTAINERpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_A_CONTAINER
- 
ERROR_INAPPLICABLE_SLOTpublic static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INAPPLICABLE_SLOT
- 
ERROR_ENTITY_SLOTpublic static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_ENTITY_SLOT
 
- 
- 
Constructor Details- 
ReplaceItemCommandpublic ReplaceItemCommand()
 
- 
- 
Method Details- 
register
- 
setBlockItemprivate static int setBlockItem(CommandSource p_198603_0_, BlockPos p_198603_1_, int p_198603_2_, ItemStack p_198603_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
setEntityItemprivate static int setEntityItem(CommandSource p_198604_0_, Collection<? extends Entity> p_198604_1_, int p_198604_2_, ItemStack p_198604_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-