Class MinecartCommandBlock.MinecartCommandBase
java.lang.Object
net.minecraft.world.level.BaseCommandBlock
net.minecraft.world.entity.vehicle.MinecartCommandBlock.MinecartCommandBase
- All Implemented Interfaces:
- CommandSource
- Enclosing class:
- MinecartCommandBlock
- 
Field SummaryFields inherited from interface net.minecraft.commands.CommandSourceNULL
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.world.level.BaseCommandBlockacceptsFailure, acceptsSuccess, getCommand, getLastOutput, getName, getSuccessCount, isTrackOutput, load, performCommand, save, sendSystemMessage, setCommand, setLastOutput, setName, setSuccessCount, setTrackOutput, shouldInformAdmins, usedByMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSourcealwaysAccepts
- 
Constructor Details- 
MinecartCommandBasepublic MinecartCommandBase()
 
- 
- 
Method Details- 
getLevel- Specified by:
- getLevelin class- BaseCommandBlock
 
- 
onUpdatedpublic void onUpdated()- Specified by:
- onUpdatedin class- BaseCommandBlock
 
- 
getPosition- Specified by:
- getPositionin class- BaseCommandBlock
 
- 
getMinecart
- 
createCommandSourceStack- Specified by:
- createCommandSourceStackin class- BaseCommandBlock
 
- 
isValidpublic boolean isValid()- Specified by:
- isValidin class- BaseCommandBlock
 
 
-