Uses of Class
net.minecraft.world.level.Level
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Level in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate Optional
<ResourceKey<Level>> LocationPredicate.Builder.dimension
private final Optional
<ResourceKey<Level>> LocationPredicate.dimension
The field for thedimension
record component.private final Optional
<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.from
The field for thefrom
record component.private final Optional
<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.to
The field for theto
record component.Modifier and TypeMethodDescriptionLocationPredicate.dimension()
Returns the value of thedimension
record component.ChangeDimensionTrigger.TriggerInstance.from()
Returns the value of thefrom
record component.ChangeDimensionTrigger.TriggerInstance.to()
Returns the value of theto
record component.Modifier and TypeMethodDescriptionChangeDimensionTrigger.TriggerInstance.changedDimension
(ResourceKey<Level> p_301026_, ResourceKey<Level> p_301124_) ChangeDimensionTrigger.TriggerInstance.changedDimensionFrom
(ResourceKey<Level> p_147564_) ChangeDimensionTrigger.TriggerInstance.changedDimensionTo
(ResourceKey<Level> p_19783_) static LocationPredicate.Builder
LocationPredicate.Builder.inDimension
(ResourceKey<Level> p_298871_) boolean
ChangeDimensionTrigger.TriggerInstance.matches
(ResourceKey<Level> p_19785_, ResourceKey<Level> p_19786_) LocationPredicate.Builder.setDimension
(ResourceKey<Level> p_153977_) void
ChangeDimensionTrigger.trigger
(ServerPlayer p_19758_, ResourceKey<Level> p_19759_, ResourceKey<Level> p_19760_) -
Uses of Level in net.minecraft.client.color.block
Modifier and TypeMethodDescriptionint
BlockColors.getColor
(BlockState p_92583_, Level p_92584_, BlockPos p_92585_) -
Uses of Level in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate void
GuiGraphics.renderItem
(LivingEntity p_283524_, Level p_282461_, ItemStack p_283653_, int p_283141_, int p_282560_, int p_282425_) private void
GuiGraphics.renderItem
(LivingEntity p_282619_, Level p_281754_, ItemStack p_281675_, int p_281271_, int p_282210_, int p_283260_, int p_281995_) -
Uses of Level in net.minecraft.client.gui.components
-
Uses of Level in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate static final ToIntFunction
<ResourceKey<Level>> OptimizeWorldScreen.DIMENSION_COLORS
-
Uses of Level in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientPacketListener.levels()
ClientSuggestionProvider.levels()
Modifier and TypeMethodDescriptionprivate ReceivingLevelScreen.Reason
ClientPacketListener.determineLevelLoadingReason
(boolean p_341642_, ResourceKey<Level> p_341617_, ResourceKey<Level> p_341637_) ModifierConstructorDescriptionClientLevel
(ClientPacketListener p_205505_, ClientLevel.ClientLevelData p_205506_, ResourceKey<Level> p_205507_, Holder<DimensionType> p_205508_, int p_205509_, int p_205510_, Supplier<ProfilerFiller> p_205511_, LevelRenderer p_205512_, boolean p_205513_, long p_205514_) -
Uses of Level in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionprivate void
LevelRenderer.notifyNearbyEntities
(Level p_109551_, BlockPos p_109552_, boolean p_109553_) ModifierConstructorDescriptionViewArea
(SectionRenderDispatcher p_296460_, Level p_110846_, int p_110847_, LevelRenderer p_110848_) -
Uses of Level in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionBlockModelShaper.getTexture
(BlockState p_110883_, Level level, BlockPos pos) -
Uses of Level in net.minecraft.client.renderer.blockentity
Modifier and TypeMethodDescriptionvoid
private void
PistonHeadRenderer.renderBlock
(BlockPos p_112459_, BlockState p_112460_, PoseStack p_112461_, MultiBufferSource p_112462_, Level p_112463_, boolean p_112464_, int p_112465_) static void
VaultRenderer.renderItemInside
(float p_324463_, Level p_323997_, PoseStack p_323756_, MultiBufferSource p_323535_, int p_324189_, ItemStack p_324326_, ItemRenderer p_324590_, float p_324476_, float p_324237_, RandomSource p_323851_) void
-
Uses of Level in net.minecraft.client.renderer.chunk
Modifier and TypeMethodDescriptionRenderRegionCache.createRegion
(Level p_200466_, SectionPos p_350879_) RenderRegionCache.createRegion
(Level p_200466_, SectionPos p_350879_, boolean nullForEmpty) private RenderRegionCache.ChunkInfo
RenderRegionCache.getChunkInfo
(Level p_350834_, int p_350803_, int p_350907_) ModifierConstructorDescription(package private)
RenderChunkRegion
(Level p_200456_, int p_200457_, int p_200458_, RenderChunk[] p_350680_) Deprecated.(package private)
RenderChunkRegion
(Level p_200456_, int p_200457_, int p_200458_, RenderChunk[] p_350680_, it.unimi.dsi.fastutil.longs.Long2ObjectFunction<ModelData> modelDataSnapshot) -
Uses of Level in net.minecraft.client.renderer.debug
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Level>, Map<String, BoundingBox>> StructureRenderer.postMainBoxes
private final Map
<ResourceKey<Level>, Map<String, StructuresDebugPayload.PieceInfo>> StructureRenderer.postPieces
Modifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedListener.getPosition
(Level p_173876_) boolean
Modifier and TypeMethodDescriptionvoid
StructureRenderer.addBoundingBox
(BoundingBox p_113683_, List<StructuresDebugPayload.PieceInfo> p_113684_, ResourceKey<Level> p_295656_) -
Uses of Level in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionItemRenderer.getModel
(ItemStack p_174265_, Level p_174266_, LivingEntity p_174267_, int p_174268_) void
static void
ItemEntityRenderer.renderMultipleFromCount
(ItemRenderer p_323875_, PoseStack p_323763_, MultiBufferSource p_324606_, int p_323603_, ItemStack p_323969_, RandomSource p_324507_, Level p_323902_) void
ItemRenderer.renderStatic
(LivingEntity p_270101_, ItemStack p_270637_, ItemDisplayContext p_270437_, boolean p_270434_, PoseStack p_270230_, MultiBufferSource p_270411_, Level p_270641_, int p_270595_, int p_270927_, int p_270845_) void
ItemRenderer.renderStatic
(ItemStack p_270761_, ItemDisplayContext p_270648_, int p_270410_, int p_270894_, PoseStack p_270430_, MultiBufferSource p_270457_, Level p_270149_, int p_270509_) void
-
Uses of Level in net.minecraft.client.telemetry
Modifier and TypeMethodDescriptionvoid
WorldSessionTelemetryManager.onAdvancementDone
(Level p_286825_, AdvancementHolder p_301169_) -
Uses of Level in net.minecraft.commands
-
Uses of Level in net.minecraft.core
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> GlobalPos.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionGlobalPos.dimension()
Returns the value of thedimension
record component.Modifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.of
(ResourceKey<Level> p_122644_, BlockPos p_122645_) ModifierConstructorDescriptionGlobalPos
(ResourceKey<Level> dimension, BlockPos pos) Creates an instance of aGlobalPos
record class. -
Uses of Level in net.minecraft.core.cauldron
Modifier and TypeMethodDescriptionstatic ItemInteractionResult
CauldronInteraction.emptyBucket
(Level p_175619_, BlockPos p_175620_, Player p_175621_, InteractionHand p_175622_, ItemStack p_175623_, BlockState p_175624_, SoundEvent p_175625_) static ItemInteractionResult
CauldronInteraction.fillBucket
(BlockState p_175636_, Level p_175637_, BlockPos p_175638_, Player p_175639_, InteractionHand p_175640_, ItemStack p_175641_, ItemStack p_175642_, Predicate<BlockState> p_175643_, SoundEvent p_175644_) CauldronInteraction.interact
(BlockState p_175711_, Level p_175712_, BlockPos p_175713_, Player p_175714_, InteractionHand p_175715_, ItemStack p_175716_) -
Uses of Level in net.minecraft.core.dispenser
-
Uses of Level in net.minecraft.core.registries
Modifier and TypeMethodDescriptionstatic ResourceKey
<Level> Registries.levelStemToLevel
(ResourceKey<LevelStem> p_259475_) Modifier and TypeMethodDescriptionstatic ResourceKey
<LevelStem> Registries.levelToLevelStem
(ResourceKey<Level> p_260225_) -
Uses of Level in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> StructuresDebugPayload.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionStructuresDebugPayload.dimension()
Returns the value of thedimension
record component.ModifierConstructorDescriptionStructuresDebugPayload
(ResourceKey<Level> dimension, BoundingBox mainBB, List<StructuresDebugPayload.PieceInfo> pieces) Creates an instance of aStructuresDebugPayload
record class. -
Uses of Level in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> CommonPlayerSpawnInfo.dimension
The field for thedimension
record component.private final Set
<ResourceKey<Level>> ClientboundLoginPacket.levels
The field for thelevels
record component.Modifier and TypeMethodDescriptionCommonPlayerSpawnInfo.dimension()
Returns the value of thedimension
record component.ClientboundLoginPacket.levels()
Returns the value of thelevels
record component.Modifier and TypeMethodDescriptionServerboundSetCommandMinecartPacket.getCommandBlock
(Level p_134538_) ClientboundPlayerLookAtPacket.getPosition
(Level p_132786_) static void
DebugPackets.sendGameEventInfo
(Level p_237888_, Holder<GameEvent> p_316607_, Vec3 p_237890_) static void
DebugPackets.sendGameEventListenerInfo
(Level p_179508_, GameEventListener p_179509_) static void
DebugPackets.sendGoalSelector
(Level p_133700_, Mob p_133701_, GoalSelector p_133702_) static void
DebugPackets.sendHiveInfo
(Level p_179511_, BlockPos p_179512_, BlockState p_179513_, BeehiveBlockEntity p_179514_) static void
DebugPackets.sendNeighborsUpdatePacket
(Level p_133709_, BlockPos p_133710_) static void
DebugPackets.sendPathFindingPacket
(Level p_133704_, Mob p_133705_, Path p_133706_, float p_133707_) ModifierConstructorDescriptionClientboundLoginPacket
(int playerId, boolean hardcore, Set<ResourceKey<Level>> levels, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean doLimitedCrafting, CommonPlayerSpawnInfo commonPlayerSpawnInfo, boolean enforcesSecureChat) Creates an instance of aClientboundLoginPacket
record class.CommonPlayerSpawnInfo
(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown) Creates an instance of aCommonPlayerSpawnInfo
record class. -
Uses of Level in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Level>, ServerLevel> MinecraftServer.levels
private Map
<ResourceKey<Level>, long[]> MinecraftServer.perWorldTickTimes
Modifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()
Deprecated.MinecraftServer.levelKeys()
Modifier and TypeMethodDescriptionMinecraftServer.getLevel
(ResourceKey<Level> p_129881_) long[]
MinecraftServer.getTickTime
(ResourceKey<Level> dim) -
Uses of Level in net.minecraft.server.chase
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> ChaseClient.TeleportTarget.level
The field for thelevel
record component.Modifier and TypeMethodDescriptionChaseClient.TeleportTarget.level()
Returns the value of thelevel
record component.ModifierConstructorDescription(package private)
TeleportTarget
(ResourceKey<Level> level, Vec3 pos, Vec2 rot) Creates an instance of aTeleportTarget
record class. -
Uses of Level in net.minecraft.server.commands
Modifier and TypeFieldDescriptionstatic com.google.common.collect.BiMap
<String, ResourceKey<Level>> ChaseCommand.DIMENSION_NAMES
-
Uses of Level in net.minecraft.server.dedicated
-
Uses of Level in net.minecraft.server.level
Modifier and TypeMethodDescriptionprivate void
ChunkHolder.broadcastBlockEntity
(List<ServerPlayer> p_288988_, Level p_289005_, BlockPos p_288981_) private void
ChunkHolder.broadcastBlockEntityIfNeeded
(List<ServerPlayer> p_288982_, Level p_289011_, BlockPos p_288969_, BlockState p_288973_) boolean
ServerPlayer.mayInteract
(Level p_143406_, BlockPos p_143407_) DemoMode.useItem
(ServerPlayer p_140742_, Level p_140743_, ItemStack p_140744_, InteractionHand p_140745_) ServerPlayerGameMode.useItem
(ServerPlayer p_9262_, Level p_9263_, ItemStack p_9264_, InteractionHand p_9265_) DemoMode.useItemOn
(ServerPlayer p_140747_, Level p_140748_, ItemStack p_140749_, InteractionHand p_140750_, BlockHitResult p_140751_) ServerPlayerGameMode.useItemOn
(ServerPlayer p_9266_, Level p_9267_, ItemStack p_9268_, InteractionHand p_9269_, BlockHitResult p_9270_) Modifier and TypeMethodDescriptionvoid
ServerPlayer.setRespawnPosition
(ResourceKey<Level> p_9159_, BlockPos p_9160_, float p_9161_, boolean p_9162_, boolean p_9163_) ModifierConstructorDescriptionServerLevel
(MinecraftServer p_214999_, Executor p_215000_, LevelStorageSource.LevelStorageAccess p_215001_, ServerLevelData p_215002_, ResourceKey<Level> p_215003_, LevelStem p_215004_, ChunkProgressListener p_215005_, boolean p_215006_, long p_215007_, List<CustomSpawner> p_215008_, boolean p_215009_, RandomSequences p_288977_) -
Uses of Level in net.minecraft.server.players
Modifier and TypeMethodDescriptionvoid
PlayerList.broadcast
(Player p_11242_, double p_11243_, double p_11244_, double p_11245_, double p_11246_, ResourceKey<Level> p_11247_, Packet<?> p_11248_) void
PlayerList.broadcastAll
(Packet<?> p_11271_, ResourceKey<Level> p_11272_) -
Uses of Level in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticleBelow
(Level p_273159_, BlockPos p_273452_, RandomSource p_273538_, ParticleOptions p_273419_) static void
ParticleUtils.spawnParticleOnFace
(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) static void
ParticleUtils.spawnParticlesAlongAxis
(Direction.Axis p_144968_, Level p_144969_, BlockPos p_144970_, double p_144971_, ParticleOptions p_144972_, UniformInt p_144973_) static void
ParticleUtils.spawnParticlesOnBlockFace
(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) static void
ParticleUtils.spawnParticlesOnBlockFaces
(Level p_216314_, BlockPos p_216315_, ParticleOptions p_216316_, IntProvider p_216317_) -
Uses of Level in net.minecraft.util.profiling.jfr
Modifier and TypeMethodDescriptionJfrProfiler.onChunkGenerate
(ChunkPos p_185313_, ResourceKey<Level> p_185314_, String p_185315_) JvmProfiler.NoOpProfiler.onChunkGenerate
(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate
(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_) -
Uses of Level in net.minecraft.util.profiling.jfr.event
ModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos p_195543_, ResourceKey<Level> p_195544_, String p_195545_) -
Uses of Level in net.minecraft.util.worldupdate
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> WorldUpgrader.DimensionToUpgrade.dimensionKey
The field for thedimensionKey
record component.(package private) final Set
<ResourceKey<Level>> WorldUpgrader.levels
(package private) final it.unimi.dsi.fastutil.objects.Reference2FloatMap
<ResourceKey<Level>> WorldUpgrader.progressMap
Modifier and TypeMethodDescriptionWorldUpgrader.DimensionToUpgrade.dimensionKey()
Returns the value of thedimensionKey
record component.WorldUpgrader.levels()
Modifier and TypeMethodDescriptionfloat
WorldUpgrader.dimensionProgress
(ResourceKey<Level> p_18828_) private boolean
WorldUpgrader.AbstractUpgrader.processOnePosition
(ResourceKey<Level> p_321757_, T p_321658_, ChunkPos p_321833_) protected abstract boolean
WorldUpgrader.AbstractUpgrader.tryProcessOnePosition
(T p_321640_, ChunkPos p_321536_, ResourceKey<Level> p_321782_) protected boolean
WorldUpgrader.ChunkUpgrader.tryProcessOnePosition
(ChunkStorage p_321581_, ChunkPos p_321524_, ResourceKey<Level> p_321488_) protected boolean
WorldUpgrader.SimpleRegionStorageUpgrader.tryProcessOnePosition
(SimpleRegionStorage p_321490_, ChunkPos p_321657_, ResourceKey<Level> p_321485_) ModifierConstructorDescription(package private)
DimensionToUpgrade
(ResourceKey<Level> dimensionKey, T storage, ListIterator<WorldUpgrader.FileToUpgrade> files) Creates an instance of aDimensionToUpgrade
record class. -
Uses of Level in net.minecraft.world
Modifier and TypeMethodDescriptionprivate static void
Containers.dropContents
(Level p_18987_, double p_18988_, double p_18989_, double p_18990_, Container p_18991_) static void
Containers.dropContents
(Level p_19011_, BlockPos p_19012_, NonNullList<ItemStack> p_19013_) static void
Containers.dropContents
(Level p_19003_, BlockPos p_19004_, Container p_19005_) static void
Containers.dropContents
(Level p_18999_, Entity p_19000_, Container p_19001_) static void
Containers.dropContentsOnDestroy
(BlockState p_306110_, BlockState p_306286_, Level p_305891_, BlockPos p_306156_) static void
Containers.dropItemStack
(Level p_18993_, double p_18994_, double p_18995_, double p_18996_, ItemStack p_18997_) -
Uses of Level in net.minecraft.world.effect
Modifier and TypeMethodDescriptionprivate void
WeavingMobEffect.spawnCobwebsRandomlyAround
(Level p_338396_, RandomSource p_338709_, BlockPos p_338472_) private void
InfestedMobEffect.spawnSilverfish
(Level p_338804_, LivingEntity p_341023_, double p_338557_, double p_338848_, double p_338562_) private void
OozingMobEffect.spawnSlimeOffspring
(Level p_338724_, double p_338555_, double p_338811_, double p_338192_) -
Uses of Level in net.minecraft.world.entity
Modifier and TypeMethodDescriptionboolean
Entity.canChangeDimensions
(Level p_352904_, Level p_352909_) private static void
LightningBolt.clearCopperOnLightningStrike
(Level p_147151_, BlockPos p_147152_) private static List
<VoxelShape> Entity.collectColliders
(Entity p_344804_, Level p_345583_, List<VoxelShape> p_345198_, AABB p_345837_) static Vec3
Entity.collideBoundingBox
(Entity p_198895_, Vec3 p_198896_, AABB p_198897_, Level p_198898_, List<VoxelShape> p_198899_) EntityType.create
(CompoundTag p_20643_, Level p_20644_) EntityType.EntityFactory.create
(EntityType<T> p_20722_, Level p_20723_) static OminousItemSpawner
protected PathNavigation
Mob.createNavigation
(Level p_21480_) final ItemStack
LivingEntity.eat
(Level p_347678_, ItemStack p_347507_, FoodProperties p_347707_) default boolean
NeutralMob.isAngryAtAllPlayers
(Level p_21671_) EntityType.loadEntitiesRecursive
(List<? extends Tag> p_147046_, Level p_147047_) static Entity
EntityType.loadEntityRecursive
(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) EntityType.loadStaticEntity
(CompoundTag p_20670_, Level p_20671_) boolean
Entity.mayInteract
(Level p_146843_, BlockPos p_146844_) LightningBolt.randomStepCleaningCopper
(Level p_147154_, BlockPos p_147155_) private static void
LightningBolt.randomWalkCleaningCopper
(Level p_147146_, BlockPos p_147147_, BlockPos.MutableBlockPos p_147148_, int p_147149_) default void
NeutralMob.readPersistentAngerSaveData
(Level p_147286_, CompoundTag p_147287_) protected void
static void
EntityType.updateCustomEntityTag
(Level p_20621_, Player p_20622_, Entity p_20623_, CustomData p_331752_) ModifierConstructorDescriptionprotected
AgeableMob
(EntityType<? extends AgeableMob> p_146738_, Level p_146739_) AreaEffectCloud
(EntityType<? extends AreaEffectCloud> p_19704_, Level p_19705_) AreaEffectCloud
(Level p_19707_, double p_19708_, double p_19709_, double p_19710_) BlockDisplay
(EntityType<?> p_271022_, Level p_270442_) Display
(EntityType<?> p_270360_, Level p_270280_) Entity
(EntityType<?> p_19870_, Level p_19871_) ExperienceOrb
(EntityType<? extends ExperienceOrb> p_20773_, Level p_20774_) ExperienceOrb
(Level p_20776_, double p_20777_, double p_20778_, double p_20779_, int p_20780_) protected
FlyingMob
(EntityType<? extends FlyingMob> p_20806_, Level p_20807_) GlowSquid
(EntityType<? extends GlowSquid> p_147111_, Level p_147112_) Interaction
(EntityType<?> p_273319_, Level p_272713_) ItemDisplay
(EntityType<?> p_270104_, Level p_270735_) LightningBolt
(EntityType<? extends LightningBolt> p_20865_, Level p_20866_) protected
LivingEntity
(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) Marker
(EntityType<?> p_147250_, Level p_147251_) protected
Mob
(EntityType<? extends Mob> p_21368_, Level p_21369_) OminousItemSpawner
(EntityType<? extends OminousItemSpawner> p_338198_, Level p_338269_) protected
PathfinderMob
(EntityType<? extends PathfinderMob> p_21683_, Level p_21684_) protected
TamableAnimal
(EntityType<? extends TamableAnimal> p_21803_, Level p_21804_) TextDisplay
(EntityType<?> p_270708_, Level p_270736_) -
Uses of Level in net.minecraft.world.entity.ai.goal
Modifier and TypeFieldDescriptionprivate final Level
BegGoal.level
protected final Level
BreedGoal.level
private final Level
ClimbOnTopOfPowderSnowGoal.level
private final Level
EatBlockGoal.level
private final Level
FleeSunGoal.level
Modifier and TypeMethodDescriptionvoid
RemoveBlockGoal.playBreakSound
(Level p_25845_, BlockPos p_25846_) -
Uses of Level in net.minecraft.world.entity.ambient
ModifierConstructorDescriptionprotected
AmbientCreature
(EntityType<? extends AmbientCreature> p_27403_, Level p_27404_) Bat
(EntityType<? extends Bat> p_27412_, Level p_27413_) -
Uses of Level in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionprotected PathNavigation
AbstractFish.createNavigation
(Level p_27480_) protected PathNavigation
Bee.createNavigation
(Level p_27815_) protected PathNavigation
Dolphin.createNavigation
(Level p_28362_) protected PathNavigation
Parrot.createNavigation
(Level p_29417_) protected PathNavigation
Turtle.createNavigation
(Level p_30171_) static SoundEvent
Parrot.getAmbient
(Level p_218239_, RandomSource p_218240_) static boolean
Parrot.imitateNearbyMobs
(Level p_29383_, Entity p_29384_) private void
Bee.spawnFluidParticle
(Level p_27780_, double p_27781_, double p_27782_, double p_27783_, double p_27784_, double p_27785_, ParticleOptions p_27786_) ModifierConstructorDescriptionAbstractFish
(EntityType<? extends AbstractFish> p_27461_, Level p_27462_) protected
AbstractGolem
(EntityType<? extends AbstractGolem> p_27508_, Level p_27509_) AbstractSchoolingFish
(EntityType<? extends AbstractSchoolingFish> p_27523_, Level p_27524_) protected
Animal
(EntityType<? extends Animal> p_27557_, Level p_27558_) Bee
(EntityType<? extends Bee> p_27717_, Level p_27718_) Cat
(EntityType<? extends Cat> p_28114_, Level p_28115_) Chicken
(EntityType<? extends Chicken> p_28236_, Level p_28237_) Cod
(EntityType<? extends Cod> p_28276_, Level p_28277_) Cow
(EntityType<? extends Cow> p_28285_, Level p_28286_) Dolphin
(EntityType<? extends Dolphin> p_28316_, Level p_28317_) Fox
(EntityType<? extends Fox> p_28451_, Level p_28452_) IronGolem
(EntityType<? extends IronGolem> p_28834_, Level p_28835_) MushroomCow
(EntityType<? extends MushroomCow> p_28914_, Level p_28915_) Ocelot
(EntityType<? extends Ocelot> p_28987_, Level p_28988_) Panda
(EntityType<? extends Panda> p_29086_, Level p_29087_) Parrot
(EntityType<? extends Parrot> p_29362_, Level p_29363_) Pig
(EntityType<? extends Pig> p_29462_, Level p_29463_) PolarBear
(EntityType<? extends PolarBear> p_29519_, Level p_29520_) Pufferfish
(EntityType<? extends Pufferfish> p_29602_, Level p_29603_) Rabbit
(EntityType<? extends Rabbit> p_29656_, Level p_29657_) Salmon
(EntityType<? extends Salmon> p_29790_, Level p_29791_) Sheep
(EntityType<? extends Sheep> p_29806_, Level p_29807_) protected
ShoulderRidingEntity
(EntityType<? extends ShoulderRidingEntity> p_29893_, Level p_29894_) SnowGolem
(EntityType<? extends SnowGolem> p_29902_, Level p_29903_) Squid
(EntityType<? extends Squid> p_29953_, Level p_29954_) TropicalFish
(EntityType<? extends TropicalFish> p_30015_, Level p_30016_) Turtle
(EntityType<? extends Turtle> p_30132_, Level p_30133_) (package private)
TurtlePathNavigation
(Turtle p_30294_, Level p_30295_) protected
WaterAnimal
(EntityType<? extends WaterAnimal> p_30341_, Level p_30342_) Wolf
(EntityType<? extends Wolf> p_30369_, Level p_30370_) -
Uses of Level in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionprotected PathNavigation
Allay.createNavigation
(Level p_218342_) -
Uses of Level in net.minecraft.world.entity.animal.armadillo
-
Uses of Level in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionprotected PathNavigation
Axolotl.createNavigation
(Level p_149128_) -
Uses of Level in net.minecraft.world.entity.animal.camel
-
Uses of Level in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionprotected PathNavigation
Frog.createNavigation
(Level p_218486_) protected PathNavigation
Tadpole.createNavigation
(Level p_218694_) ModifierConstructorDescriptionFrog
(EntityType<? extends Animal> p_218470_, Level p_218471_) (package private)
FrogPathNavigation
(Frog p_218556_, Level p_218557_) Tadpole
(EntityType<? extends AbstractFish> p_218686_, Level p_218687_) -
Uses of Level in net.minecraft.world.entity.animal.goat
-
Uses of Level in net.minecraft.world.entity.animal.horse
ModifierConstructorDescriptionprotected
AbstractChestedHorse
(EntityType<? extends AbstractChestedHorse> p_30485_, Level p_30486_) protected
AbstractHorse
(EntityType<? extends AbstractHorse> p_30531_, Level p_30532_) Donkey
(EntityType<? extends Donkey> p_30672_, Level p_30673_) Horse
(EntityType<? extends Horse> p_30689_, Level p_30690_) Llama
(EntityType<? extends Llama> p_30750_, Level p_30751_) Mule
(EntityType<? extends Mule> p_30878_, Level p_30879_) SkeletonHorse
(EntityType<? extends SkeletonHorse> p_30894_, Level p_30895_) TraderLlama
(EntityType<? extends TraderLlama> p_30939_, Level p_30940_) ZombieHorse
(EntityType<? extends ZombieHorse> p_30994_, Level p_30995_) -
Uses of Level in net.minecraft.world.entity.animal.sniffer
-
Uses of Level in net.minecraft.world.entity.boss.enderdragon
ModifierConstructorDescriptionEndCrystal
(EntityType<? extends EndCrystal> p_31037_, Level p_31038_) EndCrystal
(Level p_31040_, double p_31041_, double p_31042_, double p_31043_) EnderDragon
(EntityType<? extends EnderDragon> p_31096_, Level p_31097_) -
Uses of Level in net.minecraft.world.entity.boss.wither
Modifier and TypeMethodDescriptionprotected PathNavigation
WitherBoss.createNavigation
(Level p_186262_) ModifierConstructorDescriptionWitherBoss
(EntityType<? extends WitherBoss> p_31437_, Level p_31438_) -
Uses of Level in net.minecraft.world.entity.decoration
Modifier and TypeMethodDescriptionstatic LeashFenceKnotEntity
LeashFenceKnotEntity.getOrCreateKnot
(Level p_31845_, BlockPos p_31846_) ModifierConstructorDescriptionArmorStand
(EntityType<? extends ArmorStand> p_31553_, Level p_31554_) ArmorStand
(Level p_31556_, double p_31557_, double p_31558_, double p_31559_) protected
BlockAttachedEntity
(EntityType<? extends BlockAttachedEntity> p_345070_, Level p_345079_) protected
BlockAttachedEntity
(EntityType<? extends BlockAttachedEntity> p_345456_, Level p_345187_, BlockPos p_345816_) GlowItemFrame
(EntityType<? extends ItemFrame> p_149607_, Level p_149608_) GlowItemFrame
(Level p_149610_, BlockPos p_149611_, Direction p_149612_) protected
HangingEntity
(EntityType<? extends HangingEntity> p_31703_, Level p_31704_) protected
HangingEntity
(EntityType<? extends HangingEntity> p_31706_, Level p_31707_, BlockPos p_31708_) ItemFrame
(EntityType<? extends ItemFrame> p_31761_, Level p_31762_) ItemFrame
(EntityType<? extends ItemFrame> p_149621_, Level p_149622_, BlockPos p_149623_, Direction p_149624_) LeashFenceKnotEntity
(EntityType<? extends LeashFenceKnotEntity> p_31828_, Level p_31829_) LeashFenceKnotEntity
(Level p_31831_, BlockPos p_31832_) Painting
(EntityType<? extends Painting> p_31904_, Level p_31905_) private
Painting
(Level p_218877_, BlockPos p_218878_, Direction p_218879_, Holder<PaintingVariant> p_218880_) -
Uses of Level in net.minecraft.world.entity.item
Modifier and TypeMethodDescriptionstatic FallingBlockEntity
FallingBlockEntity.fall
(Level p_201972_, BlockPos p_201973_, BlockState p_201974_) ModifierConstructorDescriptionFallingBlockEntity
(EntityType<? extends FallingBlockEntity> p_31950_, Level p_31951_) private
FallingBlockEntity
(Level p_31953_, double p_31954_, double p_31955_, double p_31956_, BlockState p_31957_) ItemEntity
(EntityType<? extends ItemEntity> p_31991_, Level p_31992_) ItemEntity
(Level p_32001_, double p_32002_, double p_32003_, double p_32004_, ItemStack p_32005_) ItemEntity
(Level p_149663_, double p_149664_, double p_149665_, double p_149666_, ItemStack p_149667_, double p_149668_, double p_149669_, double p_149670_) PrimedTnt
(EntityType<? extends PrimedTnt> p_32076_, Level p_32077_) PrimedTnt
(Level p_32079_, double p_32080_, double p_32081_, double p_32082_, LivingEntity p_32083_) -
Uses of Level in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionprivate boolean
EnderMan.EndermanLeaveBlockGoal.canPlaceBlock
(Level p_32559_, BlockPos p_32560_, BlockState p_32561_, BlockState p_32562_, BlockState p_32563_, BlockPos p_32564_) protected PathNavigation
Guardian.createNavigation
(Level p_32846_) protected PathNavigation
Spider.createNavigation
(Level p_33802_) protected PathNavigation
Strider.createNavigation
(Level p_33913_) void
Zombie.ZombieAttackTurtleEggGoal.playBreakSound
(Level p_34348_, BlockPos p_34349_) ModifierConstructorDescriptionprotected
AbstractIllager
(EntityType<? extends AbstractIllager> p_32105_, Level p_32106_) protected
AbstractSkeleton
(EntityType<? extends AbstractSkeleton> p_32133_, Level p_32134_) Blaze
(EntityType<? extends Blaze> p_32219_, Level p_32220_) Bogged
(EntityType<? extends Bogged> p_326920_, Level p_326946_) CaveSpider
(EntityType<? extends CaveSpider> p_32254_, Level p_32255_) Creeper
(EntityType<? extends Creeper> p_32278_, Level p_32279_) Drowned
(EntityType<? extends Drowned> p_32344_, Level p_32345_) ElderGuardian
(EntityType<? extends ElderGuardian> p_32460_, Level p_32461_) EnderMan
(EntityType<? extends EnderMan> p_32485_, Level p_32486_) Endermite
(EntityType<? extends Endermite> p_32591_, Level p_32592_) Evoker
(EntityType<? extends Evoker> p_32627_, Level p_32628_) Ghast
(EntityType<? extends Ghast> p_32725_, Level p_32726_) Giant
(EntityType<? extends Giant> p_32788_, Level p_32789_) Guardian
(EntityType<? extends Guardian> p_32810_, Level p_32811_) Husk
(EntityType<? extends Husk> p_32889_, Level p_32890_) Illusioner
(EntityType<? extends Illusioner> p_32911_, Level p_32912_) MagmaCube
(EntityType<? extends MagmaCube> p_32968_, Level p_32969_) protected
Monster
(EntityType<? extends Monster> p_33002_, Level p_33003_) protected
PatrollingMonster
(EntityType<? extends PatrollingMonster> p_33046_, Level p_33047_) Phantom
(EntityType<? extends Phantom> p_33101_, Level p_33102_) Pillager
(EntityType<? extends Pillager> p_33262_, Level p_33263_) Ravager
(EntityType<? extends Ravager> p_33325_, Level p_33326_) Shulker
(EntityType<? extends Shulker> p_33404_, Level p_33405_) Silverfish
(EntityType<? extends Silverfish> p_33523_, Level p_33524_) Skeleton
(EntityType<? extends Skeleton> p_33570_, Level p_33571_) Slime
(EntityType<? extends Slime> p_33588_, Level p_33589_) protected
SpellcasterIllager
(EntityType<? extends SpellcasterIllager> p_33724_, Level p_33725_) Spider
(EntityType<? extends Spider> p_33786_, Level p_33787_) Stray
(EntityType<? extends Stray> p_33836_, Level p_33837_) Strider
(EntityType<? extends Strider> p_33862_, Level p_33863_) (package private)
StriderPathNavigation
(Strider p_33969_, Level p_33970_) Vex
(EntityType<? extends Vex> p_33984_, Level p_33985_) Vindicator
(EntityType<? extends Vindicator> p_34074_, Level p_34075_) Witch
(EntityType<? extends Witch> p_34134_, Level p_34135_) WitherSkeleton
(EntityType<? extends WitherSkeleton> p_34166_, Level p_34167_) Zoglin
(EntityType<? extends Zoglin> p_34204_, Level p_34205_) Zombie
(EntityType<? extends Zombie> p_34271_, Level p_34272_) ZombieVillager
(EntityType<? extends ZombieVillager> p_34368_, Level p_34369_) ZombifiedPiglin
(EntityType<? extends ZombifiedPiglin> p_34427_, Level p_34428_) -
Uses of Level in net.minecraft.world.entity.monster.breeze
-
Uses of Level in net.minecraft.world.entity.monster.hoglin
-
Uses of Level in net.minecraft.world.entity.monster.piglin
ModifierConstructorDescriptionAbstractPiglin
(EntityType<? extends AbstractPiglin> p_34652_, Level p_34653_) Piglin
(EntityType<? extends AbstractPiglin> p_34683_, Level p_34684_) PiglinBrute
(EntityType<? extends PiglinBrute> p_35048_, Level p_35049_) -
Uses of Level in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionprotected PathNavigation
Warden.createNavigation
(Level p_219396_) -
Uses of Level in net.minecraft.world.entity.npc
ModifierConstructorDescriptionAbstractVillager
(EntityType<? extends AbstractVillager> p_35267_, Level p_35268_) Villager
(EntityType<? extends Villager> p_35381_, Level p_35382_) Villager
(EntityType<? extends Villager> p_35384_, Level p_35385_, VillagerType p_35386_) WanderingTrader
(EntityType<? extends WanderingTrader> p_35843_, Level p_35844_) -
Uses of Level in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionboolean
Player.blockActionRestricted
(Level p_36188_, BlockPos p_36189_, GameType p_36190_) Player.eat
(Level p_36185_, ItemStack p_36186_, FoodProperties p_347562_) boolean
Player.hasCorrectToolForDrops
(BlockState state, Level level, BlockPos pos) -
Uses of Level in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionboolean
ThrownEnderpearl.canChangeDimensions
(Level p_352941_, Level p_352929_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) private static HitResult
ProjectileUtil.getHitResult
(Vec3 p_278237_, Entity p_278320_, Predicate<Entity> p_278257_, Vec3 p_278342_, Level p_278321_, float p_305813_, ClipContext.Block p_312920_) private static boolean
ThrownEnderpearl.isAllowedToTeleportOwner
(Entity p_352055_, Level p_352453_) boolean
boolean
Projectile.mayInteract
(Level p_150167_, BlockPos p_150168_) private void
ModifierConstructorDescriptionprotected
AbstractArrow
(EntityType<? extends AbstractArrow> p_36717_, double p_346045_, double p_344855_, double p_345999_, Level p_36719_, ItemStack p_309031_, ItemStack p_345487_) protected
AbstractArrow
(EntityType<? extends AbstractArrow> p_36721_, LivingEntity p_345310_, Level p_36722_, ItemStack p_309145_, ItemStack p_345000_) protected
AbstractArrow
(EntityType<? extends AbstractArrow> p_331098_, Level p_331626_) protected
AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_312669_, double p_312561_, double p_312829_, double p_312607_, Level p_312011_) AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36826_, double p_36828_, double p_36829_, double p_36830_, Vec3 p_347477_, Level p_36831_) AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36817_, LivingEntity p_347648_, Vec3 p_347596_, Level p_36824_) protected
AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36833_, Level p_36834_) Arrow
(EntityType<? extends Arrow> p_36858_, Level p_36859_) Arrow
(Level p_36861_, double p_345459_, double p_346135_, double p_345618_, ItemStack p_309188_, ItemStack p_345233_) Arrow
(Level p_36866_, LivingEntity p_345746_, ItemStack p_309200_, ItemStack p_345461_) DragonFireball
(EntityType<? extends DragonFireball> p_36892_, Level p_36893_) DragonFireball
(Level p_36903_, LivingEntity p_36904_, Vec3 p_347512_) EvokerFangs
(EntityType<? extends EvokerFangs> p_36923_, Level p_36924_) EvokerFangs
(Level p_36926_, double p_36927_, double p_36928_, double p_36929_, float p_36930_, int p_36931_, LivingEntity p_36932_) EyeOfEnder
(EntityType<? extends EyeOfEnder> p_36957_, Level p_36958_) EyeOfEnder
(Level p_36960_, double p_36961_, double p_36962_, double p_36963_) Fireball
(EntityType<? extends Fireball> p_36990_, double p_36991_, double p_36992_, double p_36993_, Vec3 p_347521_, Level p_36997_) Fireball
(EntityType<? extends Fireball> p_36999_, LivingEntity p_37000_, Vec3 p_347671_, Level p_37004_) Fireball
(EntityType<? extends Fireball> p_37006_, Level p_37007_) FireworkRocketEntity
(EntityType<? extends FireworkRocketEntity> p_37027_, Level p_37028_) FireworkRocketEntity
(Level p_37030_, double p_37031_, double p_37032_, double p_37033_, ItemStack p_37034_) FireworkRocketEntity
(Level p_37036_, Entity p_37037_, double p_37038_, double p_37039_, double p_37040_, ItemStack p_37041_) FireworkRocketEntity
(Level p_37043_, ItemStack p_37044_, double p_37045_, double p_37046_, double p_37047_, boolean p_37048_) FireworkRocketEntity
(Level p_37050_, ItemStack p_37051_, Entity p_37052_, double p_37053_, double p_37054_, double p_37055_, boolean p_37056_) FireworkRocketEntity
(Level p_37058_, ItemStack p_37059_, LivingEntity p_37060_) FishingHook
(EntityType<? extends FishingHook> p_150138_, Level p_150139_) private
FishingHook
(EntityType<? extends FishingHook> p_150141_, Level p_150142_, int p_150143_, int p_150144_) FishingHook
(Player p_37106_, Level p_37107_, int p_37108_, int p_37109_) LargeFireball
(EntityType<? extends LargeFireball> p_37199_, Level p_37200_) LargeFireball
(Level p_181151_, LivingEntity p_181152_, Vec3 p_347580_, int p_181156_) LlamaSpit
(EntityType<? extends LlamaSpit> p_37224_, Level p_37225_) protected
Projectile
(EntityType<? extends Projectile> p_37248_, Level p_37249_) ShulkerBullet
(EntityType<? extends ShulkerBullet> p_37319_, Level p_37320_) ShulkerBullet
(Level p_37330_, LivingEntity p_37331_, Entity p_37332_, Direction.Axis p_37333_) SmallFireball
(EntityType<? extends SmallFireball> p_37364_, Level p_37365_) SmallFireball
(Level p_37367_, double p_37368_, double p_37369_, double p_37370_, Vec3 p_347543_) SmallFireball
(Level p_37375_, LivingEntity p_37376_, Vec3 p_347501_) Snowball
(EntityType<? extends Snowball> p_37391_, Level p_37392_) Snowball
(Level p_37399_, LivingEntity p_37400_) SpectralArrow
(EntityType<? extends SpectralArrow> p_37411_, Level p_37412_) SpectralArrow
(Level p_37419_, double p_309044_, double p_309099_, double p_308873_, ItemStack p_308959_, ItemStack p_345907_) SpectralArrow
(Level p_37414_, LivingEntity p_309162_, ItemStack p_309167_, ItemStack p_346408_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37432_, double p_37433_, double p_37434_, double p_37435_, Level p_37436_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37438_, LivingEntity p_37439_, Level p_37440_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37442_, Level p_37443_) protected
ThrowableProjectile
(EntityType<? extends ThrowableProjectile> p_37456_, double p_37457_, double p_37458_, double p_37459_, Level p_37460_) protected
ThrowableProjectile
(EntityType<? extends ThrowableProjectile> p_37462_, LivingEntity p_37463_, Level p_37464_) protected
ThrowableProjectile
(EntityType<? extends ThrowableProjectile> p_37466_, Level p_37467_) ThrownEgg
(EntityType<? extends ThrownEgg> p_37473_, Level p_37474_) ThrownEgg
(Level p_37481_, LivingEntity p_37482_) ThrownEnderpearl
(EntityType<? extends ThrownEnderpearl> p_37491_, Level p_37492_) ThrownEnderpearl
(Level p_37499_, LivingEntity p_37500_) ThrownExperienceBottle
(EntityType<? extends ThrownExperienceBottle> p_37510_, Level p_37511_) ThrownExperienceBottle
(Level p_37513_, double p_37514_, double p_37515_, double p_37516_) ThrownExperienceBottle
(Level p_37518_, LivingEntity p_37519_) ThrownPotion
(EntityType<? extends ThrownPotion> p_37527_, Level p_37528_) ThrownPotion
(Level p_37530_, double p_37531_, double p_37532_, double p_37533_) ThrownPotion
(Level p_37535_, LivingEntity p_37536_) ThrownTrident
(EntityType<? extends ThrownTrident> p_37561_, Level p_37562_) ThrownTrident
(Level p_338686_, double p_338771_, double p_338674_, double p_338477_, ItemStack p_338255_) ThrownTrident
(Level p_37569_, LivingEntity p_37570_, ItemStack p_37571_) WitherSkull
(EntityType<? extends WitherSkull> p_37598_, Level p_37599_) WitherSkull
(Level p_37609_, LivingEntity p_37610_, Vec3 p_347464_) -
Uses of Level in net.minecraft.world.entity.projectile.windcharge
ModifierConstructorDescription(package private)
AbstractWindCharge
(EntityType<? extends AbstractWindCharge> p_326232_, double p_326236_, double p_326440_, double p_326413_, Vec3 p_347459_, Level p_326449_) AbstractWindCharge
(EntityType<? extends AbstractWindCharge> p_325927_, Level p_326350_) AbstractWindCharge
(EntityType<? extends AbstractWindCharge> p_326427_, Level p_325931_, Entity p_325997_, double p_326275_, double p_325936_, double p_326369_) BreezeWindCharge
(EntityType<? extends AbstractWindCharge> p_326366_, Level p_325976_) BreezeWindCharge
(Breeze p_326239_, Level p_326041_) WindCharge
(EntityType<? extends AbstractWindCharge> p_326226_, Level p_326464_) WindCharge
(Player p_326044_, Level p_326101_, double p_326183_, double p_326157_, double p_325928_) WindCharge
(Level p_326007_, double p_326331_, double p_326001_, double p_325990_, Vec3 p_347497_) -
Uses of Level in net.minecraft.world.entity.raid
ModifierConstructorDescriptionprotected
Raider
(EntityType<? extends Raider> p_37839_, Level p_37840_) -
Uses of Level in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptiondefault void
ContainerEntity.chestVehicleDestroyed
(DamageSource p_219928_, Level p_219929_, Entity p_219930_) private Runnable
MinecartSpawner.createTicker
(Level p_150335_) ModifierConstructorDescriptionprotected
AbstractMinecart
(EntityType<?> p_38087_, Level p_38088_) protected
AbstractMinecart
(EntityType<?> p_38090_, Level p_38091_, double p_38092_, double p_38093_, double p_38094_) protected
AbstractMinecartContainer
(EntityType<?> p_38207_, double p_38208_, double p_38209_, double p_38210_, Level p_38211_) protected
AbstractMinecartContainer
(EntityType<?> p_38213_, Level p_38214_) Boat
(EntityType<? extends Boat> p_38290_, Level p_38291_) ChestBoat
(EntityType<? extends Boat> p_219869_, Level p_219870_) Minecart
(EntityType<?> p_38470_, Level p_38471_) MinecartChest
(EntityType<? extends MinecartChest> p_38487_, Level p_38488_) MinecartChest
(Level p_38490_, double p_38491_, double p_38492_, double p_38493_) MinecartCommandBlock
(EntityType<? extends MinecartCommandBlock> p_38509_, Level p_38510_) MinecartCommandBlock
(Level p_38512_, double p_38513_, double p_38514_, double p_38515_) MinecartFurnace
(EntityType<? extends MinecartFurnace> p_38552_, Level p_38553_) MinecartFurnace
(Level p_38555_, double p_38556_, double p_38557_, double p_38558_) MinecartHopper
(EntityType<? extends MinecartHopper> p_38584_, Level p_38585_) MinecartHopper
(Level p_38587_, double p_38588_, double p_38589_, double p_38590_) MinecartSpawner
(EntityType<? extends MinecartSpawner> p_38623_, Level p_38624_) MinecartSpawner
(Level p_38626_, double p_38627_, double p_38628_, double p_38629_) MinecartTNT
(EntityType<? extends MinecartTNT> p_38649_, Level p_38650_) MinecartTNT
(Level p_38652_, double p_38653_, double p_38654_, double p_38655_) VehicleEntity
(EntityType<?> p_306130_, Level p_306167_) -
Uses of Level in net.minecraft.world.inventory
Modifier and TypeFieldDescriptionprotected final Level
AbstractFurnaceMenu.level
private final Level
SmithingMenu.level
private final Level
StonecutterMenu.level
Modifier and TypeMethodDescriptionstatic ContainerLevelAccess
default boolean
RecipeCraftingHolder.setRecipeUsed
(Level p_300930_, ServerPlayer p_301242_, RecipeHolder<?> p_301296_) protected static void
CraftingMenu.slotChangedCraftingGrid
(AbstractContainerMenu p_150547_, Level p_150548_, Player p_150549_, CraftingContainer p_150550_, ResultContainer p_150551_, RecipeHolder<CraftingRecipe> p_345124_) Modifier and TypeMethodDescription<T> Optional
<T> ContainerLevelAccess.evaluate
(BiFunction<Level, BlockPos, T> p_39298_) default <T> T
ContainerLevelAccess.evaluate
(BiFunction<Level, BlockPos, T> p_39300_, T p_39301_) default void
ContainerLevelAccess.execute
(BiConsumer<Level, BlockPos> p_39293_) -
Uses of Level in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic boolean
BoneMealItem.applyBonemeal
(ItemStack p_40628_, Level p_40629_, BlockPos p_40630_, Player player) ArrowItem.asProjectile
(Level p_338330_, Position p_338329_, ItemStack p_338197_, Direction p_338469_) EggItem.asProjectile
(Level p_338884_, Position p_338312_, ItemStack p_338704_, Direction p_338366_) ExperienceBottleItem.asProjectile
(Level p_338868_, Position p_338766_, ItemStack p_338321_, Direction p_338772_) FireChargeItem.asProjectile
(Level p_338826_, Position p_338780_, ItemStack p_338320_, Direction p_338841_) FireworkRocketItem.asProjectile
(Level p_338390_, Position p_338574_, ItemStack p_338487_, Direction p_338368_) ProjectileItem.asProjectile
(Level p_338867_, Position p_338379_, ItemStack p_338543_, Direction p_338380_) SnowballItem.asProjectile
(Level p_338685_, Position p_338637_, ItemStack p_338820_, Direction p_338856_) SpectralArrowItem.asProjectile
(Level p_338332_, Position p_338313_, ItemStack p_338304_, Direction p_338842_) ThrowablePotionItem.asProjectile
(Level p_338465_, Position p_338661_, ItemStack p_338506_, Direction p_338517_) TridentItem.asProjectile
(Level p_338505_, Position p_338277_, ItemStack p_338353_, Direction p_338220_) WindChargeItem.asProjectile
(Level p_338589_, Position p_338670_, ItemStack p_338308_, Direction p_338206_) static InteractionResult
LeadItem.bindPlayerMobs
(Player p_42830_, Level p_42831_, BlockPos p_42832_) boolean
DebugStickItem.canAttackBlock
(BlockState p_40962_, Level p_40963_, BlockPos p_40964_, Player p_40965_) boolean
Item.canAttackBlock
(BlockState p_41441_, Level p_41442_, BlockPos p_41443_, Player p_41444_) boolean
MaceItem.canAttackBlock
(BlockState p_333875_, Level p_333847_, BlockPos p_334073_, Player p_334042_) boolean
SwordItem.canAttackBlock
(BlockState p_43291_, Level p_43292_, BlockPos p_43293_, Player p_43294_) boolean
TridentItem.canAttackBlock
(BlockState p_43409_, Level p_43410_, BlockPos p_43411_, Player p_43412_) protected boolean
BucketItem.canBlockContainFluid
(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) void
BucketItem.checkExtraContent
(Player p_150711_, Level p_150712_, ItemStack p_150713_, BlockPos p_150714_) default void
DispensibleContainerItem.checkExtraContent
(Player p_150817_, Level p_150818_, ItemStack p_150819_, BlockPos p_150820_) void
MobBucketItem.checkExtraContent
(Player p_151146_, Level p_151147_, ItemStack p_151148_, BlockPos p_151149_) static ItemStack
MapItem.create
(Level p_42887_, int p_42888_, int p_42889_, byte p_42890_, boolean p_42891_, boolean p_42892_) ArrowItem.createArrow
(Level p_40513_, ItemStack p_40514_, LivingEntity p_40515_, ItemStack p_344832_) SpectralArrowItem.createArrow
(Level p_43237_, ItemStack p_43238_, LivingEntity p_43239_, ItemStack p_345773_) private static MapId
MapItem.createNewSavedData
(Level p_151121_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, ResourceKey<Level> p_151127_) protected Projectile
CrossbowItem.createProjectile
(Level p_331583_, LivingEntity p_40863_, ItemStack p_40864_, ItemStack p_40865_, boolean p_40866_) protected Projectile
ProjectileWeaponItem.createProjectile
(Level p_331008_, LivingEntity p_330781_, ItemStack p_330846_, ItemStack p_331497_, boolean p_331305_) boolean
BucketItem.emptyContents
(Player p_150716_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_) Deprecated.boolean
BucketItem.emptyContents
(Player p_150716_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_, ItemStack container) boolean
DispensibleContainerItem.emptyContents
(Player p_150821_, Level p_150822_, BlockPos p_150823_, BlockHitResult p_150824_) Deprecated.boolean
SolidBucketItem.emptyContents
(Player p_151192_, Level p_151193_, BlockPos p_151194_, BlockHitResult p_151195_) private Optional
<BlockState> AxeItem.evaluateNewBlockState
(Level p_308922_, BlockPos p_308899_, Player p_309192_, BlockState p_308900_, UseOnContext p_40529_) ChorusFruitItem.finishUsingItem
(ItemStack p_40712_, Level p_40713_, LivingEntity p_40714_) HoneyBottleItem.finishUsingItem
(ItemStack p_41348_, Level p_41349_, LivingEntity p_41350_) Item.finishUsingItem
(ItemStack p_41409_, Level p_41410_, LivingEntity p_41411_) ItemStack.finishUsingItem
(Level p_41672_, LivingEntity p_41673_) MilkBucketItem.finishUsingItem
(ItemStack p_42923_, Level p_42924_, LivingEntity p_42925_) OminousBottleItem.finishUsingItem
(ItemStack p_338871_, Level p_338693_, LivingEntity p_338370_) PotionItem.finishUsingItem
(ItemStack p_42984_, Level p_42985_, LivingEntity p_42986_) SpyglassItem.finishUsingItem
(ItemStack p_151209_, Level p_151210_, LivingEntity p_151211_) SuspiciousStewItem.finishUsingItem
(ItemStack p_43263_, Level p_43264_, LivingEntity p_43265_) private Boat
private BlockState
MapItem.getCorrectStateForFluidBlock
(Level p_42901_, BlockState p_42902_, BlockPos p_42903_) protected MapItemSavedData
MapItem.getCustomMapData
(ItemStack p_42854_, Level p_42855_) protected SoundEvent
BlockItem.getPlaceSound
(BlockState state, Level world, BlockPos pos, Player entity) protected static BlockHitResult
Item.getPlayerPOVHitResult
(Level p_41436_, Player p_41437_, ClipContext.Fluid p_41438_) static MapItemSavedData
MapItem.getSavedData
(ItemStack p_42854_, Level p_42855_) static MapItemSavedData
MapItem.getSavedData
(MapId p_324036_, Level p_151130_) static GlobalPos
CompassItem.getSpawnPosition
(Level p_220020_) Packet
<?> ComplexItem.getUpdatePacket
(ItemStack p_40744_, Level p_40745_, Player p_40746_) Packet
<?> MapItem.getUpdatePacket
(ItemStack p_42876_, Level p_42877_, Player p_42878_) static boolean
Deprecated.static boolean
BoneMealItem.growWaterPlant
(ItemStack p_40632_, Level p_40633_, BlockPos p_40634_, Direction p_40635_) void
CompassItem.inventoryTick
(ItemStack p_40720_, Level p_40721_, Entity p_40722_, int p_40723_, boolean p_40724_) void
Item.inventoryTick
(ItemStack p_41404_, Level p_41405_, Entity p_41406_, int p_41407_, boolean p_41408_) void
ItemStack.inventoryTick
(Level p_41667_, Entity p_41668_, int p_41669_, boolean p_41670_) void
MapItem.inventoryTick
(ItemStack p_42870_, Level p_42871_, Entity p_42872_, int p_42873_, boolean p_42874_) private static void
LeadItem.leashableInArea
(Level p_353033_, BlockPos p_353031_, Predicate<Leashable> p_353062_) static void
boolean
Item.mineBlock
(ItemStack p_41416_, Level p_41417_, BlockState p_41418_, BlockPos p_41419_, LivingEntity p_41420_) void
ItemStack.mineBlock
(Level p_41687_, BlockState p_41688_, BlockPos p_41689_, Player p_41690_) boolean
ShearsItem.mineBlock
(ItemStack p_43078_, Level p_43079_, BlockState p_43080_, BlockPos p_43081_, LivingEntity p_43082_) static Item.TooltipContext
void
Item.onCraftedBy
(ItemStack p_41447_, Level p_41448_, Player p_41449_) void
ItemStack.onCraftedBy
(Level p_41679_, Player p_41680_, int p_41681_) void
ItemStack.onCraftedBySystem
(Level p_307669_) void
Item.onCraftedPostProcess
(ItemStack p_307483_, Level p_307537_) void
MapItem.onCraftedPostProcess
(ItemStack p_42913_, Level p_42914_) void
BrushItem.onUseTick
(Level p_273467_, LivingEntity p_273619_, ItemStack p_273316_, int p_273101_) void
CrossbowItem.onUseTick
(Level p_40910_, LivingEntity p_40911_, ItemStack p_40912_, int p_40913_) void
Item.onUseTick
(Level p_41428_, LivingEntity p_41429_, ItemStack p_41430_, int p_41431_) void
ItemStack.onUseTick
(Level p_41732_, LivingEntity p_41733_, int p_41734_) void
CrossbowItem.performShooting
(Level p_40888_, LivingEntity p_40889_, InteractionHand p_40890_, ItemStack p_40891_, float p_40892_, float p_40893_, LivingEntity p_331602_) private static void
InstrumentItem.play
(Level p_220127_, Player p_220128_, Instrument p_220129_) private void
void
BowItem.releaseUsing
(ItemStack p_40667_, Level p_40668_, LivingEntity p_40669_, int p_40670_) void
CrossbowItem.releaseUsing
(ItemStack p_40875_, Level p_40876_, LivingEntity p_40877_, int p_40878_) void
Item.releaseUsing
(ItemStack p_41412_, Level p_41413_, LivingEntity p_41414_, int p_41415_) void
ItemStack.releaseUsing
(Level p_41675_, LivingEntity p_41676_, int p_41677_) void
SpyglassItem.releaseUsing
(ItemStack p_151213_, Level p_151214_, LivingEntity p_151215_, int p_151216_) void
TridentItem.releaseUsing
(ItemStack p_43394_, Level p_43395_, LivingEntity p_43396_, int p_43397_) private static void
private void
BrushItem.spawnDustParticles
(Level p_278327_, BlockHitResult p_278272_, BlockState p_278235_, Vec3 p_278337_, HumanoidArm p_285071_) static InteractionResultHolder
<ItemStack> ItemUtils.startUsingInstantly
(Level p_150960_, Player p_150961_, InteractionHand p_150962_) default InteractionResultHolder
<ItemStack> Equipable.swapWithEquipmentSlot
(Item p_270453_, Level p_270395_, Player p_270300_, InteractionHand p_270262_) boolean
DyeItem.tryApplyToSign
(Level p_277691_, SignBlockEntity p_277488_, boolean p_277951_, Player p_277932_) boolean
GlowInkSacItem.tryApplyToSign
(Level p_278089_, SignBlockEntity p_277706_, boolean p_277442_, Player p_277983_) boolean
HoneycombItem.tryApplyToSign
(Level p_277838_, SignBlockEntity p_277988_, boolean p_277394_, Player p_277816_) boolean
InkSacItem.tryApplyToSign
(Level p_277633_, SignBlockEntity p_277698_, boolean p_277634_, Player p_277815_) boolean
SignApplicator.tryApplyToSign
(Level p_277619_, SignBlockEntity p_277811_, boolean p_277484_, Player p_277362_) static ItemInteractionResult
JukeboxPlayable.tryInsertIntoJukebox
(Level p_350560_, BlockPos p_350567_, ItemStack p_350531_, Player p_350807_) void
MapItem.update
(Level p_42894_, Entity p_42895_, MapItemSavedData p_42896_) private static void
BlockItem.updateBlockEntityComponents
(Level p_331559_, BlockPos p_331993_, ItemStack p_332021_) private BlockState
BlockItem.updateBlockStateFromTag
(BlockPos p_40603_, Level p_40604_, ItemStack p_40605_, BlockState p_40606_) protected boolean
BlockItem.updateCustomBlockEntityTag
(BlockPos p_40597_, Level p_40598_, Player p_40599_, ItemStack p_40600_, BlockState p_40601_) static boolean
BlockItem.updateCustomBlockEntityTag
(Level p_40583_, Player p_40584_, BlockPos p_40585_, ItemStack p_40586_) protected boolean
SignItem.updateCustomBlockEntityTag
(BlockPos p_43130_, Level p_43131_, Player p_43132_, ItemStack p_43133_, BlockState p_43134_) ArmorItem.use
(Level p_40395_, Player p_40396_, InteractionHand p_40397_) BoatItem.use
(Level p_40622_, Player p_40623_, InteractionHand p_40624_) BottleItem.use
(Level p_40656_, Player p_40657_, InteractionHand p_40658_) BowItem.use
(Level p_40672_, Player p_40673_, InteractionHand p_40674_) BucketItem.use
(Level p_40703_, Player p_40704_, InteractionHand p_40705_) BundleItem.use
(Level p_150760_, Player p_150761_, InteractionHand p_150762_) CrossbowItem.use
(Level p_40920_, Player p_40921_, InteractionHand p_40922_) EggItem.use
(Level p_41128_, Player p_41129_, InteractionHand p_41130_) ElytraItem.use
(Level p_41137_, Player p_41138_, InteractionHand p_41139_) EmptyMapItem.use
(Level p_41145_, Player p_41146_, InteractionHand p_41147_) EnderEyeItem.use
(Level p_41184_, Player p_41185_, InteractionHand p_41186_) EnderpearlItem.use
(Level p_41190_, Player p_41191_, InteractionHand p_41192_) ExperienceBottleItem.use
(Level p_41196_, Player p_41197_, InteractionHand p_41198_) FireworkRocketItem.use
(Level p_41218_, Player p_41219_, InteractionHand p_41220_) FishingRodItem.use
(Level p_41290_, Player p_41291_, InteractionHand p_41292_) FoodOnAStickItem.use
(Level p_41314_, Player p_41315_, InteractionHand p_41316_) HoneyBottleItem.use
(Level p_41352_, Player p_41353_, InteractionHand p_41354_) InstrumentItem.use
(Level p_220123_, Player p_220124_, InteractionHand p_220125_) Item.use
(Level p_41432_, Player p_41433_, InteractionHand p_41434_) ItemStack.use
(Level p_41683_, Player p_41684_, InteractionHand p_41685_) KnowledgeBookItem.use
(Level p_42824_, Player p_42825_, InteractionHand p_42826_) LingeringPotionItem.use
(Level p_42843_, Player p_42844_, InteractionHand p_42845_) MilkBucketItem.use
(Level p_42927_, Player p_42928_, InteractionHand p_42929_) OminousBottleItem.use
(Level p_338229_, Player p_338350_, InteractionHand p_338729_) PlaceOnWaterBlockItem.use
(Level p_220231_, Player p_220232_, InteractionHand p_220233_) PotionItem.use
(Level p_42993_, Player p_42994_, InteractionHand p_42995_) ShieldItem.use
(Level p_43099_, Player p_43100_, InteractionHand p_43101_) SnowballItem.use
(Level p_43142_, Player p_43143_, InteractionHand p_43144_) SpawnEggItem.use
(Level p_43225_, Player p_43226_, InteractionHand p_43227_) SplashPotionItem.use
(Level p_43243_, Player p_43244_, InteractionHand p_43245_) SpyglassItem.use
(Level p_151218_, Player p_151219_, InteractionHand p_151220_) ThrowablePotionItem.use
(Level p_43303_, Player p_43304_, InteractionHand p_43305_) TridentItem.use
(Level p_43405_, Player p_43406_, InteractionHand p_43407_) WindChargeItem.use
(Level p_326306_, Player p_326042_, InteractionHand p_326470_) WritableBookItem.use
(Level p_43449_, Player p_43450_, InteractionHand p_43451_) WrittenBookItem.use
(Level p_43468_, Player p_43469_, InteractionHand p_43470_) Modifier and TypeMethodDescriptionprivate static MapId
MapItem.createNewSavedData
(Level p_151121_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, ResourceKey<Level> p_151127_) -
Uses of Level in net.minecraft.world.item.context
ModifierConstructorDescriptionBlockPlaceContext
(Level p_43638_, Player p_43639_, InteractionHand p_43640_, ItemStack p_43641_, BlockHitResult p_43642_) DirectionalPlaceContext
(Level p_43650_, BlockPos p_43651_, Direction p_43652_, ItemStack p_43653_, Direction p_43654_) UseOnContext
(Level p_43713_, Player p_43714_, InteractionHand p_43715_, ItemStack p_43716_, BlockHitResult p_43717_) -
Uses of Level in net.minecraft.world.item.crafting
Modifier and TypeMethodDescriptionprivate Optional
<RecipeHolder<CraftingRecipe>> RecipeCache.compute
(CraftingInput p_345136_, Level p_307202_) RecipeCache.get
(Level p_307315_, CraftingInput p_345726_) RecipeManager.CachedCheck.getRecipeFor
(I p_344938_, Level p_220281_) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor
(RecipeType<T> p_44016_, I p_345492_, Level p_44018_) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor
(RecipeType<T> p_345895_, I p_345268_, Level p_346336_, ResourceLocation p_346260_) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor
(RecipeType<T> p_220249_, I p_345826_, Level p_220251_, RecipeHolder<T> p_346407_) <I extends RecipeInput,
T extends Recipe<I>>
List<RecipeHolder<T>> RecipeManager.getRecipesFor
(RecipeType<T> p_44057_, I p_346353_, Level p_44059_) <I extends RecipeInput,
T extends Recipe<I>>
NonNullList<ItemStack> RecipeManager.getRemainingItemsFor
(RecipeType<T> p_44070_, I p_345118_, Level p_44072_) boolean
AbstractCookingRecipe.matches
(SingleRecipeInput p_344849_, Level p_345973_) boolean
ArmorDyeRecipe.matches
(CraftingInput p_344736_, Level p_43770_) boolean
BannerDuplicateRecipe.matches
(CraftingInput p_346043_, Level p_43786_) boolean
BookCloningRecipe.matches
(CraftingInput p_345586_, Level p_43815_) boolean
DecoratedPotRecipe.matches
(CraftingInput p_344915_, Level p_272812_) boolean
FireworkRocketRecipe.matches
(CraftingInput p_345559_, Level p_43855_) boolean
FireworkStarFadeRecipe.matches
(CraftingInput p_346021_, Level p_43874_) boolean
FireworkStarRecipe.matches
(CraftingInput p_344993_, Level p_43896_) boolean
MapCloningRecipe.matches
(CraftingInput p_345914_, Level p_43981_) boolean
MapExtendingRecipe.matches
(CraftingInput p_345101_, Level p_43994_) boolean
boolean
RepairItemRecipe.matches
(CraftingInput p_345243_, Level p_44139_) boolean
ShapedRecipe.matches
(CraftingInput p_345040_, Level p_44167_) boolean
ShapelessRecipe.matches
(CraftingInput p_346123_, Level p_44263_) boolean
ShieldDecorationRecipe.matches
(CraftingInput p_344969_, Level p_44309_) boolean
ShulkerBoxColoring.matches
(CraftingInput p_345624_, Level p_44325_) boolean
SmithingTransformRecipe.matches
(SmithingRecipeInput p_346359_, Level p_266781_) boolean
SmithingTrimRecipe.matches
(SmithingRecipeInput p_346082_, Level p_345460_) boolean
StonecutterRecipe.matches
(SingleRecipeInput p_344927_, Level p_345392_) boolean
SuspiciousStewRecipe.matches
(CraftingInput p_345878_, Level p_44500_) boolean
TippedArrowRecipe.matches
(CraftingInput p_345143_, Level p_44516_) private void
RecipeCache.validateRecipeManager
(Level p_307638_) -
Uses of Level in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final Level
Explosion.level
protected final Level
PathNavigationRegion.level
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> Level.dimension
static final ResourceKey
<Level> Level.END
static final ResourceKey
<Level> Level.NETHER
static final ResourceKey
<Level> Level.OVERWORLD
static final com.mojang.serialization.Codec
<ResourceKey<Level>> Level.RESOURCE_KEY_CODEC
Modifier and TypeMethodDescriptionabstract void
BaseSpawner.broadcastEvent
(Level p_151322_, BlockPos p_151323_, int p_151324_) void
BaseSpawner.clientTick
(Level p_151320_, BlockPos p_151321_) private void
static DamageSource
Explosion.getDefaultDamageSource
(Level p_312716_, Entity p_312608_) BaseSpawner.getOrCreateDisplayEntity
(Level p_254323_, BlockPos p_254313_) private SpawnData
BaseSpawner.getOrCreateNextSpawnData
(Level p_254503_, RandomSource p_253892_, BlockPos p_254487_) private static BlockPos
NaturalSpawner.getRandomPosWithin
(Level p_47063_, LevelChunk p_47064_) private boolean
BaseSpawner.isNearPlayer
(Level p_151344_, BlockPos p_151345_) void
BaseSpawner.load
(Level p_151329_, BlockPos p_151330_, CompoundTag p_151331_) boolean
BaseSpawner.onEventTriggered
(Level p_151317_, int p_151318_) boolean
BaseCommandBlock.performCommand
(Level p_45415_) void
BaseSpawner.setEntityId
(EntityType<?> p_253682_, Level p_254041_, RandomSource p_254221_, BlockPos p_254050_) protected void
BaseSpawner.setNextSpawnData
(Level p_151325_, BlockPos p_151326_, SpawnData p_151327_) ModifierConstructorDescriptionExplosion
(Level p_46032_, Entity p_46033_, double p_46034_, double p_46035_, double p_46036_, float p_46037_, boolean p_46038_, Explosion.BlockInteraction p_46039_) Explosion
(Level p_46041_, Entity p_46042_, double p_46043_, double p_46044_, double p_46045_, float p_46046_, boolean p_46047_, Explosion.BlockInteraction p_46048_, List<BlockPos> p_46049_) Explosion
(Level p_46051_, Entity p_46052_, double p_46055_, double p_46056_, double p_46057_, float p_46058_, List<BlockPos> p_312600_, Explosion.BlockInteraction p_46060_, ParticleOptions p_312560_, ParticleOptions p_312844_, Holder<SoundEvent> p_320054_) Explosion
(Level p_46024_, Entity p_46025_, DamageSource p_312268_, ExplosionDamageCalculator p_312205_, double p_46026_, double p_46027_, double p_46028_, float p_46029_, boolean p_312333_, Explosion.BlockInteraction p_312294_, ParticleOptions p_312158_, ParticleOptions p_311904_, Holder<SoundEvent> p_320270_) PathNavigationRegion
(Level p_47164_, BlockPos p_47165_, BlockPos p_47166_) ModifierConstructorDescriptionprotected
Level
(WritableLevelData p_270739_, ResourceKey<Level> p_270683_, RegistryAccess p_270200_, Holder<DimensionType> p_270240_, Supplier<ProfilerFiller> p_270692_, boolean p_270904_, boolean p_270470_, long p_270248_, int p_270466_) -
Uses of Level in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionvoid
SculkSensorBlock.activate
(Entity p_277529_, Level p_277340_, BlockPos p_277386_, BlockState p_277799_, int p_277993_, int p_278003_) private static void
ChiseledBookShelfBlock.addBook
(Level p_262592_, BlockPos p_262669_, Player p_262572_, ChiseledBookShelfBlockEntity p_262606_, ItemStack p_262587_, int p_262692_) private static void
AbstractCandleBlock.addParticlesAndSound
(Level p_220688_, Vec3 p_220689_, RandomSource p_220690_) private void
BeehiveBlock.angerNearbyBees
(Level p_49650_, BlockPos p_49651_) void
AbstractCandleBlock.animateTick
(BlockState p_220697_, Level p_220698_, BlockPos p_220699_, RandomSource p_220700_) void
BaseFireBlock.animateTick
(BlockState p_220763_, Level p_220764_, BlockPos p_220765_, RandomSource p_220766_) void
BeehiveBlock.animateTick
(BlockState p_220773_, Level p_220774_, BlockPos p_220775_, RandomSource p_220776_) void
BlastFurnaceBlock.animateTick
(BlockState p_220818_, Level p_220819_, BlockPos p_220820_, RandomSource p_220821_) void
Block.animateTick
(BlockState p_220827_, Level p_220828_, BlockPos p_220829_, RandomSource p_220830_) void
BrewingStandBlock.animateTick
(BlockState p_220883_, Level p_220884_, BlockPos p_220885_, RandomSource p_220886_) void
BrushableBlock.animateTick
(BlockState p_277390_, Level p_277525_, BlockPos p_278107_, RandomSource p_277574_) void
BubbleColumnBlock.animateTick
(BlockState p_220893_, Level p_220894_, BlockPos p_220895_, RandomSource p_220896_) void
CampfireBlock.animateTick
(BlockState p_220918_, Level p_220919_, BlockPos p_220920_, RandomSource p_220921_) void
CherryLeavesBlock.animateTick
(BlockState p_272714_, Level p_272837_, BlockPos p_273218_, RandomSource p_273360_) void
CryingObsidianBlock.animateTick
(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) void
EnchantingTableBlock.animateTick
(BlockState p_341263_, Level p_341303_, BlockPos p_340983_, RandomSource p_341147_) void
EnderChestBlock.animateTick
(BlockState p_221117_, Level p_221118_, BlockPos p_221119_, RandomSource p_221120_) void
EndGatewayBlock.animateTick
(BlockState p_221097_, Level p_221098_, BlockPos p_221099_, RandomSource p_221100_) void
EndPortalBlock.animateTick
(BlockState p_221102_, Level p_221103_, BlockPos p_221104_, RandomSource p_221105_) void
EndRodBlock.animateTick
(BlockState p_221107_, Level p_221108_, BlockPos p_221109_, RandomSource p_221110_) void
FallingBlock.animateTick
(BlockState p_221129_, Level p_221130_, BlockPos p_221131_, RandomSource p_221132_) void
FurnaceBlock.animateTick
(BlockState p_221253_, Level p_221254_, BlockPos p_221255_, RandomSource p_221256_) void
LeavesBlock.animateTick
(BlockState p_221374_, Level p_221375_, BlockPos p_221376_, RandomSource p_221377_) void
LeverBlock.animateTick
(BlockState p_221395_, Level p_221396_, BlockPos p_221397_, RandomSource p_221398_) void
LightningRodBlock.animateTick
(BlockState p_221405_, Level p_221406_, BlockPos p_221407_, RandomSource p_221408_) void
MyceliumBlock.animateTick
(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) void
NetherPortalBlock.animateTick
(BlockState p_221794_, Level p_221795_, BlockPos p_221796_, RandomSource p_221797_) void
PointedDripstoneBlock.animateTick
(BlockState p_221870_, Level p_221871_, BlockPos p_221872_, RandomSource p_221873_) void
RedStoneOreBlock.animateTick
(BlockState p_221913_, Level p_221914_, BlockPos p_221915_, RandomSource p_221916_) void
RedstoneTorchBlock.animateTick
(BlockState p_221954_, Level p_221955_, BlockPos p_221956_, RandomSource p_221957_) void
RedstoneWallTorchBlock.animateTick
(BlockState p_221959_, Level p_221960_, BlockPos p_221961_, RandomSource p_221962_) void
RedStoneWireBlock.animateTick
(BlockState p_221932_, Level p_221933_, BlockPos p_221934_, RandomSource p_221935_) void
RepeaterBlock.animateTick
(BlockState p_221964_, Level p_221965_, BlockPos p_221966_, RandomSource p_221967_) void
RespawnAnchorBlock.animateTick
(BlockState p_221969_, Level p_221970_, BlockPos p_221971_, RandomSource p_221972_) void
SculkSensorBlock.animateTick
(BlockState p_222148_, Level p_222149_, BlockPos p_222150_, RandomSource p_222151_) void
SmokerBlock.animateTick
(BlockState p_222443_, Level p_222444_, BlockPos p_222445_, RandomSource p_222446_) void
SporeBlossomBlock.animateTick
(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) void
TorchBlock.animateTick
(BlockState p_222593_, Level p_222594_, BlockPos p_222595_, RandomSource p_222596_) void
WallTorchBlock.animateTick
(BlockState p_222660_, Level p_222661_, BlockPos p_222662_, RandomSource p_222663_) void
WetSpongeBlock.animateTick
(BlockState p_222682_, Level p_222683_, BlockPos p_222684_, RandomSource p_222685_) void
WitherRoseBlock.animateTick
(BlockState p_222687_, Level p_222688_, BlockPos p_222689_, RandomSource p_222690_) protected void
DragonEggBlock.attack
(BlockState p_52918_, Level p_52919_, BlockPos p_52920_, Player p_52921_) protected void
NoteBlock.attack
(BlockState p_55029_, Level p_55030_, BlockPos p_55031_, Player p_55032_) protected void
RedStoneOreBlock.attack
(BlockState p_55467_, Level p_55468_, BlockPos p_55469_, Player p_55470_) boolean
BellBlock.attemptToRing
(Entity p_152189_, Level p_152190_, BlockPos p_152191_, Direction p_152192_) boolean
BellBlock.attemptToRing
(Level p_49713_, BlockPos p_49714_, Direction p_49715_) private int
ComparatorBlock.calculateOutputSignal
(Level p_51904_, BlockPos p_51905_, BlockState p_51906_) static void
TripWireHookBlock.calculateState
(Level p_57686_, BlockPos p_57687_, BlockState p_57688_, boolean p_57689_, boolean p_57690_, int p_57691_, BlockState p_57692_) private int
RedStoneWireBlock.calculateTargetStrength
(Level p_55528_, BlockPos p_55529_) static boolean
BaseFireBlock.canBePlacedAt
(Level p_49256_, BlockPos p_49257_, Direction p_49258_) private boolean
TurtleEggBlock.canDestroyEgg
(Level p_57768_, Entity p_57769_) private static boolean
ShulkerBoxBlock.canOpen
(BlockState p_154547_, Level p_154548_, BlockPos p_154549_, ShulkerBoxBlockEntity p_154550_) static boolean
BedBlock.canSetSpawn
(Level p_49489_) static boolean
RespawnAnchorBlock.canSetSpawn
(Level p_55851_) static boolean
WitherSkullBlock.canSpawnMob
(Level p_58268_, BlockPos p_58269_, ItemStack p_58270_) private static void
LecternBlock.changePowered
(Level p_54554_, BlockPos p_54555_, BlockState p_54556_, boolean p_54557_) static void
RespawnAnchorBlock.charge
(Entity p_270997_, Level p_270172_, BlockPos p_270534_, BlockState p_270661_) private void
FireBlock.checkBurnOut
(Level p_221151_, BlockPos p_221152_, int p_221153_, RandomSource p_221154_, int p_221155_, Direction face) private void
RedStoneWireBlock.checkCornerChangeAt
(Level p_55617_, BlockPos p_55618_) private void
HopperBlock.checkPoweredState
(Level p_275499_, BlockPos p_275298_, BlockState p_275611_) private void
BasePressurePlateBlock.checkPressed
(Entity p_152144_, Level p_152145_, BlockPos p_152146_, BlockState p_152147_, int p_152148_) protected void
ButtonBlock.checkPressed
(BlockState p_51121_, Level p_51122_, BlockPos p_51123_) private void
DetectorRailBlock.checkPressed
(Level p_52433_, BlockPos p_52434_, BlockState p_52435_) private void
TripWireBlock.checkPressed
(Level p_57608_, BlockPos p_57609_) static void
WitherSkullBlock.checkSpawn
(Level p_320011_, BlockPos p_320602_) static void
WitherSkullBlock.checkSpawn
(Level p_58256_, BlockPos p_58257_, SkullBlockEntity p_58258_) protected void
ComparatorBlock.checkTickOnNeighbor
(Level p_51900_, BlockPos p_51901_, BlockState p_51902_) protected void
DiodeBlock.checkTickOnNeighbor
(Level p_52577_, BlockPos p_52578_, BlockState p_52579_) static void
CarvedPumpkinBlock.clearPatternBlocks
(Level p_249604_, BlockPattern.BlockPatternMatch p_251190_) abstract DoubleBlockCombiner.NeighborCombineResult
<? extends ChestBlockEntity> AbstractChestBlock.combine
(BlockState p_48679_, Level p_48680_, BlockPos p_48681_, boolean p_48682_) ChestBlock.combine
(BlockState p_51544_, Level p_51545_, BlockPos p_51546_, boolean p_51547_) EnderChestBlock.combine
(BlockState p_53149_, Level p_53150_, BlockPos p_53151_, boolean p_53152_) protected static <T extends BlockEntity>
BlockEntityTicker<T> AbstractFurnaceBlock.createFurnaceTicker
(Level p_151988_, BlockEntityType<T> p_151989_, BlockEntityType<? extends AbstractFurnaceBlockEntity> p_151990_) static void
SculkSensorBlock.deactivate
(Level p_154408_, BlockPos p_154409_, BlockState p_154410_) private void
TurtleEggBlock.decreaseEggs
(Level p_57792_, BlockPos p_57793_, BlockState p_57794_) private void
FrogspawnBlock.destroyBlock
(Level p_221191_, BlockPos p_221192_) private void
TurtleEggBlock.destroyEgg
(Level p_154851_, BlockState p_154852_, BlockPos p_154853_, Entity p_154854_, int p_154855_) static void
BeehiveBlock.dropHoneycomb
(Level p_49601_, BlockPos p_49602_) static void
Block.dropResources
(BlockState p_49951_, Level p_49952_, BlockPos p_49953_) static void
Block.dropResources
(BlockState p_49882_, Level p_49883_, BlockPos p_49884_, BlockEntity p_49885_, Entity p_49886_, ItemStack p_49887_) private static void
TripWireHookBlock.emitState
(Level p_222603_, BlockPos p_222604_, boolean p_222605_, boolean p_222606_, boolean p_222607_, boolean p_222608_) protected void
BaseFireBlock.entityInside
(BlockState p_49260_, Level p_49261_, BlockPos p_49262_, Entity p_49263_) protected void
BasePressurePlateBlock.entityInside
(BlockState p_49314_, Level p_49315_, BlockPos p_49316_, Entity p_49317_) protected void
BigDripleafBlock.entityInside
(BlockState p_152266_, Level p_152267_, BlockPos p_152268_, Entity p_152269_) protected void
BubbleColumnBlock.entityInside
(BlockState p_50976_, Level p_50977_, BlockPos p_50978_, Entity p_50979_) protected void
ButtonBlock.entityInside
(BlockState p_51083_, Level p_51084_, BlockPos p_51085_, Entity p_51086_) protected void
CactusBlock.entityInside
(BlockState p_51148_, Level p_51149_, BlockPos p_51150_, Entity p_51151_) protected void
CampfireBlock.entityInside
(BlockState p_51269_, Level p_51270_, BlockPos p_51271_, Entity p_51272_) protected void
CropBlock.entityInside
(BlockState p_52277_, Level p_52278_, BlockPos p_52279_, Entity p_52280_) protected void
DetectorRailBlock.entityInside
(BlockState p_52458_, Level p_52459_, BlockPos p_52460_, Entity p_52461_) protected void
EndGatewayBlock.entityInside
(BlockState p_350647_, Level p_350785_, BlockPos p_350610_, Entity p_350849_) protected void
EndPortalBlock.entityInside
(BlockState p_53025_, Level p_53026_, BlockPos p_53027_, Entity p_53028_) protected void
FrogspawnBlock.entityInside
(BlockState p_221204_, Level p_221205_, BlockPos p_221206_, Entity p_221207_) protected void
HoneyBlock.entityInside
(BlockState p_54003_, Level p_54004_, BlockPos p_54005_, Entity p_54006_) protected void
HopperBlock.entityInside
(BlockState p_54066_, Level p_54067_, BlockPos p_54068_, Entity p_54069_) protected void
LavaCauldronBlock.entityInside
(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_) protected void
LayeredCauldronBlock.entityInside
(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_) protected void
NetherPortalBlock.entityInside
(BlockState p_54915_, Level p_54916_, BlockPos p_54917_, Entity p_54918_) void
PitcherCropBlock.entityInside
(BlockState p_279266_, Level p_279469_, BlockPos p_279119_, Entity p_279372_) protected void
PowderSnowBlock.entityInside
(BlockState p_154263_, Level p_154264_, BlockPos p_154265_, Entity p_154266_) protected void
SweetBerryBushBlock.entityInside
(BlockState p_57270_, Level p_57271_, BlockPos p_57272_, Entity p_57273_) protected void
TripWireBlock.entityInside
(BlockState p_57625_, Level p_57626_, BlockPos p_57627_, Entity p_57628_) protected void
WaterlilyBlock.entityInside
(BlockState p_58164_, Level p_58165_, BlockPos p_58166_, Entity p_58167_) protected void
WebBlock.entityInside
(BlockState p_58180_, Level p_58181_, BlockPos p_58182_, Entity p_58183_) protected void
WitherRoseBlock.entityInside
(BlockState p_58238_, Level p_58239_, BlockPos p_58240_, Entity p_58241_) private void
CommandBlock.execute
(BlockState p_51832_, Level p_51833_, BlockPos p_51834_, BaseCommandBlock p_51835_, boolean p_51836_) private static void
CommandBlock.executeChain
(Level p_51810_, BlockPos p_51811_, Direction p_51812_) private void
RespawnAnchorBlock.explode
(BlockState p_55891_, Level p_55892_, BlockPos p_55893_) static void
Deprecated.private static void
TntBlock.explode
(Level p_57437_, BlockPos p_57438_, LivingEntity p_57439_) Deprecated.static BlockState
ComposterBlock.extractProduce
(Entity p_270467_, BlockState p_51999_, Level p_52000_, BlockPos p_52001_) void
BedBlock.fallOn
(Level p_152169_, BlockState p_152170_, BlockPos p_152171_, Entity p_152172_, float p_152173_) void
Block.fallOn
(Level p_152426_, BlockState p_152427_, BlockPos p_152428_, Entity p_152429_, float p_152430_) void
FarmBlock.fallOn
(Level p_153227_, BlockState p_153228_, BlockPos p_153229_, Entity p_153230_, float p_153231_) void
HayBlock.fallOn
(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_) void
HoneyBlock.fallOn
(Level p_153372_, BlockState p_153373_, BlockPos p_153374_, Entity p_153375_, float p_153376_) void
PointedDripstoneBlock.fallOn
(Level p_154047_, BlockState p_154048_, BlockPos p_154049_, Entity p_154050_, float p_154051_) void
PowderSnowBlock.fallOn
(Level p_196695_, BlockState p_196696_, BlockPos p_196697_, Entity p_196698_, float p_196699_) void
SlimeBlock.fallOn
(Level p_154567_, BlockState p_154568_, BlockPos p_154569_, Entity p_154570_, float p_154571_) void
TurtleEggBlock.fallOn
(Level p_154845_, BlockState p_154846_, BlockPos p_154847_, Entity p_154848_, float p_154849_) private static BlockPos
PointedDripstoneBlock.findFillableCauldronBelowStalactiteTip
(Level p_154077_, BlockPos p_154078_, Fluid p_154079_) protected boolean
PoweredRailBlock.findPoweredRailSignal
(Level p_55220_, BlockPos p_55221_, BlockState p_55222_, boolean p_55223_, int p_55224_) PointedDripstoneBlock.findRootBlock
(Level p_154067_, BlockPos p_154068_, BlockState p_154069_, int p_154070_) static BlockPos
PointedDripstoneBlock.findStalactiteTipAboveCauldron
(Level p_154056_, BlockPos p_154057_) protected int
AbstractFurnaceBlock.getAnalogOutputSignal
(BlockState p_48702_, Level p_48703_, BlockPos p_48704_) protected int
BarrelBlock.getAnalogOutputSignal
(BlockState p_49065_, Level p_49066_, BlockPos p_49067_) protected int
BeehiveBlock.getAnalogOutputSignal
(BlockState p_49620_, Level p_49621_, BlockPos p_49622_) protected int
BrewingStandBlock.getAnalogOutputSignal
(BlockState p_50926_, Level p_50927_, BlockPos p_50928_) protected int
CakeBlock.getAnalogOutputSignal
(BlockState p_51198_, Level p_51199_, BlockPos p_51200_) protected int
CandleCakeBlock.getAnalogOutputSignal
(BlockState p_152880_, Level p_152881_, BlockPos p_152882_) protected int
ChestBlock.getAnalogOutputSignal
(BlockState p_51527_, Level p_51528_, BlockPos p_51529_) protected int
ChiseledBookShelfBlock.getAnalogOutputSignal
(BlockState p_249192_, Level p_252207_, BlockPos p_248999_) protected int
CommandBlock.getAnalogOutputSignal
(BlockState p_51821_, Level p_51822_, BlockPos p_51823_) protected int
ComposterBlock.getAnalogOutputSignal
(BlockState p_51945_, Level p_51946_, BlockPos p_51947_) protected int
CopperBulbBlock.getAnalogOutputSignal
(BlockState p_308938_, Level p_309149_, BlockPos p_309114_) protected int
CrafterBlock.getAnalogOutputSignal
(BlockState p_307633_, Level p_307264_, BlockPos p_307557_) protected int
DecoratedPotBlock.getAnalogOutputSignal
(BlockState p_306206_, Level p_306113_, BlockPos p_306305_) protected int
DetectorRailBlock.getAnalogOutputSignal
(BlockState p_52454_, Level p_52455_, BlockPos p_52456_) protected int
DispenserBlock.getAnalogOutputSignal
(BlockState p_52689_, Level p_52690_, BlockPos p_52691_) protected int
EndPortalFrameBlock.getAnalogOutputSignal
(BlockState p_53061_, Level p_53062_, BlockPos p_53063_) protected int
HopperBlock.getAnalogOutputSignal
(BlockState p_54062_, Level p_54063_, BlockPos p_54064_) protected int
JukeboxBlock.getAnalogOutputSignal
(BlockState p_54277_, Level p_54278_, BlockPos p_54279_) protected int
LavaCauldronBlock.getAnalogOutputSignal
(BlockState p_153502_, Level p_153503_, BlockPos p_153504_) protected int
LayeredCauldronBlock.getAnalogOutputSignal
(BlockState p_153530_, Level p_153531_, BlockPos p_153532_) protected int
LecternBlock.getAnalogOutputSignal
(BlockState p_54520_, Level p_54521_, BlockPos p_54522_) protected int
RespawnAnchorBlock.getAnalogOutputSignal
(BlockState p_55870_, Level p_55871_, BlockPos p_55872_) protected int
SculkSensorBlock.getAnalogOutputSignal
(BlockState p_154442_, Level p_154443_, BlockPos p_154444_) protected int
ShulkerBoxBlock.getAnalogOutputSignal
(BlockState p_56223_, Level p_56224_, BlockPos p_56225_) protected int
BeetrootBlock.getBonemealAgeIncrease
(Level p_49663_) protected int
CropBlock.getBonemealAgeIncrease
(Level p_52262_) protected int
TorchflowerCropBlock.getBonemealAgeIncrease
(Level p_273475_) static Container
ChestBlock.getContainer
(ChestBlock p_51512_, BlockState p_51513_, Level p_51514_, BlockPos p_51515_, boolean p_51516_) private ResourceLocation
NoteBlock.getCustomSoundId
(Level p_263070_, BlockPos p_262999_) protected DispenseItemBehavior
DispenserBlock.getDispenseMethod
(Level p_341306_, ItemStack p_52667_) protected DispenseItemBehavior
DropperBlock.getDispenseMethod
(Level p_341227_, ItemStack p_52947_) private static Fluid
PointedDripstoneBlock.getDripFluid
(Level p_154053_, Fluid p_154054_) protected static int
BasePressurePlateBlock.getEntityCount
(Level p_289656_, AABB p_289647_, Class<? extends Entity> p_289686_) private static Optional
<PointedDripstoneBlock.FluidInfo> PointedDripstoneBlock.getFluidAboveStalactite
(Level p_154182_, BlockPos p_154183_, BlockState p_154184_) protected int
ComparatorBlock.getInputSignal
(Level p_51896_, BlockPos p_51897_, BlockState p_51898_) protected int
DiodeBlock.getInputSignal
(Level p_52544_, BlockPos p_52545_, BlockState p_52546_) private <T extends AbstractMinecart>
List<T> DetectorRailBlock.getInteractingMinecartOfType
(Level p_52437_, BlockPos p_52438_, Class<T> p_52439_, Predicate<Entity> p_52440_) private ItemFrame
ComparatorBlock.getItemFrame
(Level p_51865_, Direction p_51866_, BlockPos p_51867_) protected MenuProvider
AnvilBlock.getMenuProvider
(BlockState p_48821_, Level p_48822_, BlockPos p_48823_) protected MenuProvider
BaseEntityBlock.getMenuProvider
(BlockState p_49234_, Level p_49235_, BlockPos p_49236_) protected MenuProvider
CartographyTableBlock.getMenuProvider
(BlockState p_51364_, Level p_51365_, BlockPos p_51366_) protected MenuProvider
ChestBlock.getMenuProvider
(BlockState p_51574_, Level p_51575_, BlockPos p_51576_) protected MenuProvider
CraftingTableBlock.getMenuProvider
(BlockState p_52240_, Level p_52241_, BlockPos p_52242_) protected MenuProvider
EnchantingTableBlock.getMenuProvider
(BlockState p_341244_, Level p_340950_, BlockPos p_340923_) protected MenuProvider
GrindstoneBlock.getMenuProvider
(BlockState p_53847_, Level p_53848_, BlockPos p_53849_) protected MenuProvider
LecternBlock.getMenuProvider
(BlockState p_54571_, Level p_54572_, BlockPos p_54573_) protected MenuProvider
LoomBlock.getMenuProvider
(BlockState p_54796_, Level p_54797_, BlockPos p_54798_) protected MenuProvider
SmithingTableBlock.getMenuProvider
(BlockState p_56435_, Level p_56436_, BlockPos p_56437_) protected MenuProvider
StonecutterBlock.getMenuProvider
(BlockState p_57105_, Level p_57106_, BlockPos p_57107_) static Optional
<RecipeHolder<CraftingRecipe>> CrafterBlock.getPotentialResults
(Level p_307625_, CraftingInput p_345096_) protected abstract int
BasePressurePlateBlock.getSignalStrength
(Level p_49336_, BlockPos p_49337_) protected int
PressurePlateBlock.getSignalStrength
(Level p_55264_, BlockPos p_55265_) protected int
WeightedPressurePlateBlock.getSignalStrength
(Level p_58213_, BlockPos p_58214_) <T extends BlockEntity>
BlockEntityTicker<T> AbstractSkullBlock.getTicker
(Level p_151992_, BlockState p_151993_, BlockEntityType<T> p_151994_) <T extends BlockEntity>
BlockEntityTicker<T> BeaconBlock.getTicker
(Level p_152160_, BlockState p_152161_, BlockEntityType<T> p_152162_) <T extends BlockEntity>
BlockEntityTicker<T> BeehiveBlock.getTicker
(Level p_152180_, BlockState p_152181_, BlockEntityType<T> p_152182_) <T extends BlockEntity>
BlockEntityTicker<T> BellBlock.getTicker
(Level p_152194_, BlockState p_152195_, BlockEntityType<T> p_152196_) <T extends BlockEntity>
BlockEntityTicker<T> BlastFurnaceBlock.getTicker
(Level p_152382_, BlockState p_152383_, BlockEntityType<T> p_152384_) <T extends BlockEntity>
BlockEntityTicker<T> BrewingStandBlock.getTicker
(Level p_152694_, BlockState p_152695_, BlockEntityType<T> p_152696_) <T extends BlockEntity>
BlockEntityTicker<T> CalibratedSculkSensorBlock.getTicker
(Level p_277645_, BlockState p_278033_, BlockEntityType<T> p_277641_) <T extends BlockEntity>
BlockEntityTicker<T> CampfireBlock.getTicker
(Level p_152755_, BlockState p_152756_, BlockEntityType<T> p_152757_) <T extends BlockEntity>
BlockEntityTicker<T> CeilingHangingSignBlock.getTicker
(Level p_279379_, BlockState p_279390_, BlockEntityType<T> p_279231_) <T extends BlockEntity>
BlockEntityTicker<T> ChestBlock.getTicker
(Level p_153055_, BlockState p_153056_, BlockEntityType<T> p_153057_) <T extends BlockEntity>
BlockEntityTicker<T> ConduitBlock.getTicker
(Level p_153094_, BlockState p_153095_, BlockEntityType<T> p_153096_) <T extends BlockEntity>
BlockEntityTicker<T> CrafterBlock.getTicker
(Level p_307308_, BlockState p_307639_, BlockEntityType<T> p_307651_) <T extends BlockEntity>
BlockEntityTicker<T> DaylightDetectorBlock.getTicker
(Level p_153109_, BlockState p_153110_, BlockEntityType<T> p_153111_) <T extends BlockEntity>
BlockEntityTicker<T> EnchantingTableBlock.getTicker
(Level p_340880_, BlockState p_341416_, BlockEntityType<T> p_341078_) <T extends BlockEntity>
BlockEntityTicker<T> EnderChestBlock.getTicker
(Level p_153199_, BlockState p_153200_, BlockEntityType<T> p_153201_) <T extends BlockEntity>
BlockEntityTicker<T> EndGatewayBlock.getTicker
(Level p_153189_, BlockState p_153190_, BlockEntityType<T> p_153191_) default <T extends BlockEntity>
BlockEntityTicker<T> EntityBlock.getTicker
(Level p_153212_, BlockState p_153213_, BlockEntityType<T> p_153214_) <T extends BlockEntity>
BlockEntityTicker<T> FurnaceBlock.getTicker
(Level p_153273_, BlockState p_153274_, BlockEntityType<T> p_153275_) <T extends BlockEntity>
BlockEntityTicker<T> HopperBlock.getTicker
(Level p_153378_, BlockState p_153379_, BlockEntityType<T> p_153380_) <T extends BlockEntity>
BlockEntityTicker<T> JukeboxBlock.getTicker
(Level p_239682_, BlockState p_239683_, BlockEntityType<T> p_239684_) <T extends BlockEntity>
BlockEntityTicker<T> SculkCatalystBlock.getTicker
(Level p_222100_, BlockState p_222101_, BlockEntityType<T> p_222102_) <T extends BlockEntity>
BlockEntityTicker<T> SculkSensorBlock.getTicker
(Level p_154401_, BlockState p_154402_, BlockEntityType<T> p_154403_) <T extends BlockEntity>
BlockEntityTicker<T> SculkShriekerBlock.getTicker
(Level p_222173_, BlockState p_222174_, BlockEntityType<T> p_222175_) <T extends BlockEntity>
BlockEntityTicker<T> ShulkerBoxBlock.getTicker
(Level p_154543_, BlockState p_154544_, BlockEntityType<T> p_154545_) <T extends BlockEntity>
BlockEntityTicker<T> SignBlock.getTicker
(Level p_277367_, BlockState p_277896_, BlockEntityType<T> p_277724_) <T extends BlockEntity>
BlockEntityTicker<T> SmokerBlock.getTicker
(Level p_154640_, BlockState p_154641_, BlockEntityType<T> p_154642_) <T extends BlockEntity>
BlockEntityTicker<T> SpawnerBlock.getTicker
(Level p_154683_, BlockState p_154684_, BlockEntityType<T> p_154685_) <T extends BlockEntity>
BlockEntityTicker<T> TrialSpawnerBlock.getTicker
(Level p_311756_, BlockState p_312797_, BlockEntityType<T> p_312122_) <T extends BlockEntity>
BlockEntityTicker<T> VaultBlock.getTicker
(Level p_323525_, BlockState p_324070_, BlockEntityType<T> p_323541_) <T extends BlockEntity>
BlockEntityTicker<T> WallHangingSignBlock.getTicker
(Level p_279316_, BlockState p_279345_, BlockEntityType<T> p_279384_) protected void
BambooSaplingBlock.growBamboo
(Level p_48973_, BlockPos p_48974_) protected void
BambooStalkBlock.growBamboo
(BlockState p_261855_, Level p_262076_, BlockPos p_262109_, RandomSource p_261633_, int p_261759_) void
CropBlock.growCrops
(Level p_52264_, BlockPos p_52265_, BlockState p_52266_) private void
LayeredCauldronBlock.handleEntityOnFireInside
(BlockState p_153556_, Level p_153557_, BlockPos p_153558_) static void
ComposterBlock.handleFill
(Level p_51924_, BlockPos p_51925_, boolean p_51926_) void
Block.handlePrecipitation
(BlockState p_152450_, Level p_152451_, BlockPos p_152452_, Biome.Precipitation p_152453_) void
CauldronBlock.handlePrecipitation
(BlockState p_152935_, Level p_152936_, BlockPos p_152937_, Biome.Precipitation p_152938_) void
LayeredCauldronBlock.handlePrecipitation
(BlockState p_153539_, Level p_153540_, BlockPos p_153541_, Biome.Precipitation p_153542_) protected boolean
RedstoneTorchBlock.hasNeighborSignal
(Level p_55681_, BlockPos p_55682_, BlockState p_55683_) protected boolean
RedstoneWallTorchBlock.hasNeighborSignal
(Level p_55748_, BlockPos p_55749_, BlockState p_55750_) private boolean
BeehiveBlock.hiveContainsBees
(Level p_49655_, BlockPos p_49656_) private static boolean
BaseFireBlock.inPortalDimension
(Level p_49249_) private static void
RedStoneOreBlock.interact
(BlockState p_55493_, Level p_55494_, BlockPos p_55495_) boolean
AzaleaBlock.isBonemealSuccess
(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) boolean
BambooSaplingBlock.isBonemealSuccess
(Level p_220748_, RandomSource p_220749_, BlockPos p_220750_, BlockState p_220751_) boolean
BambooStalkBlock.isBonemealSuccess
(Level p_261870_, RandomSource p_261802_, BlockPos p_262123_, BlockState p_261972_) boolean
BigDripleafBlock.isBonemealSuccess
(Level p_220788_, RandomSource p_220789_, BlockPos p_220790_, BlockState p_220791_) boolean
BigDripleafStemBlock.isBonemealSuccess
(Level p_220808_, RandomSource p_220809_, BlockPos p_220810_, BlockState p_220811_) boolean
BonemealableBlock.isBonemealSuccess
(Level p_220878_, RandomSource p_220879_, BlockPos p_220880_, BlockState p_220881_) boolean
CaveVinesBlock.isBonemealSuccess
(Level p_220930_, RandomSource p_220931_, BlockPos p_220932_, BlockState p_220933_) boolean
CaveVinesPlantBlock.isBonemealSuccess
(Level p_220943_, RandomSource p_220944_, BlockPos p_220945_, BlockState p_220946_) boolean
CocoaBlock.isBonemealSuccess
(Level p_220995_, RandomSource p_220996_, BlockPos p_220997_, BlockState p_220998_) boolean
CropBlock.isBonemealSuccess
(Level p_221045_, RandomSource p_221046_, BlockPos p_221047_, BlockState p_221048_) boolean
FungusBlock.isBonemealSuccess
(Level p_221248_, RandomSource p_221249_, BlockPos p_221250_, BlockState p_221251_) boolean
GlowLichenBlock.isBonemealSuccess
(Level p_221264_, RandomSource p_221265_, BlockPos p_221266_, BlockState p_221267_) boolean
GrassBlock.isBonemealSuccess
(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) boolean
GrowingPlantBodyBlock.isBonemealSuccess
(Level p_221290_, RandomSource p_221291_, BlockPos p_221292_, BlockState p_221293_) boolean
GrowingPlantHeadBlock.isBonemealSuccess
(Level p_221343_, RandomSource p_221344_, BlockPos p_221345_, BlockState p_221346_) boolean
MangroveLeavesBlock.isBonemealSuccess
(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) boolean
MangrovePropaguleBlock.isBonemealSuccess
(Level p_221463_, RandomSource p_221464_, BlockPos p_221465_, BlockState p_221466_) boolean
MossBlock.isBonemealSuccess
(Level p_221538_, RandomSource p_221539_, BlockPos p_221540_, BlockState p_221541_) boolean
MushroomBlock.isBonemealSuccess
(Level p_221779_, RandomSource p_221780_, BlockPos p_221781_, BlockState p_221782_) boolean
NetherrackBlock.isBonemealSuccess
(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) boolean
NyliumBlock.isBonemealSuccess
(Level p_221830_, RandomSource p_221831_, BlockPos p_221832_, BlockState p_221833_) boolean
PinkPetalsBlock.isBonemealSuccess
(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) boolean
PitcherCropBlock.isBonemealSuccess
(Level p_277920_, RandomSource p_277594_, BlockPos p_277401_, BlockState p_277434_) boolean
RootedDirtBlock.isBonemealSuccess
(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) boolean
SaplingBlock.isBonemealSuccess
(Level p_222006_, RandomSource p_222007_, BlockPos p_222008_, BlockState p_222009_) boolean
SeagrassBlock.isBonemealSuccess
(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) boolean
SeaPickleBlock.isBonemealSuccess
(Level p_222418_, RandomSource p_222419_, BlockPos p_222420_, BlockState p_222421_) boolean
SmallDripleafBlock.isBonemealSuccess
(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) boolean
StemBlock.isBonemealSuccess
(Level p_222533_, RandomSource p_222534_, BlockPos p_222535_, BlockState p_222536_) boolean
SweetBerryBushBlock.isBonemealSuccess
(Level p_222558_, RandomSource p_222559_, BlockPos p_222560_, BlockState p_222561_) boolean
TallFlowerBlock.isBonemealSuccess
(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) boolean
TallGrassBlock.isBonemealSuccess
(Level p_222583_, RandomSource p_222584_, BlockPos p_222585_, BlockState p_222586_) protected boolean
FireBlock.isNearRain
(Level p_53429_, BlockPos p_53430_) private static boolean
static boolean
protected boolean
PoweredRailBlock.isSameRailWithPower
(Level p_55226_, BlockPos p_55227_, boolean p_55228_, int p_55229_, RailShape p_55230_) static boolean
CampfireBlock.isSmokeyPos
(Level p_51249_, BlockPos p_51250_) private static boolean
RedstoneTorchBlock.isToggledTooFrequently
(Level p_55685_, BlockPos p_55686_, boolean p_55687_) static boolean
EnchantingTableBlock.isValidBookShelf
(Level p_340976_, BlockPos p_340984_, BlockPos p_341294_) private static boolean
RespawnAnchorBlock.isWaterThatWouldFlow
(BlockPos p_55888_, Level p_55889_) static boolean
DoorBlock.isWoodenDoor
(Level p_52746_, BlockPos p_52747_) private boolean
BedBlock.kickVillagerOutOfBed
(Level p_49491_, BlockPos p_49492_) static void
LayeredCauldronBlock.lowerFillLevel
(BlockState p_153560_, Level p_153561_, BlockPos p_153562_) static void
CampfireBlock.makeParticles
(Level p_51252_, BlockPos p_51253_, boolean p_51254_, boolean p_51255_) private void
HoneyBlock.maybeDoSlideEffects
(Level p_53995_, Entity p_53996_) protected void
IceBlock.melt
(BlockState p_54169_, Level p_54170_, BlockPos p_54171_) protected void
AbstractSkullBlock.neighborChanged
(BlockState p_301179_, Level p_301325_, BlockPos p_301085_, Block p_301182_, BlockPos p_301255_, boolean p_300890_) protected void
BaseRailBlock.neighborChanged
(BlockState p_49377_, Level p_49378_, BlockPos p_49379_, Block p_49380_, BlockPos p_49381_, boolean p_49382_) protected void
BellBlock.neighborChanged
(BlockState p_49729_, Level p_49730_, BlockPos p_49731_, Block p_49732_, BlockPos p_49733_, boolean p_49734_) protected void
BigDripleafBlock.neighborChanged
(BlockState p_152271_, Level p_152272_, BlockPos p_152273_, Block p_152274_, BlockPos p_152275_, boolean p_152276_) protected void
CommandBlock.neighborChanged
(BlockState p_51838_, Level p_51839_, BlockPos p_51840_, Block p_51841_, BlockPos p_51842_, boolean p_51843_) protected void
CopperBulbBlock.neighborChanged
(BlockState p_309025_, Level p_308955_, BlockPos p_309153_, Block p_308949_, BlockPos p_308887_, boolean p_309085_) protected void
CrafterBlock.neighborChanged
(BlockState p_307205_, Level p_307451_, BlockPos p_307272_, Block p_307542_, BlockPos p_307508_, boolean p_307540_) protected void
DiodeBlock.neighborChanged
(BlockState p_52525_, Level p_52526_, BlockPos p_52527_, Block p_52528_, BlockPos p_52529_, boolean p_52530_) protected void
DispenserBlock.neighborChanged
(BlockState p_52700_, Level p_52701_, BlockPos p_52702_, Block p_52703_, BlockPos p_52704_, boolean p_52705_) protected void
DoorBlock.neighborChanged
(BlockState p_52776_, Level p_52777_, BlockPos p_52778_, Block p_52779_, BlockPos p_52780_, boolean p_52781_) protected void
FenceGateBlock.neighborChanged
(BlockState p_53372_, Level p_53373_, BlockPos p_53374_, Block p_53375_, BlockPos p_53376_, boolean p_53377_) protected void
FrostedIceBlock.neighborChanged
(BlockState p_53579_, Level p_53580_, BlockPos p_53581_, Block p_53582_, BlockPos p_53583_, boolean p_53584_) protected void
HopperBlock.neighborChanged
(BlockState p_54078_, Level p_54079_, BlockPos p_54080_, Block p_54081_, BlockPos p_54082_, boolean p_54083_) protected void
LiquidBlock.neighborChanged
(BlockState p_54709_, Level p_54710_, BlockPos p_54711_, Block p_54712_, BlockPos p_54713_, boolean p_54714_) protected void
NoteBlock.neighborChanged
(BlockState p_55041_, Level p_55042_, BlockPos p_55043_, Block p_55044_, BlockPos p_55045_, boolean p_55046_) protected void
RedstoneLampBlock.neighborChanged
(BlockState p_55666_, Level p_55667_, BlockPos p_55668_, Block p_55669_, BlockPos p_55670_, boolean p_55671_) protected void
RedstoneTorchBlock.neighborChanged
(BlockState p_55699_, Level p_55700_, BlockPos p_55701_, Block p_55702_, BlockPos p_55703_, boolean p_55704_) protected void
RedStoneWireBlock.neighborChanged
(BlockState p_55561_, Level p_55562_, BlockPos p_55563_, Block p_55564_, BlockPos p_55565_, boolean p_55566_) protected void
SpongeBlock.neighborChanged
(BlockState p_56801_, Level p_56802_, BlockPos p_56803_, Block p_56804_, BlockPos p_56805_, boolean p_56806_) protected void
StructureBlock.neighborChanged
(BlockState p_57135_, Level p_57136_, BlockPos p_57137_, Block p_57138_, BlockPos p_57139_, boolean p_57140_) protected void
TntBlock.neighborChanged
(BlockState p_57457_, Level p_57458_, BlockPos p_57459_, Block p_57460_, BlockPos p_57461_, boolean p_57462_) protected void
TrapDoorBlock.neighborChanged
(BlockState p_57547_, Level p_57548_, BlockPos p_57549_, Block p_57550_, BlockPos p_57551_, boolean p_57552_) private static void
TripWireHookBlock.notifyNeighbors
(Block p_304466_, Level p_57694_, BlockPos p_57695_, Direction p_57696_) void
AnvilBlock.onBrokenAfterFall
(Level p_152053_, BlockPos p_152054_, FallingBlockEntity p_152055_) void
BrushableBlock.onBrokenAfterFall
(Level p_278097_, BlockPos p_277734_, FallingBlockEntity p_277539_) default void
Fallable.onBrokenAfterFall
(Level p_153217_, BlockPos p_153218_, FallingBlockEntity p_153219_) void
PointedDripstoneBlock.onBrokenAfterFall
(Level p_154059_, BlockPos p_154060_, FallingBlockEntity p_154061_) void
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) protected void
AbstractCandleBlock.onExplosionHit
(BlockState p_311992_, Level p_312631_, BlockPos p_312387_, Explosion p_312661_, BiConsumer<ItemStack, BlockPos> p_312093_) protected void
BellBlock.onExplosionHit
(BlockState p_311884_, Level p_311798_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) protected void
ButtonBlock.onExplosionHit
(BlockState p_312395_, Level p_311915_, BlockPos p_311817_, Explosion p_312150_, BiConsumer<ItemStack, BlockPos> p_311898_) protected void
DoorBlock.onExplosionHit
(BlockState p_312769_, Level p_312778_, BlockPos p_311900_, Explosion p_312544_, BiConsumer<ItemStack, BlockPos> p_312107_) protected void
FenceGateBlock.onExplosionHit
(BlockState p_312699_, Level p_311813_, BlockPos p_312680_, Explosion p_312186_, BiConsumer<ItemStack, BlockPos> p_312187_) protected void
LeverBlock.onExplosionHit
(BlockState p_312405_, Level p_312603_, BlockPos p_311795_, Explosion p_312090_, BiConsumer<ItemStack, BlockPos> p_312313_) protected void
TrapDoorBlock.onExplosionHit
(BlockState p_312371_, Level p_312286_, BlockPos p_312879_, Explosion p_312330_, BiConsumer<ItemStack, BlockPos> p_312161_) boolean
BellBlock.onHit
(Level p_49702_, BlockState p_49703_, BlockHitResult p_49704_, Player p_49705_, boolean p_49706_) void
AnvilBlock.onLand
(Level p_48793_, BlockPos p_48794_, BlockState p_48795_, BlockState p_48796_, FallingBlockEntity p_48797_) void
ConcretePowderBlock.onLand
(Level p_52068_, BlockPos p_52069_, BlockState p_52070_, BlockState p_52071_, FallingBlockEntity p_52072_) default void
Fallable.onLand
(Level p_153220_, BlockPos p_153221_, BlockState p_153222_, BlockState p_153223_, FallingBlockEntity p_153224_) void
LightningRodBlock.onLightningStrike
(BlockState p_153761_, Level p_153762_, BlockPos p_153763_) void
AbstractCauldronBlock.onPlace
(BlockState p_51978_, Level p_51979_, BlockPos p_51980_, BlockState p_51981_, boolean p_51982_) protected void
BaseFireBlock.onPlace
(BlockState p_49279_, Level p_49280_, BlockPos p_49281_, BlockState p_49282_, boolean p_49283_) protected void
BaseRailBlock.onPlace
(BlockState p_49408_, Level p_49409_, BlockPos p_49410_, BlockState p_49411_, boolean p_49412_) void
BrushableBlock.onPlace
(BlockState p_277817_, Level p_277984_, BlockPos p_277869_, BlockState p_277926_, boolean p_277736_) protected void
CarvedPumpkinBlock.onPlace
(BlockState p_51387_, Level p_51388_, BlockPos p_51389_, BlockState p_51390_, boolean p_51391_) protected void
ComposterBlock.onPlace
(BlockState p_51978_, Level p_51979_, BlockPos p_51980_, BlockState p_51981_, boolean p_51982_) protected void
CopperBulbBlock.onPlace
(BlockState p_309207_, Level p_309068_, BlockPos p_309087_, BlockState p_308908_, boolean p_308906_) protected void
CoralFanBlock.onPlace
(BlockState p_52166_, Level p_52167_, BlockPos p_52168_, BlockState p_52169_, boolean p_52170_) protected void
CoralPlantBlock.onPlace
(BlockState p_52195_, Level p_52196_, BlockPos p_52197_, BlockState p_52198_, boolean p_52199_) protected void
CoralWallFanBlock.onPlace
(BlockState p_52217_, Level p_52218_, BlockPos p_52219_, BlockState p_52220_, boolean p_52221_) protected void
DetectorRailBlock.onPlace
(BlockState p_52483_, Level p_52484_, BlockPos p_52485_, BlockState p_52486_, boolean p_52487_) protected void
DiodeBlock.onPlace
(BlockState p_52566_, Level p_52567_, BlockPos p_52568_, BlockState p_52569_, boolean p_52570_) protected void
FallingBlock.onPlace
(BlockState p_53233_, Level p_53234_, BlockPos p_53235_, BlockState p_53236_, boolean p_53237_) protected void
FireBlock.onPlace
(BlockState p_53479_, Level p_53480_, BlockPos p_53481_, BlockState p_53482_, boolean p_53483_) protected void
FrogspawnBlock.onPlace
(BlockState p_221227_, Level p_221228_, BlockPos p_221229_, BlockState p_221230_, boolean p_221231_) void
FrostedIceBlock.onPlace
(BlockState p_345576_, Level p_346049_, BlockPos p_346299_, BlockState p_346367_, boolean p_344840_) protected void
HopperBlock.onPlace
(BlockState p_54110_, Level p_54111_, BlockPos p_54112_, BlockState p_54113_, boolean p_54114_) protected void
LightningRodBlock.onPlace
(BlockState p_153753_, Level p_153754_, BlockPos p_153755_, BlockState p_153756_, boolean p_153757_) protected void
LiquidBlock.onPlace
(BlockState p_54754_, Level p_54755_, BlockPos p_54756_, BlockState p_54757_, boolean p_54758_) protected void
MagmaBlock.onPlace
(BlockState p_54823_, Level p_54824_, BlockPos p_54825_, BlockState p_54826_, boolean p_54827_) protected void
ObserverBlock.onPlace
(BlockState p_55132_, Level p_55133_, BlockPos p_55134_, BlockState p_55135_, boolean p_55136_) protected void
RedstoneTorchBlock.onPlace
(BlockState p_55724_, Level p_55725_, BlockPos p_55726_, BlockState p_55727_, boolean p_55728_) protected void
RedStoneWireBlock.onPlace
(BlockState p_55630_, Level p_55631_, BlockPos p_55632_, BlockState p_55633_, boolean p_55634_) protected void
ScaffoldingBlock.onPlace
(BlockState p_56062_, Level p_56063_, BlockPos p_56064_, BlockState p_56065_, boolean p_56066_) protected void
SculkSensorBlock.onPlace
(BlockState p_154471_, Level p_154472_, BlockPos p_154473_, BlockState p_154474_, boolean p_154475_) void
SnifferEggBlock.onPlace
(BlockState p_277964_, Level p_277827_, BlockPos p_277526_, BlockState p_277618_, boolean p_277819_) protected void
SoulSandBlock.onPlace
(BlockState p_56696_, Level p_56697_, BlockPos p_56698_, BlockState p_56699_, boolean p_56700_) protected void
SpongeBlock.onPlace
(BlockState p_56811_, Level p_56812_, BlockPos p_56813_, BlockState p_56814_, boolean p_56815_) protected void
TargetBlock.onPlace
(BlockState p_57412_, Level p_57413_, BlockPos p_57414_, BlockState p_57415_, boolean p_57416_) protected void
TntBlock.onPlace
(BlockState p_57466_, Level p_57467_, BlockPos p_57468_, BlockState p_57469_, boolean p_57470_) protected void
TripWireBlock.onPlace
(BlockState p_57659_, Level p_57660_, BlockPos p_57661_, BlockState p_57662_, boolean p_57663_) protected void
TurtleEggBlock.onPlace
(BlockState p_57814_, Level p_57815_, BlockPos p_57816_, BlockState p_57817_, boolean p_57818_) protected void
WetSpongeBlock.onPlace
(BlockState p_58229_, Level p_58230_, BlockPos p_58231_, BlockState p_58232_, boolean p_58233_) protected void
AbstractCandleBlock.onProjectileHit
(Level p_151905_, BlockState p_151906_, BlockHitResult p_151907_, Projectile p_151908_) protected void
AmethystBlock.onProjectileHit
(Level p_152001_, BlockState p_152002_, BlockHitResult p_152003_, Projectile p_152004_) protected void
BellBlock.onProjectileHit
(Level p_49708_, BlockState p_49709_, BlockHitResult p_49710_, Projectile p_49711_) protected void
BigDripleafBlock.onProjectileHit
(Level p_152228_, BlockState p_152229_, BlockHitResult p_152230_, Projectile p_152231_) protected void
CampfireBlock.onProjectileHit
(Level p_51244_, BlockState p_51245_, BlockHitResult p_51246_, Projectile p_51247_) protected void
ChorusFlowerBlock.onProjectileHit
(Level p_51654_, BlockState p_51655_, BlockHitResult p_51656_, Projectile p_51657_) protected void
DecoratedPotBlock.onProjectileHit
(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) protected void
PointedDripstoneBlock.onProjectileHit
(Level p_154042_, BlockState p_154043_, BlockHitResult p_154044_, Projectile p_154045_) protected void
TargetBlock.onProjectileHit
(Level p_57381_, BlockState p_57382_, BlockHitResult p_57383_, Projectile p_57384_) protected void
TntBlock.onProjectileHit
(Level p_57429_, BlockState p_57430_, BlockHitResult p_57431_, Projectile p_57432_) void
AbstractCauldronBlock.onRemove
(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected void
AbstractFurnaceBlock.onRemove
(BlockState p_48713_, Level p_48714_, BlockPos p_48715_, BlockState p_48716_, boolean p_48717_) protected void
BarrelBlock.onRemove
(BlockState p_49076_, Level p_49077_, BlockPos p_49078_, BlockState p_49079_, boolean p_49080_) protected void
BasePressurePlateBlock.onRemove
(BlockState p_49319_, Level p_49320_, BlockPos p_49321_, BlockState p_49322_, boolean p_49323_) protected void
BaseRailBlock.onRemove
(BlockState p_49384_, Level p_49385_, BlockPos p_49386_, BlockState p_49387_, boolean p_49388_) protected void
BrewingStandBlock.onRemove
(BlockState p_50937_, Level p_50938_, BlockPos p_50939_, BlockState p_50940_, boolean p_50941_) protected void
ButtonBlock.onRemove
(BlockState p_51095_, Level p_51096_, BlockPos p_51097_, BlockState p_51098_, boolean p_51099_) protected void
CampfireBlock.onRemove
(BlockState p_51281_, Level p_51282_, BlockPos p_51283_, BlockState p_51284_, boolean p_51285_) protected void
ChestBlock.onRemove
(BlockState p_51538_, Level p_51539_, BlockPos p_51540_, BlockState p_51541_, boolean p_51542_) protected void
ChiseledBookShelfBlock.onRemove
(BlockState p_250071_, Level p_251485_, BlockPos p_251954_, BlockState p_251852_, boolean p_252250_) protected void
ComposterBlock.onRemove
(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected void
CrafterBlock.onRemove
(BlockState p_307425_, Level p_307460_, BlockPos p_307342_, BlockState p_307466_, boolean p_307349_) protected void
DecoratedPotBlock.onRemove
(BlockState p_305821_, Level p_306245_, BlockPos p_305894_, BlockState p_306294_, boolean p_306159_) protected void
DiodeBlock.onRemove
(BlockState p_52532_, Level p_52533_, BlockPos p_52534_, BlockState p_52535_, boolean p_52536_) protected void
DispenserBlock.onRemove
(BlockState p_52707_, Level p_52708_, BlockPos p_52709_, BlockState p_52710_, boolean p_52711_) protected void
HopperBlock.onRemove
(BlockState p_54085_, Level p_54086_, BlockPos p_54087_, BlockState p_54088_, boolean p_54089_) protected void
JukeboxBlock.onRemove
(BlockState p_54288_, Level p_54289_, BlockPos p_54290_, BlockState p_54291_, boolean p_54292_) protected void
LecternBlock.onRemove
(BlockState p_54531_, Level p_54532_, BlockPos p_54533_, BlockState p_54534_, boolean p_54535_) protected void
LeverBlock.onRemove
(BlockState p_54647_, Level p_54648_, BlockPos p_54649_, BlockState p_54650_, boolean p_54651_) protected void
LightningRodBlock.onRemove
(BlockState p_153728_, Level p_153729_, BlockPos p_153730_, BlockState p_153731_, boolean p_153732_) protected void
ObserverBlock.onRemove
(BlockState p_55106_, Level p_55107_, BlockPos p_55108_, BlockState p_55109_, boolean p_55110_) protected void
RedstoneTorchBlock.onRemove
(BlockState p_55706_, Level p_55707_, BlockPos p_55708_, BlockState p_55709_, boolean p_55710_) protected void
RedStoneWireBlock.onRemove
(BlockState p_55568_, Level p_55569_, BlockPos p_55570_, BlockState p_55571_, boolean p_55572_) protected void
SculkSensorBlock.onRemove
(BlockState p_154446_, Level p_154447_, BlockPos p_154448_, BlockState p_154449_, boolean p_154450_) protected void
SculkShriekerBlock.onRemove
(BlockState p_222198_, Level p_222199_, BlockPos p_222200_, BlockState p_222201_, boolean p_222202_) protected void
ShulkerBoxBlock.onRemove
(BlockState p_56234_, Level p_56235_, BlockPos p_56236_, BlockState p_56237_, boolean p_56238_) protected void
TripWireBlock.onRemove
(BlockState p_57630_, Level p_57631_, BlockPos p_57632_, BlockState p_57633_, boolean p_57634_) protected void
TripWireHookBlock.onRemove
(BlockState p_57715_, Level p_57716_, BlockPos p_57717_, BlockState p_57718_, boolean p_57719_) protected abstract void
AbstractFurnaceBlock.openContainer
(Level p_48690_, BlockPos p_48691_, Player p_48692_) protected void
BlastFurnaceBlock.openContainer
(Level p_49777_, BlockPos p_49778_, Player p_49779_) protected void
FurnaceBlock.openContainer
(Level p_53631_, BlockPos p_53632_, Player p_53633_) protected void
SmokerBlock.openContainer
(Level p_56443_, BlockPos p_56444_, Player p_56445_) private void
LecternBlock.openScreen
(Level p_54485_, BlockPos p_54486_, Player p_54487_) private static void
LecternBlock.placeBook
(LivingEntity p_347484_, Level p_270065_, BlockPos p_270155_, BlockState p_270753_, ItemStack p_270173_) private void
ChorusFlowerBlock.placeDeadFlower
(Level p_51659_, BlockPos p_51660_) private void
ChorusFlowerBlock.placeGrownFlower
(Level p_51662_, BlockPos p_51663_, int p_51664_) void
BeehiveBlock.playerDestroy
(Level p_49584_, Player p_49585_, BlockPos p_49586_, BlockState p_49587_, BlockEntity p_49588_, ItemStack p_49589_) void
Block.playerDestroy
(Level p_49827_, Player p_49828_, BlockPos p_49829_, BlockState p_49830_, BlockEntity p_49831_, ItemStack p_49832_) void
DoublePlantBlock.playerDestroy
(Level p_52865_, Player p_52866_, BlockPos p_52867_, BlockState p_52868_, BlockEntity p_52869_, ItemStack p_52870_) void
IceBlock.playerDestroy
(Level p_54157_, Player p_54158_, BlockPos p_54159_, BlockState p_54160_, BlockEntity p_54161_, ItemStack p_54162_) void
TurtleEggBlock.playerDestroy
(Level p_57771_, Player p_57772_, BlockPos p_57773_, BlockState p_57774_, BlockEntity p_57775_, ItemStack p_57776_) BaseFireBlock.playerWillDestroy
(Level p_49251_, BlockPos p_49252_, BlockState p_49253_, Player p_49254_) BedBlock.playerWillDestroy
(Level p_49505_, BlockPos p_49506_, BlockState p_49507_, Player p_49508_) BeehiveBlock.playerWillDestroy
(Level p_49608_, BlockPos p_49609_, BlockState p_49610_, Player p_49611_) Block.playerWillDestroy
(Level p_49852_, BlockPos p_49853_, BlockState p_49854_, Player p_49855_) DecoratedPotBlock.playerWillDestroy
(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy
(Level p_52755_, BlockPos p_52756_, BlockState p_52757_, Player p_52758_) DoublePlantBlock.playerWillDestroy
(Level p_52878_, BlockPos p_52879_, BlockState p_52880_, Player p_52881_) ShulkerBoxBlock.playerWillDestroy
(Level p_56212_, BlockPos p_56213_, BlockState p_56214_, Player p_56215_) TntBlock.playerWillDestroy
(Level p_57445_, BlockPos p_57446_, BlockState p_57447_, Player p_57448_) TripWireBlock.playerWillDestroy
(Level p_57615_, BlockPos p_57616_, BlockState p_57617_, Player p_57618_) private void
NoteBlock.playNote
(Entity p_261664_, BlockState p_261606_, Level p_261819_, BlockPos p_262042_) private void
protected void
private static void
BigDripleafBlock.playTiltSound
(Level p_152233_, BlockPos p_152234_, SoundEvent p_152235_) private void
LecternBlock.popBook
(BlockState p_54588_, Level p_54589_, BlockPos p_54590_) private static void
Block.popResource
(Level p_152441_, Supplier<ItemEntity> p_152442_, ItemStack p_152443_) static void
Block.popResource
(Level p_49841_, BlockPos p_49842_, ItemStack p_49843_) static void
Block.popResourceFromFace
(Level p_152436_, BlockPos p_152437_, Direction p_152438_, ItemStack p_152439_) void
ButtonBlock.press
(BlockState p_51117_, Level p_51118_, BlockPos p_51119_, Player p_345338_) protected static void
DoublePlantBlock.preventDropFromBottomPart
(Level p_52904_, BlockPos p_52905_, BlockState p_52906_, Player p_52907_) void
LeverBlock.pull
(BlockState p_54677_, Level p_54678_, BlockPos p_54679_, Player p_344918_) protected void
AbstractCauldronBlock.receiveStalactiteDrip
(BlockState p_151975_, Level p_151976_, BlockPos p_151977_, Fluid p_151978_) protected void
CauldronBlock.receiveStalactiteDrip
(BlockState p_152940_, Level p_152941_, BlockPos p_152942_, Fluid p_152943_) protected void
LayeredCauldronBlock.receiveStalactiteDrip
(BlockState p_153544_, Level p_153545_, BlockPos p_153546_, Fluid p_153547_) private void
ComparatorBlock.refreshOutputState
(Level p_51908_, BlockPos p_51909_, BlockState p_51910_) void
BeehiveBlock.releaseBeesAndResetHoneyLevel
(Level p_49595_, BlockState p_49596_, BlockPos p_49597_, Player p_49598_, BeehiveBlockEntity.BeeReleaseStatus p_49599_) private static void
ChiseledBookShelfBlock.removeBook
(Level p_262654_, BlockPos p_262601_, Player p_262636_, ChiseledBookShelfBlockEntity p_262605_, int p_262673_) private boolean
SpongeBlock.removeWaterBreadthFirstSearch
(Level p_56808_, BlockPos p_56809_) static void
LecternBlock.resetBookState
(Entity p_270231_, Level p_270114_, BlockPos p_270251_, BlockState p_270758_, boolean p_270452_) void
BeehiveBlock.resetHoneyLevel
(Level p_49591_, BlockState p_49592_, BlockPos p_49593_) private static void
BigDripleafBlock.resetTilt
(BlockState p_152314_, Level p_152315_, BlockPos p_152316_) void
DoorBlock.setOpen
(Entity p_153166_, Level p_153167_, BlockState p_153168_, BlockPos p_153169_, boolean p_153170_) void
BedBlock.setPlacedBy
(Level p_49499_, BlockPos p_49500_, BlockState p_49501_, LivingEntity p_49502_, ItemStack p_49503_) void
Block.setPlacedBy
(Level p_49847_, BlockPos p_49848_, BlockState p_49849_, LivingEntity p_49850_, ItemStack p_49851_) void
CommandBlock.setPlacedBy
(Level p_51804_, BlockPos p_51805_, BlockState p_51806_, LivingEntity p_51807_, ItemStack p_51808_) void
CrafterBlock.setPlacedBy
(Level p_307219_, BlockPos p_307681_, BlockState p_307383_, LivingEntity p_307647_, ItemStack p_307190_) void
DiodeBlock.setPlacedBy
(Level p_52506_, BlockPos p_52507_, BlockState p_52508_, LivingEntity p_52509_, ItemStack p_52510_) void
DoorBlock.setPlacedBy
(Level p_52749_, BlockPos p_52750_, BlockState p_52751_, LivingEntity p_52752_, ItemStack p_52753_) void
DoublePlantBlock.setPlacedBy
(Level p_52872_, BlockPos p_52873_, BlockState p_52874_, LivingEntity p_52875_, ItemStack p_52876_) void
JukeboxBlock.setPlacedBy
(Level p_54264_, BlockPos p_54265_, BlockState p_54266_, LivingEntity p_54267_, ItemStack p_54268_) void
PitcherCropBlock.setPlacedBy
(Level p_277432_, BlockPos p_277632_, BlockState p_277479_, LivingEntity p_277805_, ItemStack p_277663_) void
SmallDripleafBlock.setPlacedBy
(Level p_154599_, BlockPos p_154600_, BlockState p_154601_, LivingEntity p_154602_, ItemStack p_154603_) void
StructureBlock.setPlacedBy
(Level p_57122_, BlockPos p_57123_, BlockState p_57124_, LivingEntity p_57125_, ItemStack p_57126_) void
TripWireHookBlock.setPlacedBy
(Level p_57680_, BlockPos p_57681_, BlockState p_57682_, LivingEntity p_57683_, ItemStack p_57684_) void
WitherSkullBlock.setPlacedBy
(Level p_58260_, BlockPos p_58261_, BlockState p_58262_, LivingEntity p_58263_, ItemStack p_58264_) void
WitherWallSkullBlock.setPlacedBy
(Level p_58278_, BlockPos p_58279_, BlockState p_58280_, LivingEntity p_58281_, ItemStack p_58282_) private static void
BigDripleafBlock.setTilt
(BlockState p_152278_, Level p_152279_, BlockPos p_152280_, Tilt p_152281_) private void
BigDripleafBlock.setTiltAndScheduleTick
(BlockState p_152283_, Level p_152284_, BlockPos p_152285_, Tilt p_152286_, SoundEvent p_152287_) private static boolean
BaseRailBlock.shouldBeRemoved
(BlockPos p_49399_, Level p_49400_, RailShape p_49401_) protected static boolean
CauldronBlock.shouldHandlePrecipitation
(Level p_182451_, Biome.Precipitation p_182452_) private boolean
LiquidBlock.shouldSpreadLiquid
(Level p_54697_, BlockPos p_54698_, BlockState p_54699_) Deprecated.protected boolean
ComparatorBlock.shouldTurnOn
(Level p_51861_, BlockPos p_51862_, BlockState p_51863_) protected boolean
DiodeBlock.shouldTurnOn
(Level p_52502_, BlockPos p_52503_, BlockState p_52504_) private boolean
TurtleEggBlock.shouldUpdateHatchLevel
(Level p_57766_) static void
LecternBlock.signalPageChange
(Level p_54489_, BlockPos p_54490_, BlockState p_54491_) private boolean
FrostedIceBlock.slightlyMelt
(BlockState p_53593_, Level p_53594_, BlockPos p_53595_) protected void
BaseFireBlock.spawnDestroyParticles
(Level p_152139_, Player p_152140_, BlockPos p_152141_, BlockState p_152142_) protected void
Block.spawnDestroyParticles
(Level p_152422_, Player p_152423_, BlockPos p_152424_, BlockState p_152425_) static void
PointedDripstoneBlock.spawnDripParticle
(Level p_154063_, BlockPos p_154064_, BlockState p_154065_) private static void
PointedDripstoneBlock.spawnDripParticle
(Level p_154072_, BlockPos p_154073_, BlockState p_154074_, Fluid p_154075_) private void
BeehiveBlock.spawnFluidParticle
(Level p_49577_, double p_49578_, double p_49579_, double p_49580_, double p_49581_, double p_49582_) private static void
CarvedPumpkinBlock.spawnGolemInWorld
(Level p_249110_, BlockPattern.BlockPatternMatch p_251293_, Entity p_251251_, BlockPos p_251189_) private void
BeehiveBlock.spawnParticle
(Level p_49613_, BlockPos p_49614_, VoxelShape p_49615_, double p_49616_) private static void
RedStoneOreBlock.spawnParticles
(Level p_55455_, BlockPos p_55456_) private void
RedStoneWireBlock.spawnParticlesAlongLine
(Level p_221923_, RandomSource p_221924_, BlockPos p_221925_, Vec3 p_221926_, Direction p_221927_, Direction p_221928_, float p_221929_, float p_221930_) void
Block.stepOn
(Level p_152431_, BlockPos p_152432_, BlockState p_152433_, Entity p_152434_) void
MagmaBlock.stepOn
(Level p_153777_, BlockPos p_153778_, BlockState p_153779_, Entity p_153780_) void
RedStoneOreBlock.stepOn
(Level p_154299_, BlockPos p_154300_, BlockState p_154301_, Entity p_154302_) void
SculkSensorBlock.stepOn
(Level p_222132_, BlockPos p_222133_, BlockState p_222134_, Entity p_222135_) void
SculkShriekerBlock.stepOn
(Level p_222177_, BlockPos p_222178_, BlockState p_222179_, Entity p_222180_) void
SlimeBlock.stepOn
(Level p_154573_, BlockPos p_154574_, BlockState p_154575_, Entity p_154576_) void
TurtleEggBlock.stepOn
(Level p_154857_, BlockPos p_154858_, BlockState p_154859_, Entity p_154860_) private void
DragonEggBlock.teleport
(BlockState p_52936_, Level p_52937_, BlockPos p_52938_) private static void
DaylightDetectorBlock.tickEntity
(Level p_153113_, BlockPos p_153114_, BlockState p_153115_, DaylightDetectorBlockEntity p_153116_) private void
TrapDoorBlock.toggle
(BlockState p_312094_, Level p_312235_, BlockPos p_312619_, Player p_312853_) protected boolean
BaseEntityBlock.triggerEvent
(BlockState p_49226_, Level p_49227_, BlockPos p_49228_, int p_49229_, int p_49230_) protected boolean
ComparatorBlock.triggerEvent
(BlockState p_51874_, Level p_51875_, BlockPos p_51876_, int p_51877_, int p_51878_) protected boolean
NoteBlock.triggerEvent
(BlockState p_55023_, Level p_55024_, BlockPos p_55025_, int p_55026_, int p_55027_) protected void
SpongeBlock.tryAbsorbWater
(Level p_56798_, BlockPos p_56799_) static boolean
LecternBlock.tryPlaceBook
(LivingEntity p_347473_, Level p_270604_, BlockPos p_270276_, BlockState p_270445_, ItemStack p_270458_) static void
SculkSensorBlock.tryResonateVibration
(Entity p_279315_, Level p_277804_, BlockPos p_277458_, int p_277347_) private void
BeehiveBlock.trySpawnDripParticles
(Level p_49604_, BlockPos p_49605_, BlockState p_49606_) private void
CarvedPumpkinBlock.trySpawnGolem
(Level p_51379_, BlockPos p_51380_) static void
FarmBlock.turnToDirt
(Entity p_270981_, BlockState p_270402_, Level p_270568_, BlockPos p_270551_) private static void
LecternBlock.updateBelow
(Level p_54545_, BlockPos p_54546_, BlockState p_54547_) protected BlockState
BaseRailBlock.updateDir
(Level p_49368_, BlockPos p_49369_, BlockState p_49370_, boolean p_49371_) protected void
DiodeBlock.updateNeighborsInFront
(Level p_52581_, BlockPos p_52582_, BlockState p_52583_) protected void
ObserverBlock.updateNeighborsInFront
(Level p_55089_, BlockPos p_55090_, BlockState p_55091_) private void
RedStoneWireBlock.updateNeighborsOfNeighboringWires
(Level p_55638_, BlockPos p_55639_) protected void
BasePressurePlateBlock.updateNeighbours
(Level p_49292_, BlockPos p_49293_) private void
ButtonBlock.updateNeighbours
(BlockState p_51125_, Level p_51126_, BlockPos p_51127_) private void
LeverBlock.updateNeighbours
(BlockState p_54681_, Level p_54682_, BlockPos p_54683_) private void
LightningRodBlock.updateNeighbours
(BlockState p_153765_, Level p_153766_, BlockPos p_153767_) private static void
SculkSensorBlock.updateNeighbours
(Level p_278067_, BlockPos p_277440_, BlockState p_277354_) static void
CarvedPumpkinBlock.updatePatternBlocks
(Level p_248711_, BlockPattern.BlockPatternMatch p_251935_) private void
RedStoneWireBlock.updatePowerStrength
(Level p_55531_, BlockPos p_55532_, BlockState p_55533_) protected void
DetectorRailBlock.updatePowerToConnected
(Level p_52473_, BlockPos p_52474_, BlockState p_52475_, boolean p_52476_) private static void
DaylightDetectorBlock.updateSignalStrength
(BlockState p_52411_, Level p_52412_, BlockPos p_52413_) private void
RedStoneWireBlock.updatesOnShapeChange
(Level p_55535_, BlockPos p_55536_, BlockState p_55537_, BlockState p_55538_) private void
TripWireBlock.updateSource
(Level p_57611_, BlockPos p_57612_, BlockState p_57613_) protected BlockState
BaseRailBlock.updateState
(BlockState p_49390_, Level p_49391_, BlockPos p_49392_, boolean p_49393_) protected void
BaseRailBlock.updateState
(BlockState p_49372_, Level p_49373_, BlockPos p_49374_, Block p_49375_) protected void
PoweredRailBlock.updateState
(BlockState p_55232_, Level p_55233_, BlockPos p_55234_, Block p_55235_) protected void
RailBlock.updateState
(BlockState p_55397_, Level p_55398_, BlockPos p_55399_, Block p_55400_) static InteractionResult
CaveVines.use
(Entity p_270738_, BlockState p_270772_, Level p_270721_, BlockPos p_270587_) protected ItemInteractionResult
AbstractCauldronBlock.useItemOn
(ItemStack p_316791_, BlockState p_316287_, Level p_316530_, BlockPos p_316585_, Player p_316671_, InteractionHand p_316186_, BlockHitResult p_316294_) protected ItemInteractionResult
BeehiveBlock.useItemOn
(ItemStack p_316844_, BlockState p_316365_, Level p_316306_, BlockPos p_316497_, Player p_316824_, InteractionHand p_316436_, BlockHitResult p_316125_) protected ItemInteractionResult
CakeBlock.useItemOn
(ItemStack p_316238_, BlockState p_316837_, Level p_316766_, BlockPos p_316227_, Player p_316853_, InteractionHand p_316422_, BlockHitResult p_316869_) protected ItemInteractionResult
CampfireBlock.useItemOn
(ItemStack p_316347_, BlockState p_51274_, Level p_51275_, BlockPos p_51276_, Player p_51277_, InteractionHand p_51278_, BlockHitResult p_51279_) protected ItemInteractionResult
CandleBlock.useItemOn
(ItemStack p_316279_, BlockState p_316163_, Level p_316881_, BlockPos p_316480_, Player p_316191_, InteractionHand p_316669_, BlockHitResult p_316641_) protected ItemInteractionResult
CandleCakeBlock.useItemOn
(ItemStack p_316571_, BlockState p_316514_, Level p_316171_, BlockPos p_316112_, Player p_316172_, InteractionHand p_316257_, BlockHitResult p_316286_) protected ItemInteractionResult
CeilingHangingSignBlock.useItemOn
(ItemStack p_316602_, BlockState p_316839_, Level p_316805_, BlockPos p_316894_, Player p_316202_, InteractionHand p_316538_, BlockHitResult p_316895_) protected ItemInteractionResult
ChiseledBookShelfBlock.useItemOn
(ItemStack p_316457_, BlockState p_316201_, Level p_316747_, BlockPos p_316462_, Player p_316228_, InteractionHand p_316721_, BlockHitResult p_316464_) protected ItemInteractionResult
ComposterBlock.useItemOn
(ItemStack p_316332_, BlockState p_316118_, Level p_316624_, BlockPos p_316660_, Player p_316715_, InteractionHand p_316472_, BlockHitResult p_316606_) protected ItemInteractionResult
DecoratedPotBlock.useItemOn
(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected ItemInteractionResult
FenceBlock.useItemOn
(ItemStack p_316871_, BlockState p_316305_, Level p_316763_, BlockPos p_316504_, Player p_316364_, InteractionHand p_316507_, BlockHitResult p_316760_) protected ItemInteractionResult
FlowerPotBlock.useItemOn
(ItemStack p_316610_, BlockState p_316240_, Level p_316456_, BlockPos p_316502_, Player p_316491_, InteractionHand p_316444_, BlockHitResult p_316826_) protected ItemInteractionResult
JukeboxBlock.useItemOn
(ItemStack p_350348_, BlockState p_351033_, Level p_350995_, BlockPos p_350838_, Player p_350684_, InteractionHand p_350461_, BlockHitResult p_351025_) protected ItemInteractionResult
LecternBlock.useItemOn
(ItemStack p_316392_, BlockState p_316600_, Level p_316640_, BlockPos p_316673_, Player p_316670_, InteractionHand p_316384_, BlockHitResult p_316419_) protected ItemInteractionResult
NoteBlock.useItemOn
(ItemStack p_316716_, BlockState p_316688_, Level p_316672_, BlockPos p_316355_, Player p_316822_, InteractionHand p_316505_, BlockHitResult p_316667_) protected ItemInteractionResult
PumpkinBlock.useItemOn
(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected ItemInteractionResult
RedStoneOreBlock.useItemOn
(ItemStack p_316235_, BlockState p_316208_, Level p_316432_, BlockPos p_316592_, Player p_316564_, InteractionHand p_316389_, BlockHitResult p_316390_) protected ItemInteractionResult
RespawnAnchorBlock.useItemOn
(ItemStack p_316531_, BlockState p_316665_, Level p_316165_, BlockPos p_316402_, Player p_316556_, InteractionHand p_316586_, BlockHitResult p_316326_) protected ItemInteractionResult
SignBlock.useItemOn
(ItemStack p_316116_, BlockState p_316899_, Level p_316692_, BlockPos p_316578_, Player p_316244_, InteractionHand p_316196_, BlockHitResult p_316744_) protected ItemInteractionResult
SweetBerryBushBlock.useItemOn
(ItemStack p_316636_, BlockState p_316295_, Level p_316812_, BlockPos p_316380_, Player p_316731_, InteractionHand p_316188_, BlockHitResult p_316626_) protected ItemInteractionResult
TntBlock.useItemOn
(ItemStack p_316149_, BlockState p_316217_, Level p_316520_, BlockPos p_316601_, Player p_316770_, InteractionHand p_316393_, BlockHitResult p_316532_) VaultBlock.useItemOn
(ItemStack p_324161_, BlockState p_323816_, Level p_324403_, BlockPos p_324623_, Player p_324219_, InteractionHand p_324416_, BlockHitResult p_324261_) protected ItemInteractionResult
WallHangingSignBlock.useItemOn
(ItemStack p_316420_, BlockState p_316885_, Level p_316114_, BlockPos p_316297_, Player p_316609_, InteractionHand p_316187_, BlockHitResult p_316223_) protected InteractionResult
AbstractFurnaceBlock.useWithoutItem
(BlockState p_48706_, Level p_48707_, BlockPos p_48708_, Player p_48709_, BlockHitResult p_48711_) protected InteractionResult
AnvilBlock.useWithoutItem
(BlockState p_48804_, Level p_48805_, BlockPos p_48806_, Player p_48807_, BlockHitResult p_48809_) protected InteractionResult
BarrelBlock.useWithoutItem
(BlockState p_49069_, Level p_49070_, BlockPos p_49071_, Player p_49072_, BlockHitResult p_49074_) protected InteractionResult
BeaconBlock.useWithoutItem
(BlockState p_49432_, Level p_49433_, BlockPos p_49434_, Player p_49435_, BlockHitResult p_49437_) protected InteractionResult
BedBlock.useWithoutItem
(BlockState p_49515_, Level p_49516_, BlockPos p_49517_, Player p_49518_, BlockHitResult p_49520_) protected InteractionResult
BellBlock.useWithoutItem
(BlockState p_49722_, Level p_49723_, BlockPos p_49724_, Player p_49725_, BlockHitResult p_49727_) protected InteractionResult
BrewingStandBlock.useWithoutItem
(BlockState p_50930_, Level p_50931_, BlockPos p_50932_, Player p_50933_, BlockHitResult p_50935_) protected InteractionResult
ButtonBlock.useWithoutItem
(BlockState p_316833_, Level p_316124_, BlockPos p_316184_, Player p_316845_, BlockHitResult p_316247_) protected InteractionResult
CakeBlock.useWithoutItem
(BlockState p_316481_, Level p_316406_, BlockPos p_316218_, Player p_316212_, BlockHitResult p_316525_) protected InteractionResult
CandleCakeBlock.useWithoutItem
(BlockState p_316519_, Level p_316226_, BlockPos p_316122_, Player p_316438_, BlockHitResult p_316849_) protected InteractionResult
CartographyTableBlock.useWithoutItem
(BlockState p_51357_, Level p_51358_, BlockPos p_51359_, Player p_51360_, BlockHitResult p_51362_) protected InteractionResult
CaveVinesBlock.useWithoutItem
(BlockState p_152980_, Level p_152981_, BlockPos p_152982_, Player p_152983_, BlockHitResult p_152985_) protected InteractionResult
CaveVinesPlantBlock.useWithoutItem
(BlockState p_153021_, Level p_153022_, BlockPos p_153023_, Player p_153024_, BlockHitResult p_153026_) protected InteractionResult
ChestBlock.useWithoutItem
(BlockState p_51531_, Level p_51532_, BlockPos p_51533_, Player p_51534_, BlockHitResult p_51536_) protected InteractionResult
ChiseledBookShelfBlock.useWithoutItem
(BlockState p_316403_, Level p_316842_, BlockPos p_316539_, Player p_316349_, BlockHitResult p_316278_) protected InteractionResult
CommandBlock.useWithoutItem
(BlockState p_51825_, Level p_51826_, BlockPos p_51827_, Player p_51828_, BlockHitResult p_51830_) protected InteractionResult
ComparatorBlock.useWithoutItem
(BlockState p_51880_, Level p_51881_, BlockPos p_51882_, Player p_51883_, BlockHitResult p_51885_) protected InteractionResult
ComposterBlock.useWithoutItem
(BlockState p_316361_, Level p_316271_, BlockPos p_316647_, Player p_316633_, BlockHitResult p_316555_) protected InteractionResult
CrafterBlock.useWithoutItem
(BlockState p_307454_, Level p_307255_, BlockPos p_307303_, Player p_307670_, BlockHitResult p_307546_) protected InteractionResult
CraftingTableBlock.useWithoutItem
(BlockState p_52233_, Level p_52234_, BlockPos p_52235_, Player p_52236_, BlockHitResult p_52238_) protected InteractionResult
DaylightDetectorBlock.useWithoutItem
(BlockState p_52391_, Level p_52392_, BlockPos p_52393_, Player p_52394_, BlockHitResult p_52396_) protected InteractionResult
DecoratedPotBlock.useWithoutItem
(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResult
DispenserBlock.useWithoutItem
(BlockState p_52693_, Level p_52694_, BlockPos p_52695_, Player p_52696_, BlockHitResult p_52698_) protected InteractionResult
DoorBlock.useWithoutItem
(BlockState p_52769_, Level p_52770_, BlockPos p_52771_, Player p_52772_, BlockHitResult p_52774_) protected InteractionResult
DragonEggBlock.useWithoutItem
(BlockState p_52923_, Level p_52924_, BlockPos p_52925_, Player p_52926_, BlockHitResult p_52928_) protected InteractionResult
EnchantingTableBlock.useWithoutItem
(BlockState p_341077_, Level p_341293_, BlockPos p_341394_, Player p_340990_, BlockHitResult p_341300_) protected InteractionResult
EnderChestBlock.useWithoutItem
(BlockState p_53137_, Level p_53138_, BlockPos p_53139_, Player p_53140_, BlockHitResult p_53142_) protected InteractionResult
FenceBlock.useWithoutItem
(BlockState p_316111_, Level p_316725_, BlockPos p_316646_, Player p_316453_, BlockHitResult p_316769_) protected InteractionResult
FenceGateBlock.useWithoutItem
(BlockState p_53365_, Level p_53366_, BlockPos p_53367_, Player p_53368_, BlockHitResult p_53370_) protected InteractionResult
FletchingTableBlock.useWithoutItem
(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResult
FlowerPotBlock.useWithoutItem
(BlockState p_316363_, Level p_316655_, BlockPos p_316654_, Player p_316338_, BlockHitResult p_316518_) protected InteractionResult
GrindstoneBlock.useWithoutItem
(BlockState p_53821_, Level p_53822_, BlockPos p_53823_, Player p_53824_, BlockHitResult p_53826_) protected InteractionResult
HopperBlock.useWithoutItem
(BlockState p_54071_, Level p_54072_, BlockPos p_54073_, Player p_54074_, BlockHitResult p_54076_) protected InteractionResult
JigsawBlock.useWithoutItem
(BlockState p_54231_, Level p_54232_, BlockPos p_54233_, Player p_54234_, BlockHitResult p_54236_) protected InteractionResult
JukeboxBlock.useWithoutItem
(BlockState p_54281_, Level p_54282_, BlockPos p_54283_, Player p_54284_, BlockHitResult p_54286_) protected InteractionResult
LecternBlock.useWithoutItem
(BlockState p_316164_, Level p_316515_, BlockPos p_316598_, Player p_316584_, BlockHitResult p_316197_) protected InteractionResult
LeverBlock.useWithoutItem
(BlockState p_54640_, Level p_54641_, BlockPos p_54642_, Player p_54643_, BlockHitResult p_54645_) protected InteractionResult
LightBlock.useWithoutItem
(BlockState p_153673_, Level p_153674_, BlockPos p_153675_, Player p_153676_, BlockHitResult p_153678_) protected InteractionResult
LoomBlock.useWithoutItem
(BlockState p_54787_, Level p_54788_, BlockPos p_54789_, Player p_54790_, BlockHitResult p_54792_) protected InteractionResult
NoteBlock.useWithoutItem
(BlockState p_316441_, Level p_316774_, BlockPos p_316344_, Player p_316884_, BlockHitResult p_316631_) protected InteractionResult
RedStoneWireBlock.useWithoutItem
(BlockState p_55554_, Level p_55555_, BlockPos p_55556_, Player p_55557_, BlockHitResult p_55559_) protected InteractionResult
RepeaterBlock.useWithoutItem
(BlockState p_55809_, Level p_55810_, BlockPos p_55811_, Player p_55812_, BlockHitResult p_55814_) protected InteractionResult
RespawnAnchorBlock.useWithoutItem
(BlockState p_316377_, Level p_316150_, BlockPos p_316161_, Player p_316889_, BlockHitResult p_316358_) protected InteractionResult
ShulkerBoxBlock.useWithoutItem
(BlockState p_56227_, Level p_56228_, BlockPos p_56229_, Player p_56230_, BlockHitResult p_56232_) protected InteractionResult
SignBlock.useWithoutItem
(BlockState p_316779_, Level p_316615_, BlockPos p_316127_, Player p_316173_, BlockHitResult p_316850_) protected InteractionResult
SmithingTableBlock.useWithoutItem
(BlockState p_56428_, Level p_56429_, BlockPos p_56430_, Player p_56431_, BlockHitResult p_56433_) protected InteractionResult
StonecutterBlock.useWithoutItem
(BlockState p_57083_, Level p_57084_, BlockPos p_57085_, Player p_57086_, BlockHitResult p_57088_) protected InteractionResult
StructureBlock.useWithoutItem
(BlockState p_57128_, Level p_57129_, BlockPos p_57130_, Player p_57131_, BlockHitResult p_57133_) protected InteractionResult
SweetBerryBushBlock.useWithoutItem
(BlockState p_316134_, Level p_316429_, BlockPos p_316748_, Player p_316431_, BlockHitResult p_316474_) protected InteractionResult
TrapDoorBlock.useWithoutItem
(BlockState p_57540_, Level p_57541_, BlockPos p_57542_, Player p_57543_, BlockHitResult p_57545_) void
Block.wasExploded
(Level p_49844_, BlockPos p_49845_, Explosion p_49846_) void
TntBlock.wasExploded
(Level p_57441_, BlockPos p_57442_, Explosion p_57443_) -
Uses of Level in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionstatic void
SkullBlockEntity.animation
(Level p_261710_, BlockPos p_262153_, BlockState p_262021_, SkullBlockEntity p_261594_) private static void
ConduitBlockEntity.animationTick
(Level p_155419_, BlockPos p_155420_, List<BlockPos> p_155421_, Entity p_155422_, int p_155423_) private static void
BeaconBlockEntity.applyEffects
(Level p_155098_, BlockPos p_155099_, int p_155100_, Holder<MobEffect> p_316599_, Holder<MobEffect> p_316343_) private static void
ConduitBlockEntity.applyEffects
(Level p_155444_, BlockPos p_155445_, List<BlockPos> p_155446_) static void
TheEndGatewayBlockEntity.beamAnimationTick
(Level p_155835_, BlockPos p_155836_, BlockState p_155837_, TheEndGatewayBlockEntity p_155838_) static void
EnchantingTableBlockEntity.bookAnimationTick
(Level p_341315_, BlockPos p_341271_, BlockState p_341158_, EnchantingTableBlockEntity p_341066_) private void
SignBlockEntity.clearInvalidPlayerWhoMayEdit
(SignBlockEntity p_277656_, Level p_277853_, UUID p_277849_) static void
BellBlockEntity.clientTick
(Level p_155176_, BlockPos p_155177_, BlockState p_155178_, BellBlockEntity p_155179_) static void
ConduitBlockEntity.clientTick
(Level p_155404_, BlockPos p_155405_, BlockState p_155406_, ConduitBlockEntity p_155407_) static void
SpawnerBlockEntity.clientTick
(Level p_155755_, BlockPos p_155756_, BlockState p_155757_, SpawnerBlockEntity p_155758_) static void
CampfireBlockEntity.cookTick
(Level p_155307_, BlockPos p_155308_, BlockState p_155309_, CampfireBlockEntity p_155310_) static void
CampfireBlockEntity.cooldownTick
(Level p_155314_, BlockPos p_155315_, BlockState p_155316_, CampfireBlockEntity p_155317_) private static CommandSourceStack
SignBlockEntity.createCommandSourceStack
(Player p_279428_, Level p_279359_, BlockPos p_279430_) BeehiveBlockEntity.Occupant.createEntity
(Level p_331790_, BlockPos p_330712_) void
ContainerOpenersCounter.decrementOpeners
(Player p_155469_, Level p_155470_, BlockPos p_155471_, BlockState p_155472_) private static void
BrewingStandBlockEntity.doBrew
(Level p_155291_, BlockPos p_155292_, NonNullList<ItemStack> p_155293_) private static void
ShulkerBoxBlockEntity.doNeighborUpdates
(Level p_155688_, BlockPos p_155689_, BlockState p_155690_) private static boolean
HopperBlockEntity.ejectItems
(Level p_155563_, BlockPos p_155564_, HopperBlockEntity p_326256_) static void
HopperBlockEntity.entityInside
(Level p_155568_, BlockPos p_155569_, BlockState p_155570_, Entity p_155571_, HopperBlockEntity p_155572_) boolean
SignBlockEntity.executeClickCommandsIfPresent
(Player p_279304_, Level p_279201_, BlockPos p_278282_, boolean p_278254_) private static LivingEntity
ConduitBlockEntity.findDestroyTarget
(Level p_155425_, BlockPos p_155426_, UUID p_155427_) private static BlockPos
TheEndGatewayBlockEntity.findExitPosition
(Level p_155826_, BlockPos p_155827_) private static Container
HopperBlockEntity.getAttachedContainer
(Level p_155593_, BlockPos p_155594_, HopperBlockEntity p_326320_) private int
CalibratedSculkSensorBlockEntity.VibrationUser.getBackSignal
(Level p_282204_, BlockPos p_282397_, BlockState p_282240_) private static Container
HopperBlockEntity.getBlockContainer
(Level p_326127_, BlockPos p_326017_, BlockState p_326108_) private static LevelChunk
static Container
HopperBlockEntity.getContainerAt
(Level p_59391_, BlockPos p_59392_) private static Container
HopperBlockEntity.getContainerAt
(Level p_59348_, BlockPos p_326114_, BlockState p_326445_, double p_59349_, double p_59350_, double p_59351_) private static Container
HopperBlockEntity.getEntityContainer
(Level p_326325_, double p_326012_, double p_326191_, double p_326289_) static List
<ItemEntity> HopperBlockEntity.getItemsAtAndAbove
(Level p_155590_, Hopper p_155591_) ContainerOpenersCounter.getPlayersWithContainerOpen
(Level p_320335_, BlockPos p_320624_) private static Container
HopperBlockEntity.getSourceContainer
(Level p_155597_, Hopper p_155598_, BlockPos p_326315_, BlockState p_326093_) private static int
AbstractFurnaceBlockEntity.getTotalCookTime
(Level p_222693_, AbstractFurnaceBlockEntity p_222694_) void
ContainerOpenersCounter.incrementOpeners
(Player p_155453_, Level p_155454_, BlockPos p_155455_, BlockState p_155456_) static void
ChestBlockEntity.lidAnimateTick
(Level p_155344_, BlockPos p_155345_, BlockState p_155346_, ChestBlockEntity p_155347_) static void
EnderChestBlockEntity.lidAnimateTick
(Level p_155518_, BlockPos p_155519_, BlockState p_155520_, EnderChestBlockEntity p_155521_) private static void
BellBlockEntity.makeRaidersGlow
(Level p_155187_, BlockPos p_155188_, List<LivingEntity> p_155189_) private void
ShulkerBoxBlockEntity.moveCollidedEntities
(Level p_155684_, BlockPos p_155685_, BlockState p_155686_) protected abstract void
ContainerOpenersCounter.onClose
(Level p_155473_, BlockPos p_155474_, BlockState p_155475_) protected abstract void
ContainerOpenersCounter.onOpen
(Level p_155460_, BlockPos p_155461_, BlockState p_155462_) protected abstract void
ContainerOpenersCounter.openerCountChanged
(Level p_155463_, BlockPos p_155464_, BlockState p_155465_, int p_155466_, int p_155467_) static void
CampfireBlockEntity.particleTick
(Level p_155319_, BlockPos p_155320_, BlockState p_155321_, CampfireBlockEntity p_155322_) static void
BeaconBlockEntity.playSound
(Level p_155104_, BlockPos p_155105_, SoundEvent p_155106_) (package private) static void
ChestBlockEntity.playSound
(Level p_155339_, BlockPos p_155340_, BlockState p_155341_, SoundEvent p_155342_) private void
SculkShriekerBlockEntity.playWardenReplySound
(Level p_281300_) static void
TheEndGatewayBlockEntity.portalTick
(Level p_350841_, BlockPos p_350745_, BlockState p_350476_, TheEndGatewayBlockEntity p_350562_) static void
HopperBlockEntity.pushItemsTick
(Level p_155574_, BlockPos p_155575_, BlockState p_155576_, HopperBlockEntity p_155577_) void
ContainerOpenersCounter.recheckOpeners
(Level p_155477_, BlockPos p_155478_, BlockState p_155479_) private static boolean
BeehiveBlockEntity.releaseOccupant
(Level p_155137_, BlockPos p_155138_, BlockState p_155139_, BeehiveBlockEntity.Occupant p_332184_, List<Entity> p_155141_, BeehiveBlockEntity.BeeReleaseStatus p_155142_, BlockPos p_155143_) void
BellBlockEntity.ResonationEndAction.run
(Level p_155221_, BlockPos p_155222_, List<LivingEntity> p_155223_) private static void
ContainerOpenersCounter.scheduleRecheck
(Level p_155481_, BlockPos p_155482_, BlockState p_155483_) static void
AbstractFurnaceBlockEntity.serverTick
(Level p_155014_, BlockPos p_155015_, BlockState p_155016_, AbstractFurnaceBlockEntity p_155017_) static void
BeehiveBlockEntity.serverTick
(Level p_155145_, BlockPos p_155146_, BlockState p_155147_, BeehiveBlockEntity p_155148_) static void
BellBlockEntity.serverTick
(Level p_155203_, BlockPos p_155204_, BlockState p_155205_, BellBlockEntity p_155206_) static void
BrewingStandBlockEntity.serverTick
(Level p_155286_, BlockPos p_155287_, BlockState p_155288_, BrewingStandBlockEntity p_155289_) static void
ConduitBlockEntity.serverTick
(Level p_155439_, BlockPos p_155440_, BlockState p_155441_, ConduitBlockEntity p_155442_) static void
CrafterBlockEntity.serverTick
(Level p_307316_, BlockPos p_307463_, BlockState p_307350_, CrafterBlockEntity p_307265_) static void
SculkCatalystBlockEntity.serverTick
(Level p_222780_, BlockPos p_222781_, BlockState p_222782_, SculkCatalystBlockEntity p_222783_) static void
SpawnerBlockEntity.serverTick
(Level p_155762_, BlockPos p_155763_, BlockState p_155764_, SpawnerBlockEntity p_155765_) protected static void
BlockEntity.setChanged
(Level p_155233_, BlockPos p_155234_, BlockState p_155235_) void
void
void
TrialSpawnerBlockEntity.setState
(Level p_311786_, TrialSpawnerState p_312721_) private static void
BellBlockEntity.showBellParticles
(Level p_155208_, BlockPos p_155209_, List<LivingEntity> p_155210_) protected void
ChestBlockEntity.signalOpenCount
(Level p_155333_, BlockPos p_155334_, BlockState p_155335_, int p_155336_, int p_155337_) protected void
TrappedChestBlockEntity.signalOpenCount
(Level p_155865_, BlockPos p_155866_, BlockState p_155867_, int p_155868_, int p_155869_) static boolean
HopperBlockEntity.suckInItems
(Level p_155553_, Hopper p_155554_) static void
BeaconBlockEntity.tick
(Level p_155108_, BlockPos p_155109_, BlockState p_155110_, BeaconBlockEntity p_155111_) private static void
BellBlockEntity.tick
(Level p_155181_, BlockPos p_155182_, BlockState p_155183_, BellBlockEntity p_155184_, BellBlockEntity.ResonationEndAction p_155185_) void
BlockEntityTicker.tick
(Level p_155253_, BlockPos p_155254_, BlockState p_155255_, T p_155256_) static void
JukeboxBlockEntity.tick
(Level p_273615_, BlockPos p_273143_, BlockState p_273372_, JukeboxBlockEntity p_350984_) static void
ShulkerBoxBlockEntity.tick
(Level p_155673_, BlockPos p_155674_, BlockState p_155675_, ShulkerBoxBlockEntity p_155676_) static void
SignBlockEntity.tick
(Level p_277662_, BlockPos p_278050_, BlockState p_277927_, SignBlockEntity p_277928_) private static void
BeehiveBlockEntity.tickOccupants
(Level p_155150_, BlockPos p_155151_, BlockState p_155152_, List<BeehiveBlockEntity.BeeData> p_155153_, BlockPos p_155154_) static void
TheEndGatewayBlockEntity.triggerCooldown
(Level p_155850_, BlockPos p_155851_, BlockState p_155852_, TheEndGatewayBlockEntity p_155853_) private void
SculkCatalystBlockEntity.CatalystListener.tryAwardItSpreadsAdvancement
(Level p_281279_, LivingEntity p_281378_) private static boolean
HopperBlockEntity.tryMoveItems
(Level p_155579_, BlockPos p_155580_, BlockState p_155581_, HopperBlockEntity p_155582_, BooleanSupplier p_155583_) private void
ShulkerBoxBlockEntity.updateAnimation
(Level p_155680_, BlockPos p_155681_, BlockState p_155682_) private static int
BeaconBlockEntity.updateBase
(Level p_155093_, int p_155094_, int p_155095_, int p_155096_) private static void
ConduitBlockEntity.updateClientTarget
(Level p_155400_, BlockPos p_155401_, ConduitBlockEntity p_155402_) private static void
ConduitBlockEntity.updateDestroyTarget
(Level p_155409_, BlockPos p_155410_, BlockState p_155411_, List<BlockPos> p_155412_, ConduitBlockEntity p_155413_) private static boolean
ConduitBlockEntity.updateShape
(Level p_155415_, BlockPos p_155416_, List<BlockPos> p_155417_) -
Uses of Level in net.minecraft.world.level.block.entity.trialspawner
Modifier and TypeMethodDescriptionstatic void
TrialSpawner.addBecomeOminousParticles
(Level p_338657_, BlockPos p_338406_, RandomSource p_338527_) static void
TrialSpawner.addDetectPlayerParticles
(Level p_312225_, BlockPos p_311759_, RandomSource p_312553_, int p_312188_, ParticleOptions p_338522_) static void
TrialSpawner.addEjectItemParticles
(Level p_312009_, BlockPos p_312583_, RandomSource p_312715_) private static void
TrialSpawnerState.ParticleEmission.addParticle
(SimpleParticleType p_312519_, Vec3 p_312023_, Level p_311937_) static void
TrialSpawner.addSpawnParticles
(Level p_312303_, BlockPos p_312392_, RandomSource p_312825_, SimpleParticleType p_338426_) boolean
TrialSpawner.canSpawnInLevel
(Level p_312615_) void
TrialSpawnerState.ParticleEmission.emit
(Level p_312730_, RandomSource p_312474_, BlockPos p_312127_, boolean p_338742_) void
TrialSpawnerState.emitParticles
(Level p_312507_, BlockPos p_312610_, boolean p_338615_) TrialSpawnerData.getOrCreateDisplayEntity
(TrialSpawner p_312366_, Level p_312148_, TrialSpawnerState p_311790_) private static boolean
PlayerDetector.inLineOfSight
(Level p_338760_, Vec3 p_338259_, Vec3 p_338810_) private static boolean
TrialSpawner.inLineOfSight
(Level p_312623_, Vec3 p_312390_, Vec3 p_312652_) void
TrialSpawner.setState
(Level p_312688_, TrialSpawnerState p_312718_) void
TrialSpawner.StateAccessor.setState
(Level p_312617_, TrialSpawnerState p_312288_) void
TrialSpawner.tickClient
(Level p_312771_, BlockPos p_312484_, boolean p_338382_) -
Uses of Level in net.minecraft.world.level.block.entity.vault
Modifier and TypeMethodDescriptionstatic void
VaultBlockEntity.Client.emitActivationParticles
(Level p_323761_, BlockPos p_324150_, BlockState p_324527_, VaultSharedData p_324466_, ParticleOptions p_338551_) private static void
VaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers
(Level p_324593_, BlockPos p_324162_, BlockState p_324246_, VaultSharedData p_323584_) private static void
VaultBlockEntity.Client.emitConnectionParticlesForPlayer
(Level p_323629_, Vec3 p_324592_, Player p_324428_) static void
VaultBlockEntity.Client.emitDeactivationParticles
(Level p_324419_, BlockPos p_324587_, ParticleOptions p_338582_) private static void
VaultBlockEntity.Client.emitIdleParticles
(Level p_324004_, BlockPos p_324516_, VaultSharedData p_324173_, ParticleOptions p_338823_) private static void
VaultBlockEntity.Client.playIdleSounds
(Level p_323802_, BlockPos p_323510_, VaultSharedData p_324457_) static void
VaultBlockEntity.Client.tick
(Level p_324312_, BlockPos p_323810_, BlockState p_323862_, VaultClientData p_324314_, VaultSharedData p_323914_) -
Uses of Level in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionprivate void
PistonBaseBlock.checkIfExtend
(Level p_60168_, BlockPos p_60169_, BlockState p_60170_) <T extends BlockEntity>
BlockEntityTicker<T> MovingPistonBlock.getTicker
(Level p_155875_, BlockState p_155876_, BlockEntityType<T> p_155877_) static boolean
PistonBaseBlock.isPushable
(BlockState p_60205_, Level p_60206_, BlockPos p_60207_, Direction p_60208_, boolean p_60209_, Direction p_60210_) private boolean
PistonBaseBlock.moveBlocks
(Level p_60182_, BlockPos p_60183_, Direction p_60184_, boolean p_60185_) private static void
PistonMovingBlockEntity.moveCollidedEntities
(Level p_155911_, BlockPos p_155912_, float p_155913_, PistonMovingBlockEntity p_155914_) private static void
PistonMovingBlockEntity.moveStuckEntities
(Level p_155932_, BlockPos p_155933_, float p_155934_, PistonMovingBlockEntity p_155935_) protected void
PistonBaseBlock.neighborChanged
(BlockState p_60198_, Level p_60199_, BlockPos p_60200_, Block p_60201_, BlockPos p_60202_, boolean p_60203_) protected void
PistonHeadBlock.neighborChanged
(BlockState p_60275_, Level p_60276_, BlockPos p_60277_, Block p_60278_, BlockPos p_60279_, boolean p_60280_) protected void
PistonBaseBlock.onPlace
(BlockState p_60225_, Level p_60226_, BlockPos p_60227_, BlockState p_60228_, boolean p_60229_) protected void
MovingPistonBlock.onRemove
(BlockState p_60077_, Level p_60078_, BlockPos p_60079_, BlockState p_60080_, boolean p_60081_) protected void
PistonHeadBlock.onRemove
(BlockState p_60282_, Level p_60283_, BlockPos p_60284_, BlockState p_60285_, boolean p_60286_) PistonHeadBlock.playerWillDestroy
(Level p_60265_, BlockPos p_60266_, BlockState p_60267_, Player p_60268_) void
void
PistonBaseBlock.setPlacedBy
(Level p_60172_, BlockPos p_60173_, BlockState p_60174_, LivingEntity p_60175_, ItemStack p_60176_) static void
PistonMovingBlockEntity.tick
(Level p_155916_, BlockPos p_155917_, BlockState p_155918_, PistonMovingBlockEntity p_155919_) protected boolean
PistonBaseBlock.triggerEvent
(BlockState p_60192_, Level p_60193_, BlockPos p_60194_, int p_60195_, int p_60196_) protected InteractionResult
MovingPistonBlock.useWithoutItem
(BlockState p_60070_, Level p_60071_, BlockPos p_60072_, Player p_60073_, BlockHitResult p_60075_) ModifierConstructorDescriptionPistonStructureResolver
(Level p_60418_, BlockPos p_60419_, Direction p_60420_, boolean p_60421_) -
Uses of Level in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionprotected void
BlockBehaviour.attack
(BlockState p_60499_, Level p_60500_, BlockPos p_60501_, Player p_60502_) void
void
BlockBehaviour.BlockStateBase.entityInside
(Level p_60683_, BlockPos p_60684_, Entity p_60685_) protected void
BlockBehaviour.entityInside
(BlockState p_60495_, Level p_60496_, BlockPos p_60497_, Entity p_60498_) int
BlockBehaviour.BlockStateBase.getAnalogOutputSignal
(Level p_60675_, BlockPos p_60676_) protected int
BlockBehaviour.getAnalogOutputSignal
(BlockState p_60487_, Level p_60488_, BlockPos p_60489_) BlockBehaviour.BlockStateBase.getMenuProvider
(Level p_60751_, BlockPos p_60752_) protected MenuProvider
BlockBehaviour.getMenuProvider
(BlockState p_60563_, Level p_60564_, BlockPos p_60565_) <T extends BlockEntity>
BlockEntityTicker<T> BlockBehaviour.BlockStateBase.getTicker
(Level p_155945_, BlockEntityType<T> p_155946_) void
BlockBehaviour.BlockStateBase.handleNeighborChanged
(Level p_60691_, BlockPos p_60692_, Block p_60693_, BlockPos p_60694_, boolean p_60695_) protected void
BlockBehaviour.neighborChanged
(BlockState p_60509_, Level p_60510_, BlockPos p_60511_, Block p_60512_, BlockPos p_60513_, boolean p_60514_) void
BlockBehaviour.BlockStateBase.onExplosionHit
(Level p_312839_, BlockPos p_311872_, Explosion p_312863_, BiConsumer<ItemStack, BlockPos> p_312559_) protected void
BlockBehaviour.onExplosionHit
(BlockState p_311951_, Level p_312820_, BlockPos p_312489_, Explosion p_312925_, BiConsumer<ItemStack, BlockPos> p_312073_) void
BlockBehaviour.BlockStateBase.onPlace
(Level p_60697_, BlockPos p_60698_, BlockState p_60699_, boolean p_60700_) protected void
BlockBehaviour.onPlace
(BlockState p_60566_, Level p_60567_, BlockPos p_60568_, BlockState p_60569_, boolean p_60570_) void
BlockBehaviour.BlockStateBase.onProjectileHit
(Level p_60670_, BlockState p_60671_, BlockHitResult p_60672_, Projectile p_60673_) protected void
BlockBehaviour.onProjectileHit
(Level p_60453_, BlockState p_60454_, BlockHitResult p_60455_, Projectile p_60456_) void
BlockBehaviour.BlockStateBase.onRemove
(Level p_60754_, BlockPos p_60755_, BlockState p_60756_, boolean p_60757_) protected void
BlockBehaviour.onRemove
(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) boolean
BlockBehaviour.BlockStateBase.triggerEvent
(Level p_60678_, BlockPos p_60679_, int p_60680_, int p_60681_) protected boolean
BlockBehaviour.triggerEvent
(BlockState p_60490_, Level p_60491_, BlockPos p_60492_, int p_60493_, int p_60494_) BlockBehaviour.BlockStateBase.useItemOn
(ItemStack p_316374_, Level p_316651_, Player p_316623_, InteractionHand p_316469_, BlockHitResult p_316877_) protected ItemInteractionResult
BlockBehaviour.useItemOn
(ItemStack p_316304_, BlockState p_316362_, Level p_316459_, BlockPos p_316366_, Player p_316132_, InteractionHand p_316595_, BlockHitResult p_316140_) BlockBehaviour.BlockStateBase.useWithoutItem
(Level p_316368_, Player p_316500_, BlockHitResult p_316346_) protected InteractionResult
BlockBehaviour.useWithoutItem
(BlockState p_60503_, Level p_60504_, BlockPos p_60505_, Player p_60506_, BlockHitResult p_60508_) -
Uses of Level in net.minecraft.world.level.chunk
ModifierConstructorDescriptionEmptyLevelChunk
(Level p_204422_, ChunkPos p_204423_, Holder<Biome> p_204424_) LevelChunk
(Level p_187945_, ChunkPos p_187946_) LevelChunk
(Level p_196854_, ChunkPos p_196855_, UpgradeData p_196856_, LevelChunkTicks<Block> p_196857_, LevelChunkTicks<Fluid> p_196858_, long p_196859_, LevelChunkSection[] p_196860_, LevelChunk.PostLoadProcessor p_196861_, BlendingData p_196862_) -
Uses of Level in net.minecraft.world.level.chunk.storage
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> RegionStorageInfo.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionRegionStorageInfo.dimension()
Returns the value of thedimension
record component.Modifier and TypeMethodDescriptionprivate LegacyStructureDataHandler
ChunkStorage.getLegacyStructureHandler
(ResourceKey<Level> p_223449_, Supplier<DimensionDataStorage> p_223450_) static void
ChunkStorage.injectDatafixingContext
(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_196921_) ChunkStorage.upgradeChunkTag
(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_188292_) ModifierConstructorDescriptionRegionStorageInfo
(String level, ResourceKey<Level> dimension, String type) Creates an instance of aRegionStorageInfo
record class. -
Uses of Level in net.minecraft.world.level.dimension
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult
<ResourceKey<Level>> DimensionType.parseLegacy
(com.mojang.serialization.Dynamic<?> p_63912_) Deprecated.Modifier and TypeMethodDescriptionstatic Path
DimensionType.getStorageFolder
(ResourceKey<Level> p_196976_, Path p_196977_) -
Uses of Level in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionBlockPositionSource.getPosition
(Level p_157708_) EntityPositionSource.getPosition
(Level p_157733_) PositionSource.getPosition
(Level p_157870_) private void
EntityPositionSource.resolveEntity
(Level p_223678_) -
Uses of Level in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeMethodDescriptionprivate static boolean
VibrationSystem.Ticker.areAdjacentChunksTicking
(Level p_282735_, BlockPos p_281722_) private static boolean
VibrationSystem.Listener.isOccluded
(Level p_283225_, Vec3 p_283328_, Vec3 p_283163_) static void
VibrationSystem.Ticker.tick
(Level p_281704_, VibrationSystem.Data p_282633_, VibrationSystem.User p_281564_) -
Uses of Level in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet
<ResourceKey<Level>> WorldDimensions.levels()
-
Uses of Level in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionstatic LegacyStructureDataHandler
LegacyStructureDataHandler.getLegacyStructureHandler
(ResourceKey<Level> p_71332_, DimensionDataStorage p_71333_) ModifierConstructorDescriptionStructureCheck
(ChunkScanAccess p_226712_, RegistryAccess p_226713_, StructureTemplateManager p_226714_, ResourceKey<Level> p_226715_, ChunkGenerator p_226716_, RandomState p_226717_, LevelHeightAccessor p_226718_, BiomeSource p_226719_, long p_226720_, com.mojang.datafixers.DataFixer p_226721_) -
Uses of Level in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionprivate void
StructureTemplate.fillEntityList
(Level p_74501_, BlockPos p_74502_, BlockPos p_74503_) void
StructureTemplate.fillFromWorld
(Level p_163803_, BlockPos p_163804_, Vec3i p_163805_, boolean p_163806_, Block p_163807_) -
Uses of Level in net.minecraft.world.level.material
Modifier and TypeMethodDescriptionprotected void
Fluid.animateTick
(Level p_230550_, BlockPos p_230551_, FluidState p_230552_, RandomSource p_230553_) void
FluidState.animateTick
(Level p_230559_, BlockPos p_230560_, RandomSource p_230561_) void
LavaFluid.animateTick
(Level p_230567_, BlockPos p_230568_, FluidState p_230569_, RandomSource p_230570_) void
WaterFluid.animateTick
(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) protected abstract boolean
FlowingFluid.canConvertToSource
(Level p_256009_) Deprecated.boolean
FlowingFluid.canConvertToSource
(FluidState state, Level level, BlockPos pos) protected boolean
LavaFluid.canConvertToSource
(Level p_256295_) protected boolean
WaterFluid.canConvertToSource
(Level p_256670_) protected FluidState
FlowingFluid.getNewLiquid
(Level p_256464_, BlockPos p_76037_, BlockState p_76038_) protected Map
<Direction, FluidState> FlowingFluid.getSpread
(Level p_256191_, BlockPos p_76081_, BlockState p_76082_) protected int
FlowingFluid.getSpreadDelay
(Level p_75998_, BlockPos p_75999_, FluidState p_76000_, FluidState p_76001_) int
LavaFluid.getSpreadDelay
(Level p_76203_, BlockPos p_76204_, FluidState p_76205_, FluidState p_76206_) protected void
Fluid.randomTick
(Level p_230554_, BlockPos p_230555_, FluidState p_230556_, RandomSource p_230557_) void
FluidState.randomTick
(Level p_230563_, BlockPos p_230564_, RandomSource p_230565_) void
LavaFluid.randomTick
(Level p_230572_, BlockPos p_230573_, FluidState p_230574_, RandomSource p_230575_) protected void
FlowingFluid.spread
(Level p_255851_, BlockPos p_76012_, FluidState p_76013_) private void
FlowingFluid.spreadToSides
(Level p_256644_, BlockPos p_76016_, FluidState p_76017_, BlockState p_76018_) void
FlowingFluid.tick
(Level p_75995_, BlockPos p_75996_, FluidState p_75997_) protected void
Fluid.tick
(Level p_76113_, BlockPos p_76114_, FluidState p_76115_) void
-
Uses of Level in net.minecraft.world.level.redstone
Modifier and TypeFieldDescriptionprivate final Level
CollectingNeighborUpdater.level
private final Level
InstantNeighborUpdater.level
Modifier and TypeMethodDescriptionstatic void
NeighborUpdater.executeUpdate
(Level p_230764_, BlockState p_230765_, BlockPos p_230766_, Block p_230767_, BlockPos p_230768_, boolean p_230769_) boolean
boolean
boolean
boolean
boolean
ModifierConstructorDescriptionCollectingNeighborUpdater
(Level p_230643_, int p_230644_) InstantNeighborUpdater
(Level p_230743_) -
Uses of Level in net.minecraft.world.level.saveddata.maps
Modifier and TypeMethodDescriptionstatic MapItemSavedData
MapItemSavedData.createForClient
(byte p_164777_, boolean p_164778_, ResourceKey<Level> p_164779_) static MapItemSavedData
MapItemSavedData.createFresh
(double p_164781_, double p_164782_, byte p_164783_, boolean p_164784_, boolean p_164785_, ResourceKey<Level> p_164786_) ModifierConstructorDescriptionprivate
MapItemSavedData
(int p_164768_, int p_164769_, byte p_164770_, boolean p_164771_, boolean p_164772_, boolean p_164773_, ResourceKey<Level> p_164774_) -
Uses of Level in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDimensionPath
(ResourceKey<Level> p_197395_) -
Uses of Level in net.neoforged.neoforge.capabilities
Modifier and TypeMethodDescriptionBlockCapability.getCapability
(Level level, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) IBlockCapabilityProvider.getCapability
(Level level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, C context) Returns the capability, ornull
if not available. -
Uses of Level in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionClientCommandSourceStack.getUnsidedLevel()
Returns the level from the client side.Modifier and TypeMethodDescriptionClientCommandSourceStack.levels()
Returns a set ofResourceKey
for levels from the client side.Modifier and TypeMethodDescriptionClientHooks.gatherAdditionalRenderers
(BlockPos sectionOrigin, Level level) static void
ClientHooks.renderPistonMovedBlocks
(BlockPos pos, BlockState state, PoseStack stack, MultiBufferSource bufferSource, Level level, boolean checkSides, int packedOverlay, BlockRenderDispatcher blockRenderer) -
Uses of Level in net.neoforged.neoforge.client.event
-
Uses of Level in net.neoforged.neoforge.client.extensions.common
Modifier and TypeMethodDescriptiondefault boolean
IClientBlockExtensions.addDestroyEffects
(BlockState state, Level Level, BlockPos pos, ParticleEngine manager) Spawn particles for when the block is destroyed.default boolean
IClientBlockExtensions.addHitEffects
(BlockState state, Level level, HitResult target, ParticleEngine manager) Spawn a digging particle effect in the level, this is a wrapper around EffectRenderer.addBlockHitEffects to allow the block more control over the particles.default boolean
IClientBlockExtensions.playBreakSound
(BlockState state, Level level, BlockPos pos) Play breaking sound(s) when the block is destroyed. -
Uses of Level in net.neoforged.neoforge.client.model.data
-
Uses of Level in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic AABBTicket
FarmlandWaterManager.addAABBTicket
(Level level, AABB aabb) Convenience method to add a ticket that is backed by an AABB.static <T extends SimpleTicket<Vec3>>
TFarmlandWaterManager.addCustomTicket
(Level level, T ticket, ChunkPos masterChunk, ChunkPos... additionalChunks) Adds a custom ticket.static boolean
CommonHooks.canCropGrow
(Level level, BlockPos pos, BlockState state, boolean def) Checks if a crop can grow by firingCropGrowEvent.Pre
.static boolean
CommonHooks.canEntityDestroy
(Level level, BlockPos pos, LivingEntity entity) static BlockEvent.BreakEvent
CommonHooks.fireBlockBreak
(Level level, GameType gameType, ServerPlayer player, BlockPos pos, BlockState state) FiresBlockEvent.BreakEvent
, pre-emptively canceling the event based on the conditions that will cause the block to not be broken anyway.static void
CommonHooks.fireCropGrowPost
(Level level, BlockPos pos, BlockState state) CommonHooks.isLivingOnLadder
(BlockState state, Level level, BlockPos pos, LivingEntity entity) default boolean
IShearable.isShearable
(@Nullable Player player, ItemStack item, Level level, BlockPos pos) Checks if the object is currently shearable Example: Sheep return false when they have no woolstatic boolean
CommonHooks.onFarmlandTrample
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) static int
CommonHooks.onNoteChange
(Level level, BlockPos pos, BlockState state, int old, int _new) Performs the shear function on this object.static boolean
CommonHooks.onVanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 pos, GameEvent.Context context) default void
IShearable.spawnShearedDrop
(Level level, BlockPos pos, ItemStack drop) Performs the logic used to drop a shear result into the world at the correct position and with the proper movement.Modifier and TypeMethodDescriptionstatic boolean
CommonHooks.onGrindstoneTake
(Container inputSlots, ContainerLevelAccess access, Function<Level, Integer> xpFunction) static boolean
CommonHooks.onTravelToDimension
(Entity entity, ResourceKey<Level> dimension) -
Uses of Level in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault Level
ICommandSourceStackExtension.getUnsidedLevel()
private Level
ILevelExtension.self()
Modifier and TypeMethodDescriptiondefault boolean
IBlockExtension.addRunningEffects
(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IBlockStateExtension.addRunningEffects
(Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IFluidExtension.canConvertToSource
(FluidState state, Level level, BlockPos pos) Returns whether the fluid can create a source.default boolean
IFluidStateExtension.canConvertToSource
(Level level, BlockPos pos) Returns whether the fluid can create a source.default @Nullable Entity
IItemExtension.createEntity
(Level level, Entity location, ItemStack stack) This function should return a new entity to replace the dropped item.default boolean
IDispensibleContainerItemExtension.emptyContents
(@Nullable Player player, Level level, BlockPos pos, @Nullable BlockHitResult hitResult, @Nullable ItemStack container) Empties the contents of the container and returns whether it was successful.default int
IItemExtension.getEntityLifespan
(ItemStack itemStack, Level level) Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem.default int
IItemStackExtension.getEntityLifespan
(Level level) Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem.default float
IBaseRailBlockExtension.getRailMaxSpeed
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default void
IItemExtension.onAnimalArmorTick
(ItemStack stack, Level level, Mob horse) Called every tick when this item is equipped as an armor item by a horseinvalid reference
that can wear armor
default void
IItemStackExtension.onAnimalArmorTick
(Level level, Mob horse) Called every tick when this item is equipped as an armor item by a horseinvalid reference
Mob#canWearBodyArmor()
default void
IBlockExtension.onBlockExploded
(BlockState state, Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockStateExtension.onBlockExploded
(Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockExtension.onCaughtFire
(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default void
IBlockStateExtension.onCaughtFire
(Level level, BlockPos pos, @Nullable Direction face, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IBlockExtension.onDestroyedByPlayer
(BlockState state, Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default boolean
IBlockStateExtension.onDestroyedByPlayer
(Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default void
IBlockExtension.onDestroyedByPushReaction
(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default void
IBlockStateExtension.onDestroyedByPushReaction
(Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default void
IBaseRailBlockExtension.onMinecartPass
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.default void
IBlockExtension.setBedOccupied
(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default void
IBlockStateExtension.setBedOccupied
(Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.Modifier and TypeMethodDescriptiondefault void
IPlayerListExtension.broadcast
(double x, double y, double z, double range, ResourceKey<Level> level, CustomPacketPayload payload) Sends a payload to all players within the specific level, within a given range around the target pointdefault void
IPlayerListExtension.broadcast
(Player excludedPlayer, double x, double y, double z, double range, ResourceKey<Level> level, CustomPacketPayload payload) Sends a payload to all players within the specific level, within a given range around the target point, excluding the specified player.default void
IPlayerListExtension.broadcastAll
(CustomPacketPayload payload, ResourceKey<Level> targetLevel) Sends a payload to all players within the specific level. -
Uses of Level in net.neoforged.neoforge.common.util
Modifier and TypeFieldDescriptionstatic final LogicalSidedProvider
<Optional<Level>> LogicalSidedProvider.CLIENTWORLD
private final ResourceKey
<Level> BlockSnapshot.dim
Modifier and TypeMethodDescriptionBlockSnapshot.getDimension()
Returns the recorded dimension key.Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS
.static BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.ModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of Level in net.neoforged.neoforge.debug.block
Modifier and TypeMethodDescriptionvoid
OnDestroyedByPushReactionTests.DestroyedByPushReactionListeningBlock.onDestroyedByPushReaction
(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) protected void
BlockTests.CustomBubbleColumnSustainingBlock.onPlace
(BlockState blockState, Level level, BlockPos blockPos, BlockState oldBlockState, boolean isMoving) BlockPropertyTests.LightBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hit) -
Uses of Level in net.neoforged.neoforge.debug.entity
ModifierConstructorDescriptionAdaptedSpawnEntity
(EntityType<?> type, Level level) CustomComplexSpawnEntity
(EntityType<?> type, Level level) SimpleEntity
(EntityType<?> type, Level level) TestEntity
(EntityType<? extends Entity> entityType, Level level) -
Uses of Level in net.neoforged.neoforge.event
Modifier and TypeFieldDescriptionprivate final Level
PlayLevelSoundEvent.level
private final Level
VanillaGameEvent.level
Modifier and TypeMethodDescriptionPlayLevelSoundEvent.getLevel()
Returns the level the sound is being played in.VanillaGameEvent.getLevel()
Modifier and TypeMethodDescriptionstatic boolean
EventHooks.canCreateFluidSource
(Level level, BlockPos pos, BlockState state) Checks if a fluid is allowed to create a fluid source.static boolean
EventHooks.canEntityGrief
(Level level, @Nullable Entity entity) Checks if an entity can perform a griefing action.static BonemealEvent
EventHooks.fireBonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) Called when bone meal (or equivalent) is used on a block.static void
EventHooks.fireLevelTickPost
(Level level, BooleanSupplier haveTime) FiresLevelTickEvent.Post
.static void
EventHooks.fireLevelTickPre
(Level level, BooleanSupplier haveTime) FiresLevelTickEvent.Pre
.static Vec3
EventHooks.getExplosionKnockback
(Level level, Explosion explosion, Entity entity, Vec3 initialVelocity) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast.static int
EventHooks.onArrowLoose
(ItemStack stack, Level level, Player player, int charge, boolean hasAmmo) static InteractionResultHolder
<ItemStack> EventHooks.onArrowNock
(ItemStack item, Level level, Player player, InteractionHand hand, boolean hasAmmo) static boolean
EventHooks.onCreateWorldSpawn
(Level level, ServerLevelData settings) static int
EventHooks.onEnchantmentLevelSet
(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantmentLevel) static void
EventHooks.onExplosionDetonate
(Level level, Explosion explosion, List<Entity> list, double diameter) static boolean
EventHooks.onExplosionStart
(Level level, Explosion explosion) EventHooks.onNeighborNotify
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) static void
EventHooks.onPistonMovePost
(Level level, BlockPos pos, Direction direction, boolean extending) static boolean
EventHooks.onPistonMovePre
(Level level, BlockPos pos, Direction direction, boolean extending) EventHooks.onPlaySoundAtPosition
(Level level, double x, double y, double z, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) Modifier and TypeMethodDescriptionstatic void
EventHooks.firePlayerChangedDimensionEvent
(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) static boolean
EventHooks.onPlayerSpawnSet
(Player player, ResourceKey<Level> levelKey, BlockPos pos, boolean forced) ModifierConstructorDescriptionAtPosition
(Level level, Vec3 position, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) PlayLevelSoundEvent
(Level level, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) VanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 position, GameEvent.Context context) -
Uses of Level in net.neoforged.neoforge.event.enchanting
ModifierConstructorDescriptionEnchantmentLevelSetEvent
(Level level, BlockPos pos, int enchantRow, int power, ItemStack itemStack, int enchantLevel) -
Uses of Level in net.neoforged.neoforge.event.entity
Modifier and TypeFieldDescriptionprivate final Level
EntityJoinLevelEvent.level
private final Level
EntityLeaveLevelEvent.level
private final Level
EntityMountEvent.level
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> EntityTravelToDimensionEvent.dimension
Modifier and TypeMethodDescriptionEntityJoinLevelEvent.getLevel()
Returns the level that the entity is set to join.EntityLeaveLevelEvent.getLevel()
Returns the level the entity is set to leave.EntityMountEvent.getLevel()
ModifierConstructorDescriptionEntityJoinLevelEvent
(Entity entity, Level level) EntityJoinLevelEvent
(Entity entity, Level level, boolean loadedFromDisk) EntityLeaveLevelEvent
(Entity entity, Level level) EntityMobGriefingEvent
(Level level, Entity entity) EntityMountEvent
(Entity entityMounting, Entity entityBeingMounted, Level level, boolean isMounting) ModifierConstructorDescriptionEntityTravelToDimensionEvent
(Entity entity, ResourceKey<Level> dimension) -
Uses of Level in net.neoforged.neoforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final Level
ArrowLooseEvent.level
private final Level
ArrowNockEvent.level
private final Level
BonemealEvent.level
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> PlayerEvent.PlayerChangedDimensionEvent.fromDim
private final ResourceKey
<Level> PlayerSetSpawnEvent.spawnLevel
private final ResourceKey
<Level> PlayerEvent.PlayerChangedDimensionEvent.toDim
Modifier and TypeMethodDescriptionArrowLooseEvent.getLevel()
ArrowNockEvent.getLevel()
BonemealEvent.getLevel()
Returns the level.CanPlayerSleepEvent.getLevel()
PlayerInteractEvent.getLevel()
Modifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()
PlayerSetSpawnEvent.getSpawnLevel()
PlayerEvent.PlayerChangedDimensionEvent.getTo()
Modifier and TypeMethodDescriptionvoid
PlayerRespawnPositionEvent.setRespawnLevel
(ResourceKey<Level> respawnLevelResourceKey) Set the level the player will respawn into using aResourceKey
.ModifierConstructorDescriptionArrowLooseEvent
(Player player, ItemStack bow, Level level, int charge, boolean hasAmmo) ArrowNockEvent
(Player player, ItemStack item, InteractionHand hand, Level level, boolean hasAmmo) BonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) ModifierConstructorDescriptionPlayerChangedDimensionEvent
(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) PlayerSetSpawnEvent
(Player player, ResourceKey<Level> spawnLevel, @Nullable BlockPos newSpawn, boolean forced) -
Uses of Level in net.neoforged.neoforge.event.level
ModifierConstructorDescriptionBreakEvent
(Level level, BlockPos pos, BlockState state, Player player) Change
(Level world, BlockPos pos, BlockState state, int oldNote, int newNote) ExplosionEvent
(Level level, Explosion explosion) ExplosionKnockbackEvent
(Level level, Explosion explosion, Entity entity, Vec3 knockbackVelocity) FarmlandTrampleEvent
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) NeighborNotifyEvent
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) protected
NoteBlockEvent
(Level world, BlockPos pos, BlockState state, int note) PistonEvent
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Play
(Level world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument) Post
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Pre
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) -
Uses of Level in net.neoforged.neoforge.event.level.block
ModifierConstructorDescriptionCreateFluidSourceEvent
(Level level, BlockPos pos, BlockState state) CropGrowEvent
(Level level, BlockPos pos, BlockState state) Post
(Level level, BlockPos pos, BlockState original, BlockState state) Pre
(Level level, BlockPos pos, BlockState state) -
Uses of Level in net.neoforged.neoforge.event.tick
ModifierConstructorDescriptionprotected
LevelTickEvent
(BooleanSupplier hasTime, Level level) Post
(BooleanSupplier haveTime, Level level) Pre
(BooleanSupplier haveTime, Level level) -
Uses of Level in net.neoforged.neoforge.event.village
ModifierConstructorDescriptionVillageSiegeEvent
(VillageSiege siege, Level level, Player player, Vec3 attemptedSpawnPos) -
Uses of Level in net.neoforged.neoforge.fluids
Modifier and TypeMethodDescriptionprotected boolean
BaseFlowingFluid.canConvertToSource
(Level level) boolean
BaseFlowingFluid.canConvertToSource
(FluidState state, Level level, BlockPos pos) static boolean
FluidInteractionRegistry.canInteract
(Level level, BlockPos pos) Performs all potential fluid interactions at a given position.static void
FluidUtil.destroyBlockOnFluidPlacement
(Level level, BlockPos pos) Destroys a block when a fluid is placed in the same position.private static IFluidHandler
FluidUtil.getFluidBlockHandler
(Fluid fluid, Level level, BlockPos pos) Internal method for getting a fluid block handler for placing a fluid.static Optional
<IFluidHandler> FluidUtil.getFluidHandler
(Level level, BlockPos blockPos, @Nullable Direction side) Helper method to get an IFluidHandler for at a block position.boolean
FluidType.handleCauldronDrip
(Fluid fluid, Level level, BlockPos cauldronPos) Returns whether a fluid above a pointed dripstone block can successfully fill a cauldron below.void
FluidInteractionRegistry.FluidInteraction.interact
(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Performs the interaction between the source and the surrounding data.static boolean
FluidUtil.interactWithFluidHandler
(Player player, InteractionHand hand, Level level, BlockPos pos, @Nullable Direction side) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.boolean
FluidType.isVaporizedOnPlacement
(Level level, BlockPos pos, FluidStack stack) Determines if this fluid should be vaporized when placed into a level.void
FluidType.onVaporize
(@Nullable Player player, Level level, BlockPos pos, FluidStack stack) Performs an action when a fluid can be vaporized when placed into a level.boolean
FluidInteractionRegistry.HasFluidInteraction.test
(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Returns whether the interaction can occur.static FluidActionResult
FluidUtil.tryPickUpFluid
(ItemStack emptyContainer, @Nullable Player playerIn, Level level, BlockPos pos, Direction side) Attempts to pick up a fluid in the level and put it in an empty container item.static FluidActionResult
FluidUtil.tryPlaceFluid
(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, ItemStack container, FluidStack resource) static boolean
FluidUtil.tryPlaceFluid
(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, IFluidHandler fluidSource, FluidStack resource) Tries to place a fluid resource into the level as a block and drains the fluidSource. -
Uses of Level in net.neoforged.neoforge.fluids.capability.wrappers
Modifier and TypeFieldDescriptionprivate final Level
CauldronWrapper.level
protected final Level
BlockWrapper.LiquidContainerBlockWrapper.world
protected final Level
BlockWrapper.world
protected final Level
BucketPickupHandlerWrapper.world
ModifierConstructorDescriptionBlockWrapper
(BlockState state, Level world, BlockPos blockPos) BucketPickupHandlerWrapper
(Player player, BucketPickup bucketPickupHandler, Level world, BlockPos blockPos) CauldronWrapper
(Level level, BlockPos pos) LiquidContainerBlockWrapper
(LiquidBlockContainer liquidContainer, Level world, BlockPos blockPos) -
Uses of Level in net.neoforged.neoforge.items
Modifier and TypeMethodDescriptionstatic boolean
VanillaInventoryCodeHooks.dropperInsertHook
(Level level, BlockPos pos, DispenserBlockEntity dropper, int slot, ItemStack stack) Copied from BlockDropper#dispense and added capability supportstatic @Nullable Boolean
VanillaInventoryCodeHooks.extractHook
(Level level, Hopper dest) Copied from TileEntityHopper#captureDroppedItems and added capability supportprivate static Optional
<org.apache.commons.lang3.tuple.Pair<IItemHandler, Object>> VanillaInventoryCodeHooks.getAttachedItemHandler
(Level level, BlockPos pos, Direction direction) private static Optional
<org.apache.commons.lang3.tuple.Pair<IItemHandler, Object>> VanillaInventoryCodeHooks.getItemHandlerAt
(Level worldIn, double x, double y, double z, Direction side) private static Optional
<org.apache.commons.lang3.tuple.Pair<IItemHandler, Object>> VanillaInventoryCodeHooks.getSourceItemHandler
(Level level, Hopper hopper) -
Uses of Level in net.neoforged.neoforge.oldtest.block
Modifier and TypeMethodDescriptionvoid
RedstoneSidedConnectivityTest.EastRedstoneBlock.neighborChanged
(BlockState state, Level world, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) FullPotsAccessorDemo.DioriteFlowerPotBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) -
Uses of Level in net.neoforged.neoforge.oldtest.client
Modifier and TypeMethodDescriptionCustomTooltipTest.CustomItemWithTooltip.use
(Level level, Player player, InteractionHand hand) -
Uses of Level in net.neoforged.neoforge.oldtest.client.model
Modifier and TypeMethodDescriptionprotected ItemInteractionResult
MegaModelTest.TestBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) -
Uses of Level in net.neoforged.neoforge.oldtest.client.rendering
ModifierConstructorDescriptionprotected
MyEntity
(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) -
Uses of Level in net.neoforged.neoforge.oldtest.entity
-
Uses of Level in net.neoforged.neoforge.oldtest.item
Modifier and TypeMethodDescriptionCustomFluidContainerTest.CustomFluidContainer.use
(Level level, Player player, InteractionHand hand) CustomShieldTest.CustomShieldItem.use
(Level world, Player player, InteractionHand hand) StopUsingItemTest.InvertedTelescope.use
(Level level, Player player, InteractionHand hand) -
Uses of Level in net.neoforged.neoforge.oldtest.recipebook
Modifier and TypeMethodDescriptionboolean
RecipeBookTestRecipe.matches
(CraftingInput input, Level level) Taken fromShapedRecipe
-
Uses of Level in net.neoforged.neoforge.oldtest.world
Modifier and TypeMethodDescriptionprivate static @Nullable ResourceLocation
ChunkWatchEventTest.getDimensionName
(Level w) void
ForgeChunkManagerTest.ChunkLoaderBlock.onPlace
(BlockState state, Level worldIn, BlockPos pos, BlockState oldState, boolean isMoving) void
ForgeChunkManagerTest.ChunkLoaderBlock.onRemove
(BlockState state, Level worldIn, BlockPos pos, BlockState newState, boolean isMoving) Deprecated. -
Uses of Level in net.neoforged.neoforge.server.command
Modifier and TypeMethodDescriptionprivate static int
EntityCommand.EntityListCommand.execute
(CommandSourceStack sender, String filter, ResourceKey<Level> dim)
FlowingFluid.canConvertToSource(FluidState, Level, BlockPos)
instead.