net.minecraft.world.level

public abstract class BaseCommandBlock

implements CommandSource

dfj
net.minecraft.world.level.BaseCommandBlock
net.minecraft.class_1918
net.minecraft.world.CommandBlockExecutor
net.minecraft.world.level.CommandBlockListenerAbstract

Field summary

Modifier and TypeField
private static final SimpleDateFormat
b
TIME_FORMAT
field_9169
DATE_FORMAT
private static final Component
c
DEFAULT_NAME
field_21515
DEFAULT_NAME
private long
d
lastExecution
field_9167
lastExecution
private boolean
e
updateLastExecution
field_9166
updateLastExecution
private int
f
successCount
field_9163
successCount
private boolean
g
trackOutput
field_9164
trackOutput
private Component
h
lastOutput
field_9165
lastOutput
private String
i
command
field_9168
command
private Component
j
customName
field_9162
customName

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
k()
getSuccessCount()
method_8304()
getSuccessCount()
public void
a(int arg0)
setSuccessCount(int arg0)
method_8298(int arg0)
setSuccessCount(int successCount)
public Component
l()
getLastOutput()
method_8292()
getLastOutput()
public CompoundTag
a(tq arg0, jt$a arg1)
save(CompoundTag arg0, HolderLookup$Provider arg1)
method_8297(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
public void
b(tq arg0, jt$a arg1)
load(CompoundTag arg0, HolderLookup$Provider arg1)
method_8305(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
public void
a(String arg0)
setCommand(String arg0)
method_8286(String arg0)
setCommand(String command)
public String
m()
getCommand()
method_8289()
getCommand()
public boolean
a(dgj arg0)
performCommand(Level arg0)
method_8301(class_1937 arg0)
execute(World world)
public Component
n()
getName()
method_8299()
getName()
public Component
o()
getCustomName()
method_57558()
getCustomName()
public void
b(wp arg0)
setCustomName(Component arg0)
method_8290(class_2561 arg0)
setCustomName(Text customName)
public void
a(wp arg0)
sendSystemMessage(Component arg0)
method_43496(class_2561 arg0)
sendMessage(Text arg0)
public abstract ServerLevel
e()
getLevel()
method_8293()
getWorld()
public abstract void
f()
onUpdated()
method_8295()
markDirty()
public void
c(wp arg0)
setLastOutput(Component arg0)
method_8291(class_2561 arg0)
setLastOutput(Text lastOutput)
public void
a(boolean arg0)
setTrackOutput(boolean arg0)
method_8287(boolean arg0)
setTrackOutput(boolean trackOutput)
public boolean
p()
isTrackOutput()
method_8296()
isTrackingOutput()
public InteractionResult
a(coy arg0)
usedBy(Player arg0)
method_8288(class_1657 arg0)
interact(PlayerEntity player)
public abstract Vec3
g()
getPosition()
method_8300()
getPos()
public abstract CommandSourceStack
i()
createCommandSourceStack()
method_8303()
getSource()
public boolean
y_()
acceptsSuccess()
method_9200()
shouldReceiveFeedback()
public boolean
z_()
acceptsFailure()
method_9202()
shouldTrackOutput()
public boolean
c()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
public abstract boolean
j()
isValid()
method_52175()
isEditable()