net.minecraft.world.level

public abstract class BaseCommandBlock

implements CommandSource

bgx
net.minecraft.world.level.BaseCommandBlock
net.minecraft.class_1918
net.minecraft.world.CommandBlockExecutor
net.minecraft.tileentity.CommandBlockLogic
net.minecraft.server.v1_14_R1.CommandBlockListenerAbstract

Field summary

Modifier and TypeField
private static final SimpleDateFormat
b
TIME_FORMAT
field_9169
DATE_FORMAT
field_145766_a
private long
c
lastExecution
field_9167
lastExecution
field_193041_b
lastExecution
private boolean
d
updateLastExecution
field_9166
updateLastExecution
field_193042_c
updateLastExecution
private int
e
successCount
field_9163
successCount
field_145764_b
successCount
private boolean
f
trackOutput
field_9164
trackOutput
field_145765_c
trackOutput
private Component
g
lastOutput
field_9165
lastOutput
field_145762_d
lastOutput
private String
h
command
field_9168
command
field_145763_e
command
private Component
i
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(id arg0)
save(CompoundTag arg0)
method_8297(class_2487 arg0)
serialize(CompoundTag arg0)
func_189510_a(CompoundNBT arg0)
public void
b(id arg0)
load(CompoundTag arg0)
method_8305(class_2487 arg0)
deserialize(CompoundTag arg0)
func_145759_b(CompoundNBT arg0)
public void
a(String arg0)
setCommand(String arg0)
method_8286(String arg0)
setCommand(String arg0)
func_145752_a(String arg0)
setCommand(String arg0)
public String
k()
getCommand()
method_8289()
getCommand()
func_145753_i()
getCommand()
public boolean
a(bhr arg0)
performCommand(Level arg0)
method_8301(class_1937 arg0)
execute(World arg0)
func_145755_a(World arg0)
public Component
l()
getName()
method_8299()
getCustomName()
func_207404_l()
getName()
public void
b(jo arg0)
setName(Component arg0)
method_8290(class_2561 arg0)
setCustomName(Text customName)
func_207405_b(ITextComponent arg0)
setName(IChatBaseComponent arg0)
public void
a(jo arg0)
sendMessage(Component arg0)
method_9203(class_2561 arg0)
sendMessage(Text arg0)
func_145747_a(ITextComponent arg0)
sendMessage(IChatBaseComponent arg0)
public abstract ServerLevel
d()
getLevel()
method_8293()
getWorld()
func_195043_d()
public abstract void
e()
onUpdated()
method_8295()
markDirty()
func_145756_e()
public void
c(jo 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 boolean
a(awg 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()
sendCommandFeedback()
func_195039_a()
shouldSendSuccess()
public boolean
b()
acceptsFailure()
method_9202()
shouldTrackOutput()
func_195040_b()
shouldSendFailure()
public boolean
H_()
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()