net.minecraft.world.level

public abstract class BaseCommandBlock

implements CommandSource

bqv
net.minecraft.world.level.BaseCommandBlock
net.minecraft.class_1918
net.minecraft.world.CommandBlockExecutor
net.minecraft.tileentity.CommandBlockLogic
net.minecraft.server.v1_16_R2.CommandBlockListenerAbstract

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
i()
getSuccessCount()
method_8304()
getSuccessCount()
func_145760_g()
public void
a(int arg0)
setSuccessCount(int arg0)
method_8298(int arg0)
setSuccessCount(int successCount)
func_184167_a(int arg0)
public Component
j()
getLastOutput()
method_8292()
getLastOutput()
func_145749_h()
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_8297(class_2487 arg0)
serialize(CompoundTag tag)
func_189510_a(CompoundNBT arg0)
public void
b(md arg0)
load(CompoundTag arg0)
method_8305(class_2487 arg0)
deserialize(CompoundTag tag)
func_145759_b(CompoundNBT arg0)
public void
a(String arg0)
setCommand(String arg0)
method_8286(String arg0)
setCommand(String command)
func_145752_a(String arg0)
setCommand(String arg0)
public String
k()
getCommand()
method_8289()
getCommand()
func_145753_i()
getCommand()
public boolean
a(bru arg0)
performCommand(Level arg0)
method_8301(class_1937 arg0)
execute(World world)
func_145755_a(World arg0)
public Component
l()
getName()
method_8299()
getCustomName()
func_207404_l()
getName()
public void
a(nr arg0)
setName(Component arg0)
method_8290(class_2561 arg0)
setCustomName(Text name)
func_207405_b(ITextComponent arg0)
setName(IChatBaseComponent arg0)
public void
a(nr arg0, UUID arg1)
sendMessage(Component arg0, UUID arg1)
method_9203(class_2561 arg0, UUID arg1)
sendSystemMessage(Text arg0, UUID arg1)
func_145747_a(ITextComponent arg0, UUID arg1)
sendMessage(IChatBaseComponent arg0, UUID arg1)
public abstract ServerLevel
d()
getLevel()
method_8293()
getWorld()
func_195043_d()
public abstract void
e()
onUpdated()
method_8295()
markDirty()
func_145756_e()
public void
b(nr arg0)
setLastOutput(Component arg0)
method_8291(class_2561 arg0)
setLastOutput(Text lastOutput)
func_145750_b(ITextComponent arg0)
public void
a(boolean arg0)
setTrackOutput(boolean arg0)
method_8287(boolean arg0)
shouldTrackOutput(boolean trackOutput)
func_175573_a(boolean arg0)
public InteractionResult
a(bft arg0)
usedBy(Player arg0)
method_8288(class_1657 arg0)
interact(PlayerEntity player)
func_175574_a(PlayerEntity arg0)
public abstract CommandSourceStack
h()
createCommandSourceStack()
method_8303()
getSource()
func_195042_h()
getWrapper()
public boolean
a()
acceptsSuccess()
method_9200()
shouldReceiveFeedback()
func_195039_a()
shouldSendSuccess()
public boolean
b()
acceptsFailure()
method_9202()
shouldTrackOutput()
func_195040_b()
shouldSendFailure()
public boolean
R_()
shouldInformAdmins()
method_9201()
shouldBroadcastConsoleToOps()
func_195041_r_()
shouldBroadcastCommands()
public boolean
m()
isTrackOutput()
method_8296()
isTrackingOutput()
func_175571_m()
public abstract Vec3
f()
getPosition()
method_8300()
getPos()
func_210165_f()