net.minecraft.world.entity

public class OminousItemSpawner

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder

bty
net.minecraft.world.entity.OminousItemSpawner
net.minecraft.class_9461
net.minecraft.entity.OminousItemSpawnerEntity
net.minecraft.src.C_313386_
net.minecraft.world.entity.OminousItemSpawner

Field summary

Modifier and TypeField
private static final int
c
SPAWN_ITEM_DELAY_MIN
field_50129
MIN_SPAWN_ITEM_AFTER_TICKS
f_314442_
private static final int
d
SPAWN_ITEM_DELAY_MAX
field_50130
MAX_SPAWN_ITEM_AFTER_TICKS
f_316767_
private static final String
e
TAG_SPAWN_ITEM_AFTER_TICKS
field_50131
SPAWN_ITEM_AFTER_TICKS_NBT_KEY
f_314027_
private static final String
f
TAG_ITEM
field_50132
ITEM_NBT_KEY
f_316560_
private static final EntityDataAccessor<ItemStack>
g
DATA_ITEM
field_50133
ITEM
f_316760_
public static final int
b
TICKS_BEFORE_ABOUT_TO_SPAWN_SOUND
field_50128
field_50128
f_316999_
private long
h
spawnItemAfterTicks
field_50134
spawnItemAfterTicks
f_314138_

Constructor summary

ModifierConstructor
public (EntityType<? extends OminousItemSpawner> p_334777_, Level arg1)

Method summary

Modifier and TypeMethod
public static OminousItemSpawner
a(dca arg0, cur arg1)
create(Level arg0, ItemStack arg1)
method_58638(class_1937 arg0, class_1799 arg1)
create(World world, ItemStack stack)
m_321091_(C_1596_ p_328154_, C_1391_ p_332415_)
public void
l()
tick()
method_5773()
tick()
m_8119_()
private void
u()
tickServer()
method_58641()
tickServer()
m_322175_()
private void
v()
tickClient()
method_58642()
tickClient()
m_324374_()
private void
w()
spawnItem()
method_58643()
spawnItem()
m_320146_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected boolean
r(bsw arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
protected boolean
bJ()
couldAcceptPassenger()
method_48921()
couldAcceptPassenger()
m_269011_()
protected void
p(bsw arg0)
addPassenger(Entity arg0)
method_5627(class_1297 arg0)
addPassenger(Entity arg0)
m_20348_(C_507_ arg0)
public PushReaction
k_()
getPistonPushReaction()
method_5657()
getPistonBehavior()
m_7752_()
public boolean
r_()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
m_6090_()
public void
p()
addParticles()
method_58639()
addParticles()
m_322289_()
public ItemStack
s()
getItem()
method_58640()
getItem()
m_318820_()
private void
a(cur arg0)
setItem(ItemStack arg0)
method_58636(class_1799 arg0)
setItem(ItemStack stack)
m_324856_(C_1391_ arg0)