net.minecraft.world.entity

public class OminousItemSpawner

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

bwm
net.minecraft.world.entity.OminousItemSpawner
net.minecraft.class_9461
net.minecraft.entity.OminousItemSpawnerEntity
net.minecraft.world.entity.OminousItemSpawner

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static OminousItemSpawner
a(dhi arg0, cxp arg1)
create(Level arg0, ItemStack arg1)
method_58638(class_1937 arg0, class_1799 arg1)
create(World world, ItemStack stack)
public void
h()
tick()
method_5773()
tick()
private void
a(ash arg0)
tickServer(ServerLevel arg0)
method_58641(class_3218 arg0)
tickServer(ServerWorld world)
private void
p()
tickClient()
method_58642()
tickClient()
private void
s()
spawnItem()
method_58643()
spawnItem()
private Entity
a(ash arg0, cyk arg1, cxp arg2)
spawnProjectile(ServerLevel arg0, ProjectileItem arg1, ItemStack arg2)
method_61432(class_3218 arg0, class_9463 arg1, class_1799 arg2)
spawnProjectile(ServerWorld world, ProjectileItem item, ItemStack stack)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected boolean
r(bvk arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
protected boolean
bR()
couldAcceptPassenger()
method_48921()
couldAcceptPassenger()
protected void
p(bvk arg0)
addPassenger(Entity arg0)
method_5627(class_1297 arg0)
addPassenger(Entity arg0)
public PushReaction
n_()
getPistonPushReaction()
method_5657()
getPistonBehavior()
public boolean
s_()
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
public void
l()
addParticles()
method_58639()
addParticles()
public ItemStack
m()
getItem()
method_58640()
getItem()
private void
a(cxp arg0)
setItem(ItemStack arg0)
method_58636(class_1799 arg0)
setItem(ItemStack stack)
public final boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)