본문으로 건너뛰기
버전: Minecraft 26.2

모든 함수

자동 생성

이 페이지는 소스의 Javadoc에서 ./gradlew apiReference로 만든 것입니다. 설명은 코드에 적힌 영어 그대로입니다. 직접 고치지 말고 소스의 주석을 고친 뒤 다시 만드세요.

API의 공개 생성자와 메서드를 패키지별로 한 목록에 모았습니다. 반환 타입, 설명의 첫 문장, 추가된 버전이 있습니다. 이름을 누르면 전체 설명(시그니처, 모든 인자, 반환값, 예외, 호출 시점과 스레드)으로 갑니다.

client​

함수반환설명추가된 버전
BlockEntityCanvas.animationTime()floatWorld time plus the partial tick, for smooth animation.0.1.0-alpha.4 또는 그 이전
BlockEntityCanvas.block(BlockStateView, double, double, double, float, float)voidDraws the block model of state, for example a lamp that is lit, placed like block(ResourceId, double, double, double, float, float).0.1.0-alpha.4 또는 그 이전
BlockEntityCanvas.block(ResourceId, double, double, double, float, float)voidDraws the block model of block's default state, centred on x, y, z and turned yawDegrees around the vertical axis; scale 1 is full block size.0.1.0-alpha.4 또는 그 이전
BlockEntityCanvas.defaultState(ResourceId)BlockStateViewThe default state of block, to change with BlockStateView.with and draw with block(BlockStateView, double, double, double, float, float).0.1.0-alpha.4 또는 그 이전
BlockEntityCanvas.item(ResourceId, double, double, double, float, float)voidDraws an item as in an item frame.0.1.0-alpha.4 또는 그 이전
BlockEntityCanvas.quads(ShaderPipeline, Consumer<VertexSink>)voidQuads drawn with a mod shader pipeline, four vertices per quad, in the same coordinates as the other draws (the block's lowest corner is 0, 0, 0).0.1.0-alpha.4 또는 그 이전
BlockEntityCanvas.text(String, double, double, double, float, int)voidDraws text centred at the position, facing the camera.0.1.0-alpha.4 또는 그 이전
BlockEntityPainter.paint(BlockEntityView, BlockEntityCanvas)voidDraws for one block entity; canvas is placed at the block's lowest corner.0.1.0-alpha.4 또는 그 이전
ClientConnectionListener.onConnection(ClientView)voidCalled on the client thread when the client joins or leaves a world.0.1.0-alpha.4 또는 그 이전
ClientRegistrar.blockEntityRenderer(ResourceId, BlockEntityPainter)voidDraws extra things for a mod block that has a block entity.0.1.0-alpha.4 또는 그 이전
ClientRegistrar.dynamicTexture(String, int, int)DynamicTextureDeclares a texture with pixels set by code, <mod id>:dynamic/<path>.0.1.0-alpha.4 또는 그 이전
ClientRegistrar.hudLayer(String, HudLayer)voidAdds a layer drawn over the game's HUD every frame, after the game's own layers, in registration order.0.1.0-alpha.4 또는 그 이전
ClientRegistrar.keyBinding(String, int)KeyBindingDeclares a key binding that players can rebind in Controls.0.1.0-alpha.4 또는 그 이전
ClientRegistrar.shaderPipeline(String, ShaderPipelineDefinition)ShaderPipelineDeclares render pipeline <mod id>:<path> using the mod's own core shader, for WorldCanvas.quads and BlockEntityCanvas.quads.0.1.0-alpha.4 또는 그 이전
ClientRegistrar.worldPainter(String, WorldPainter)voidDraws in the world every frame with painter.0.1.0-alpha.4 또는 그 이전
ClientTickListener.onClientTick(ClientView)voidCalled at the end of each client tick.0.1.0-alpha.4 또는 그 이전
ClientView.cameraPerspective()CameraPerspectiveThe camera perspective.0.1.0-alpha.4 또는 그 이전
ClientView.clearPostEffect()voidRemoves the post effect.0.1.0-alpha.4 또는 그 이전
ClientView.closeScreen()voidCloses the open screen, if any, returning to the game.0.1.0-alpha.4 또는 그 이전
ClientView.isScreenOpen()booleanWhether any screen (menu, inventory, chat, mod screen) is open.0.1.0-alpha.4 또는 그 이전
ClientView.leaveWorld()voidLeaves the world like "Save and Quit to Title" (single player) or "Disconnect" (servers).0.1.0-alpha.4 또는 그 이전
ClientView.openScreen(ModScreen)voidOpens screen, replacing any open screen.0.1.0-alpha.4 또는 그 이전
ClientView.player()Optional<PlayerView>The local player, when in a world.0.1.0-alpha.4 또는 그 이전
ClientView.postEffect()Optional<ResourceId>The active post effect, if any.0.1.0-alpha.4 또는 그 이전
ClientView.setCameraPerspective(CameraPerspective)voidChanges the camera perspective, as F5 does.0.1.0-alpha.4 또는 그 이전
ClientView.setPostEffect(ResourceId)booleanApplies a full-screen post effect from assets/<namespace>/post_effect/<path>.json, with its shaders, until cleared.0.1.0-alpha.4 또는 그 이전
ClientView.showActionBar(String)voidShows a message above the hotbar (the action bar).0.1.0-alpha.4 또는 그 이전
ClientView.world()Optional<WorldView>The client's copy of the current world, when in one.0.1.0-alpha.4 또는 그 이전
DynamicTexture.fill(int)voidSets every pixel.0.1.0-alpha.4 또는 그 이전
DynamicTexture.height()intHeight in pixels.0.1.0-alpha.4 또는 그 이전
DynamicTexture.id()ResourceIdThe texture's ID, <mod id>:dynamic/<path>.0.1.0-alpha.4 또는 그 이전
DynamicTexture.setPixel(int, int, int)voidSets one pixel, 0xAARRGGBB.0.1.0-alpha.4 또는 그 이전
DynamicTexture.upload()voidSends the pixels to the graphics card.0.1.0-alpha.4 또는 그 이전
DynamicTexture.width()intWidth in pixels.0.1.0-alpha.4 또는 그 이전
FovModifier.modifyFov(float)floatReturns the field of view in degrees to use instead of fov; listeners chain.0.1.0-alpha.4 또는 그 이전
HudCanvas.drawText(String, int, int, int)voidDraws text with a shadow.0.1.0-alpha.4 또는 그 이전
HudCanvas.drawTexture(ResourceId, int, int, int, int)voidDraws a whole texture, such as my_mod:textures/gui/icon.png or a DynamicTexture, stretched to width × height.0.1.0-alpha.4 또는 그 이전
HudCanvas.fill(int, int, int, int, int)voidFills the rectangle from (x1, y1) inclusive to (x2, y2) exclusive.0.1.0-alpha.4 또는 그 이전
HudCanvas.height()intHeight of the screen in GUI pixels.0.1.0-alpha.4 또는 그 이전
HudCanvas.textWidth(String)intWidth of text in the game font.0.1.0-alpha.4 또는 그 이전
HudCanvas.width()intWidth of the screen in GUI pixels.0.1.0-alpha.4 또는 그 이전
HudLayer.render(HudCanvas)voidDraws the layer.0.1.0-alpha.4 또는 그 이전
ItemTooltipListener.onItemTooltip(ItemStackRef, TooltipLines, boolean)voidCalled on the client thread whenever the game builds an item's tooltip (every frame the tooltip is shown, and for the creative search), after the game's own lines.0.1.0-alpha.4 또는 그 이전
KeyBinding.consumeClick()booleanReturns true once per press since the last call, so no press is lost between ticks.0.1.0-alpha.4 또는 그 이전
KeyBinding.id()ResourceIdThe binding's ID.0.1.0-alpha.4 또는 그 이전
KeyBinding.isDown()booleanWhether the key is held now.0.1.0-alpha.4 또는 그 이전
ModScreen.init(ScreenBuilder)voidPlaces widgets.0.1.0-alpha.4 또는 그 이전
ModScreen.onClosed()voidThe screen was closed, by the player (Esc) or by code.0.1.0-alpha.4 또는 그 이전
ModScreen.pausesGame()booleanWhether the game pauses while the screen is open (single player only).0.1.0-alpha.4 또는 그 이전
ModScreen.render(HudCanvas)voidDraws extra content every frame, above the background and below the widgets.0.1.0-alpha.4 또는 그 이전
ModScreen.title()StringTitle used for narration and the window title.0.1.0-alpha.4 또는 그 이전
ScreenBuilder.button(String, int, int, int, int, Runnable)voidA clickable button; onPress runs on the client thread.0.1.0-alpha.4 또는 그 이전
ScreenBuilder.close()voidCloses this screen.0.1.0-alpha.4 또는 그 이전
ScreenBuilder.height()intScreen height.0.1.0-alpha.4 또는 그 이전
ScreenBuilder.label(String, int, int, int)voidText drawn every frame.0.1.0-alpha.4 또는 그 이전
ScreenBuilder.textInput(int, int, int, String)TextInputA single-line text input, 20 pixels high.0.1.0-alpha.4 또는 그 이전
ScreenBuilder.textWidth(String)intWidth of text in the game font.0.1.0-alpha.4 또는 그 이전
ScreenBuilder.width()intScreen width.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.Builder.blend(ShaderPipelineDefinition.Blend)ShaderPipelineDefinition.BuilderHow colours mix; Blend.TRANSLUCENT by default.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.Builder.build()ShaderPipelineDefinitionCreates the definition.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.Builder.cull()ShaderPipelineDefinition.BuilderSkips quads facing away from the camera.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.Builder.depthWrite()ShaderPipelineDefinition.BuilderThe quads hide what is drawn behind them later, like solid geometry.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.Builder.noDepthTest()ShaderPipelineDefinition.BuilderDraws the quads in front of blocks.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.Builder.texture(ResourceId)ShaderPipelineDefinition.BuilderBinds a texture as the next sampler: the first call is Sampler0.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.Builder.uniform(String, ShaderUniform.Type, ShaderUniform.Source)ShaderPipelineDefinition.BuilderAdds a field to the pipeline's ModUniforms block, after the ones added before.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.ShaderPipelineDefinition(ResourceId, ShaderPipelineDefinition.Blend, boolean, boolean, boolean)새 인스턴스A pipeline without textures or mod uniforms.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.ShaderPipelineDefinition(ResourceId, ShaderPipelineDefinition.Blend, boolean, boolean, boolean, List<ResourceId>, List<ShaderUniform>)새 인스턴스Validates the definition.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.builder(ResourceId)ShaderPipelineDefinition.BuilderA translucent, double-sided pipeline that blocks hide and that hides nothing.0.1.0-alpha.4 또는 그 이전
ShaderPipelineDefinition.textured()booleanWhether the vertices carry texture coordinates (UV0).0.1.0-alpha.4 또는 그 이전
ShaderUniform.Source.values()float[]The value: exactly Type.components() floats.0.1.0-alpha.4 또는 그 이전
ShaderUniform.Type.components()intHow many floats Source.values() must return.0.1.0-alpha.4 또는 그 이전
TextInput.setValue(String)voidReplaces the text.0.1.0-alpha.4 또는 그 이전
TextInput.value()StringThe current text.0.1.0-alpha.4 또는 그 이전
TooltipLines.add(String)voidAdds a line at the end.0.1.0-alpha.4 또는 그 이전
TooltipLines.add(int, String)voidInserts a line before line index; size() appends.0.1.0-alpha.4 또는 그 이전
TooltipLines.get(int)StringThe text of line index without formatting.0.1.0-alpha.4 또는 그 이전
TooltipLines.remove(int)voidRemoves line index.0.1.0-alpha.4 또는 그 이전
TooltipLines.size()intNumber of lines, the name included.0.1.0-alpha.4 또는 그 이전
VertexSink.vertex(double, double, double, float, float, int)VertexSinkAdds a vertex with a texture coordinate and a colour 0xAARRGGBB; the shader receives them as Position, UV0 and Color.0.1.0-alpha.4 또는 그 이전
VertexSink.vertex(double, double, double, int)VertexSinkAdds a vertex with a colour 0xAARRGGBB and texture coordinate (0, 0).0.1.0-alpha.4 또는 그 이전
WorldCanvas.animationTime()floatGame time in ticks plus the partial tick, for smooth animation.0.1.0-alpha.4 또는 그 이전
WorldCanvas.blockOutline(BlockPos, int, float)voidThe edges of one block.0.1.0-alpha.4 또는 그 이전
WorldCanvas.box(double, double, double, double, double, double, int, float, int)voidA box between two corners: its edges in strokeArgb (width pixels wide) and its faces filled with fillArgb; pass 0 for either to leave it out.0.1.0-alpha.4 또는 그 이전
WorldCanvas.cameraX()doubleCamera x this frame.0.1.0-alpha.4 또는 그 이전
WorldCanvas.cameraY()doubleCamera y this frame.0.1.0-alpha.4 또는 그 이전
WorldCanvas.cameraZ()doubleCamera z this frame.0.1.0-alpha.4 또는 그 이전
WorldCanvas.line(double, double, double, double, double, double, int, float)voidA line from one point to another, width pixels wide.0.1.0-alpha.4 또는 그 이전
WorldCanvas.onTop()WorldCanvasThis canvas, drawing lines, boxes, points and text in front of blocks.0.1.0-alpha.4 또는 그 이전
WorldCanvas.point(double, double, double, int, float)voidA square dot size pixels wide.0.1.0-alpha.4 또는 그 이전
WorldCanvas.quads(ShaderPipeline, Consumer<VertexSink>)voidQuads drawn with a mod shader pipeline: four vertices per quad, in world coordinates.0.1.0-alpha.4 또는 그 이전
WorldCanvas.text(String, double, double, double, int, float)voidText facing the camera, centred on the point; scale 1 is the game's label size.0.1.0-alpha.4 또는 그 이전
WorldPainter.paint(WorldCanvas)voidDraws this frame's shapes on canvas.0.1.0-alpha.4 또는 그 이전

command​

함수반환설명추가된 버전
ArgumentCommand.type()CommandArgumentTypeWhat the argument accepts.0.1.0-alpha.4 또는 그 이전
CommandAction.run(CommandContext)intRuns the command.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.blockPos()CommandArgumentTypeBlock coordinates.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.bool()CommandArgumentTypetrue or false.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.decimal()CommandArgumentTypeAny decimal number.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.greedyString()CommandArgumentTypeThe rest of the command line.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.integer()CommandArgumentTypeAny whole number.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.integer(int, int)CommandArgumentTypeA whole number in [min, max].0.1.0-alpha.4 또는 그 이전
CommandArgumentType.player()CommandArgumentTypeOne online player.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.string()CommandArgumentTypeA word or quoted text.0.1.0-alpha.4 또는 그 이전
CommandArgumentType.word()CommandArgumentTypeA single word.0.1.0-alpha.4 또는 그 이전
CommandContext.getBlockPos(String)BlockPosValue of a CommandArgumentType.blockPos() argument, resolved against the source.0.1.0-alpha.4 또는 그 이전
CommandContext.getBoolean(String)booleanValue of a CommandArgumentType.bool() argument.0.1.0-alpha.4 또는 그 이전
CommandContext.getDouble(String)doubleValue of a CommandArgumentType.decimal() argument.0.1.0-alpha.4 또는 그 이전
CommandContext.getInteger(String)intValue of an CommandArgumentType.integer() argument.0.1.0-alpha.4 또는 그 이전
CommandContext.getPlayer(String)PlayerViewValue of a CommandArgumentType.player() argument.0.1.0-alpha.4 또는 그 이전
CommandContext.getString(String)StringValue of a text argument.0.1.0-alpha.4 또는 그 이전
CommandContext.source()CommandSourceWho ran the command.0.1.0-alpha.4 또는 그 이전
CommandFailure.CommandFailure(String)새 인스턴스Creates a failure with the message shown to the user.0.1.0-alpha.4 또는 그 이전
CommandNode.action()Optional<CommandAction>The action run when the command ends here.0.1.0-alpha.4 또는 그 이전
CommandNode.argument(String, CommandArgumentType)ArgumentCommandA typed value; read it in actions with context.get*(name).0.1.0-alpha.4 또는 그 이전
CommandNode.children()List<CommandNode<?>>Child nodes in registration order.0.1.0-alpha.4 또는 그 이전
CommandNode.executes(CommandAction)NLets the command end at this node and run action.0.1.0-alpha.4 또는 그 이전
CommandNode.literal(String)LiteralCommandA fixed word, for example /hello.0.1.0-alpha.4 또는 그 이전
CommandNode.name()StringThe word or argument name.0.1.0-alpha.4 또는 그 이전
CommandNode.permissionLevel()intRequired permission level, 0–4.0.1.0-alpha.4 또는 그 이전
CommandNode.permissionNode()Optional<PermissionNode>The required named permission, if any (checked in addition to the level).0.1.0-alpha.4 또는 그 이전
CommandNode.requiresPermission(PermissionNode)NOnly sources that have node can see and run this node.0.1.0-alpha.4 또는 그 이전
CommandNode.requiresPermission(int)NOnly sources with at least this permission level can see and run this node: 0 everyone, 2 game masters (command blocks, operators), 4 server owners.0.1.0-alpha.4 또는 그 이전
CommandNode.then(CommandNode<?>)NAdds a child that may follow this node.0.1.0-alpha.4 또는 그 이전
CommandRegistrar.register(LiteralCommand)voidRegisters a top-level command.0.1.0-alpha.4 또는 그 이전
CommandSource.blockPos()BlockPosThe block position the command runs at.0.1.0-alpha.4 또는 그 이전
CommandSource.hasPermission(PermissionNode)booleanWhether the source has the permission: for players as PlayerView.hasPermission; for the console, command blocks, and functions by the node's default level.0.1.0-alpha.4 또는 그 이전
CommandSource.hasPermission(int)booleanWhether the source has at least permission level (0–4).0.1.0-alpha.4 또는 그 이전
CommandSource.name()StringDisplay name, for example a player name or Server.0.1.0-alpha.4 또는 그 이전
CommandSource.player()Optional<PlayerView>The player who ran the command, if a player did.0.1.0-alpha.4 또는 그 이전
CommandSource.sendFailure(String)voidSends an error message (shown in red to players).0.1.0-alpha.4 또는 그 이전
CommandSource.sendMessage(String)voidSends feedback text to the source.0.1.0-alpha.4 또는 그 이전
CommandSource.world()WorldViewThe world the command runs in.0.1.0-alpha.4 또는 그 이전

content​

함수반환설명추가된 버전
AdvancementTrigger.id()ResourceIdThe trigger ID used in advancement files.0.1.0-alpha.4 또는 그 이전
AdvancementTrigger.trigger(PlayerView)voidMeets every criterion with this trigger for player.0.1.0-alpha.4 또는 그 이전
ContentHandle.id()ResourceIdThe content's ID, <mod id>:<path>.0.1.0-alpha.4 또는 그 이전
ContentHandle.isRegistered()booleanWhether the game has created and registered the content yet.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.addToTag(TagKey, ResourceId[])voidAdds entries to a tag of any namespace, as a tag file with "replace": false in the mod jar would; Poly Mod Loader writes them to its generated data pack.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.advancementTrigger(String)AdvancementTriggerDeclares an advancement criterion trigger <mod id>:<path>.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.block(String, BlockDefinition)BlockHandleDeclares a block; unless the definition says otherwise, a block item with the same ID is declared too.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.booleanRule(String, boolean, GameRuleCategory)GameRuleKey<Boolean>Declares a boolean game rule.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.creativeTab(String, CreativeTabDefinition)ContentHandleDeclares a creative inventory tab <mod id>:<path>, titled by the translation of itemGroup.<mod id>.<path>.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.effect(String, EffectDefinition)EffectHandleDeclares a status effect usable with /effect and LivingEntityView.addEffect.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.entity(String, EntityDefinition)EntityHandleDeclares a mob type; with spawnEgg also an item <path>_spawn_egg.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.entityData(String, EntityDataOptions)EntityDataKeyDeclares data that entities carry, with synchronisation and version options.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.entityData(String, boolean)EntityDataKeyDeclares data that entities carry; see EntityDataKey.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.integerRule(String, int, int, int, GameRuleCategory)GameRuleKey<Integer>Declares an integer game rule limited to [min, max].0.1.0-alpha.4 또는 그 이전
ContentRegistrar.item(String, ItemDefinition)ItemHandleDeclares an item.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.itemComponent(String, ComponentType<T>)ItemComponentKey<T>Declares a data component that item stacks can carry.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.particle(String, ParticleDefinition)ContentHandleDeclares a particle type, spawnable with WorldView.spawnParticles and /particle.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.projectile(String, ProjectileDefinition)EntityHandleDeclares a thrown projectile type.0.1.0-alpha.4 또는 그 이전
ContentRegistrar.sound(String)SoundHandleDeclares a sound event.0.1.0-alpha.4 또는 그 이전
CreativeTabDefinition.Builder.build()CreativeTabDefinitionBuilds the definition.0.1.0-alpha.4 또는 그 이전
CreativeTabDefinition.Builder.entries(ResourceId[])CreativeTabDefinition.BuilderAdds items to the end of the tab, in order.0.1.0-alpha.4 또는 그 이전
CreativeTabDefinition.Builder.entry(ResourceId)CreativeTabDefinition.BuilderAdds an item to the end of the tab.0.1.0-alpha.4 또는 그 이전
CreativeTabDefinition.Builder.icon(ResourceId)CreativeTabDefinition.BuilderSets the item shown on the tab.0.1.0-alpha.4 또는 그 이전
CreativeTabDefinition.builder()CreativeTabDefinition.BuilderA builder for a tab without entries yet.0.1.0-alpha.4 또는 그 이전
CreativeTabDefinition.iconOrFirstEntry()ResourceIdThe icon: the declared one or the first entry.0.1.0-alpha.4 또는 그 이전
EntityDataKey.syncToOwner()booleanWhether a player's own client receives the player's data.0.1.0-alpha.4 또는 그 이전
EntityDataOptions.syncedToOwner()EntityDataOptionsA copy whose data a player's own client receives.0.1.0-alpha.4 또는 그 이전
EntityDataOptions.syncedToTrackers()EntityDataOptionsA copy whose data every client that can see the entity receives.0.1.0-alpha.4 또는 그 이전
EntityDataOptions.withVersion(int, DataMigration)EntityDataOptionsA copy with data version value; upgrade converts data saved with an older version.0.1.0-alpha.4 또는 그 이전

content.block​

함수반환설명추가된 버전
BlockBehavior.onNeighborChanged(WorldView, BlockPos)voidA neighbouring block changed (server and client); typical for redstone-like reactions.0.1.0-alpha.4 또는 그 이전
BlockBehavior.onPlaced(WorldView, BlockPos, EntityView)voidThe block was placed by an entity (server and client).0.1.0-alpha.4 또는 그 이전
BlockBehavior.onRandomTick(WorldView, BlockPos)voidA random tick reached the block (server only, about every 68 seconds per block at the default randomTickSpeed).0.1.0-alpha.4 또는 그 이전
BlockBehavior.onSteppedOn(WorldView, BlockPos, EntityView)voidAn entity walks on top of the block.0.1.0-alpha.4 또는 그 이전
BlockBehavior.onUse(BlockUse)InteractionResultA player used the block with an empty hand.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.behavior(BlockBehavior)BlockDefinition.BuilderSets the interaction callbacks.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.blockEntity(BlockEntityDefinition)BlockDefinition.BuilderGives the block per-position saved state.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.build()BlockDefinitionCreates the definition; invalid values throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.collisionShape(BlockShape)BlockDefinition.BuilderWhat entities collide with, when it differs from shape: a low fence-like box, for example.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.collisionShape(Function<BlockStateView,BlockShape>)BlockDefinition.BuilderWhat entities collide with, computed from the state.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.facesPlayerWhenPlaced(BlockProperty.DirectionProperty)BlockDefinition.BuilderAdds facing as a property and sets it on placement so the block faces the player.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.friction(float)BlockDefinition.BuilderSets the friction (0.6 default, 0.98 ice).0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.item(ItemDefinition)BlockDefinition.BuilderSets the properties of the block item declared with the block.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.lightLevel(ToIntFunction<BlockStateView>)BlockDefinition.BuilderComputes the emitted light from each state, for example state -> state.get(LIT) ? 15 : 0.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.lightLevel(int)BlockDefinition.BuilderSets the emitted light level, 0–15.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.noCollision()BlockDefinition.BuilderEntities pass through the block.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.noItem()BlockDefinition.BuilderDeclares no block item.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.noOcclusion()BlockDefinition.BuilderThe block does not hide its neighbours' faces (glass-like blocks).0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.properties(BlockProperty<?>[])BlockDefinition.BuilderAdds block state properties; their default values form the default state.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.randomTicks()BlockDefinition.BuilderThe block receives random ticks.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.requiresCorrectTool()BlockDefinition.BuilderThe block drops only when mined with the correct tool.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.shape(BlockShape)BlockDefinition.BuilderThe block's outline and collision: a slab, a post, a pipe.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.shape(Function<BlockStateView,BlockShape>)BlockDefinition.BuilderThe block's outline and collision computed from the state, for example turned with BlockShape.facing by a facing property.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.sound(BlockSound)BlockDefinition.BuilderSets the sound type.0.1.0-alpha.4 또는 그 이전
BlockDefinition.Builder.strength(float, float)BlockDefinition.BuilderSets hardness and explosion resistance (stone is 1.5 / 6.0).0.1.0-alpha.4 또는 그 이전
BlockDefinition.builder()BlockDefinition.BuilderA builder with the game's defaults for a plain stone-like block that has a block item.0.1.0-alpha.4 또는 그 이전
BlockShape.box(double, double, double, double, double, double)BlockShapeOne box, in pixels.0.1.0-alpha.4 또는 그 이전
BlockShape.facing(Direction)BlockShapeThis shape, drawn facing north, turned around the block's vertical axis to face facing.0.1.0-alpha.4 또는 그 이전
BlockShape.or(BlockShape)BlockShapeThis shape together with other.0.1.0-alpha.4 또는 그 이전

content.block.entity​

함수반환설명추가된 버전
BlockEntityDefinition.Builder.build()BlockEntityDefinitionCreates the definition.0.1.0-alpha.4 또는 그 이전
BlockEntityDefinition.Builder.dataVersion(int, DataMigration)BlockEntityDefinition.BuilderSets the data version; block entities saved with an older one run upgrade on load.0.1.0-alpha.4 또는 그 이전
BlockEntityDefinition.Builder.inventory(int, String)BlockEntityDefinition.BuilderAdds an inventory of rows × 9 slots with a menu titled title.0.1.0-alpha.4 또는 그 이전
BlockEntityDefinition.Builder.menu(MenuLayout, String)BlockEntityDefinition.BuilderAdds an inventory with one slot per layout slot, shown in a menu with that layout.0.1.0-alpha.4 또는 그 이전
BlockEntityDefinition.Builder.syncToClients()BlockEntityDefinition.BuilderSends data changes to clients when BlockEntityView.markChanged() is called.0.1.0-alpha.4 또는 그 이전
BlockEntityDefinition.Builder.ticker(BlockEntityTicker)BlockEntityDefinition.BuilderRuns ticker on the server every tick.0.1.0-alpha.4 또는 그 이전
BlockEntityDefinition.builder()BlockEntityDefinition.BuilderA builder for a block entity with data only.0.1.0-alpha.4 또는 그 이전
BlockEntityDefinition.inventorySize()intNumber of inventory slots: from the layout, or rows × 9.0.1.0-alpha.4 또는 그 이전
BlockEntityTicker.tick(BlockEntityView)voidCalled on the server thread; entity is valid only during the call.0.1.0-alpha.4 또는 그 이전
BlockEntityView.data()DataTreeIts saved data; call markChanged() after changing it.0.1.0-alpha.4 또는 그 이전
BlockEntityView.inventory()Optional<InventoryView>Its inventory, when the definition has one.0.1.0-alpha.4 또는 그 이전
BlockEntityView.markChanged()voidMarks the data for saving and, for synchronised block entities, sends it to clients.0.1.0-alpha.4 또는 그 이전
BlockEntityView.pos()BlockPosIts position.0.1.0-alpha.4 또는 그 이전
BlockEntityView.world()WorldViewThe world it is in.0.1.0-alpha.4 또는 그 이전
MenuLayout.Builder.background(ResourceId)MenuLayout.BuilderDraws texture instead of the plain panel.0.1.0-alpha.4 또는 그 이전
MenuLayout.Builder.build()MenuLayoutCreates the layout; invalid values throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
MenuLayout.Builder.grid(int, int, int, int)MenuLayout.BuilderAdds a columns × rows grid of slots with 18-pixel spacing.0.1.0-alpha.4 또는 그 이전
MenuLayout.Builder.outputSlot(int, int)MenuLayout.BuilderAdds a slot players can only take from.0.1.0-alpha.4 또는 그 이전
MenuLayout.Builder.playerInventory(int, int)MenuLayout.BuilderMoves the player's inventory (default 8, height - 82).0.1.0-alpha.4 또는 그 이전
MenuLayout.Builder.progressBar(int, int, MenuLayout.ProgressStyle, String, String)MenuLayout.BuilderAdds a progress bar.0.1.0-alpha.4 또는 그 이전
MenuLayout.Builder.slot(int, int)MenuLayout.BuilderAdds a slot.0.1.0-alpha.4 또는 그 이전
MenuLayout.builder(int, int)MenuLayout.BuilderA builder for a width × height menu with the inventory at the game's usual place.0.1.0-alpha.4 또는 그 이전

content.block.state​

함수반환설명추가된 버전
BlockProperty.BooleanProperty.defaultValue()BooleanValue of the block's default state.0.1.0-alpha.4 또는 그 이전
BlockProperty.BooleanProperty.name()StringProperty name used in blockstate files and commands.0.1.0-alpha.4 또는 그 이전
BlockProperty.BooleanProperty.values()List<Boolean>Every allowed value, in the game's order.0.1.0-alpha.4 또는 그 이전
BlockProperty.BooleanProperty.withDefault(boolean)BlockProperty.BooleanPropertyThe same property with another default.0.1.0-alpha.4 또는 그 이전
BlockProperty.ChoiceProperty.defaultValue()StringValue of the block's default state.0.1.0-alpha.4 또는 그 이전
BlockProperty.ChoiceProperty.name()StringProperty name used in blockstate files and commands.0.1.0-alpha.4 또는 그 이전
BlockProperty.ChoiceProperty.values()List<String>Every allowed value, in the game's order.0.1.0-alpha.4 또는 그 이전
BlockProperty.ChoiceProperty.withDefault(String)BlockProperty.ChoicePropertyThe same property with another default.0.1.0-alpha.4 또는 그 이전
BlockProperty.DirectionProperty.defaultValue()DirectionValue of the block's default state.0.1.0-alpha.4 또는 그 이전
BlockProperty.DirectionProperty.name()StringProperty name used in blockstate files and commands.0.1.0-alpha.4 또는 그 이전
BlockProperty.DirectionProperty.values()List<Direction>Every allowed value, in the game's order.0.1.0-alpha.4 또는 그 이전
BlockProperty.DirectionProperty.withDefault(Direction)BlockProperty.DirectionPropertyThe same property with another default.0.1.0-alpha.4 또는 그 이전
BlockProperty.IntegerProperty.defaultValue()IntegerValue of the block's default state.0.1.0-alpha.4 또는 그 이전
BlockProperty.IntegerProperty.name()StringProperty name used in blockstate files and commands.0.1.0-alpha.4 또는 그 이전
BlockProperty.IntegerProperty.values()List<Integer>Every allowed value, in the game's order.0.1.0-alpha.4 또는 그 이전
BlockProperty.IntegerProperty.withDefault(int)BlockProperty.IntegerPropertyThe same property with another default.0.1.0-alpha.4 또는 그 이전
BlockProperty.bool(String)BlockProperty.BooleanPropertyA true/false property, default false.0.1.0-alpha.4 또는 그 이전
BlockProperty.choice(String, String[])BlockProperty.ChoicePropertyA property with named values, in this order; the first is the default.0.1.0-alpha.4 또는 그 이전
BlockProperty.defaultValue()TValue of the block's default state.0.1.0-alpha.4 또는 그 이전
BlockProperty.direction(String)BlockProperty.DirectionPropertyAny of the six directions, default north.0.1.0-alpha.4 또는 그 이전
BlockProperty.horizontalFacing(String)BlockProperty.DirectionPropertyA horizontal facing (north, south, west, east), default north.0.1.0-alpha.4 또는 그 이전
BlockProperty.integer(String, int, int)BlockProperty.IntegerPropertyA whole-number property in [min, max] with 0 <= min < max <= min + 255, default min.0.1.0-alpha.4 또는 그 이전
BlockProperty.name()StringProperty name used in blockstate files and commands.0.1.0-alpha.4 또는 그 이전
BlockProperty.values()List<T>Every allowed value, in the game's order.0.1.0-alpha.4 또는 그 이전
BlockStateView.block()ResourceIdThe block, for example minecraft:furnace.0.1.0-alpha.4 또는 그 이전
BlockStateView.find(BlockProperty<T>)Optional<T>The property's value, or empty when the block has no such property.0.1.0-alpha.4 또는 그 이전
BlockStateView.get(BlockProperty<T>)TThe property's value.0.1.0-alpha.4 또는 그 이전
BlockStateView.has(BlockProperty<?>)booleanWhether the block has a property with this name and value type.0.1.0-alpha.4 또는 그 이전
BlockStateView.with(BlockProperty<T>, T)BlockStateViewThis state with one property changed; this snapshot stays as it is.0.1.0-alpha.4 또는 그 이전

content.effect​

함수반환설명추가된 버전
EffectBehavior.onTick(LivingEntityView, int)voidCalled on the server every tickInterval ticks while the entity has the effect.0.1.0-alpha.4 또는 그 이전

content.entity​

함수반환설명추가된 버전
AiGoal.canStart(MobView)booleanWhether the goal should start now.0.1.0-alpha.4 또는 그 이전
AiGoal.controls()Set<GoalControl>The controls this goal needs while it runs; default GoalControl.MOVE.0.1.0-alpha.4 또는 그 이전
AiGoal.shouldContinue(MobView)booleanWhether a running goal keeps running; default canStart.0.1.0-alpha.4 또는 그 이전
AiGoal.start(MobView)voidThe goal started.0.1.0-alpha.4 또는 그 이전
AiGoal.stop(MobView)voidThe goal stopped or was interrupted.0.1.0-alpha.4 또는 그 이전
AiGoal.tick(MobView)voidEvery tick while running.0.1.0-alpha.4 또는 그 이전
EntityBehavior.onInteract(EntityInteraction)InteractionResultA player used the mob (both sides; check world().isClientSide()).0.1.0-alpha.4 또는 그 이전
EntityBehavior.onServerTick(LivingEntityView)voidEvery server tick while the mob is alive.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.attackPlayers(double)EntityDefinition.BuilderThe mob chases and hits players for damage.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.behavior(EntityBehavior)EntityDefinition.BuilderCallbacks for ticks and interaction.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.build()EntityDefinitionCreates the definition; invalid values throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.category(MobCategory)EntityDefinition.BuilderSpawn group; MobCategory.CREATURE by default.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.flying(double)EntityDefinition.BuilderThe mob flies and hovers (Movement.FLY) at flyingSpeed (parrot 0.4) in the air; movementSpeed still applies on the ground.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.goal(int, Supplier<AiGoal>)EntityDefinition.BuilderAdds an AI goal created for each mob by factory.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.maxHealth(double)EntityDefinition.BuilderHealth in half-hearts; 20 by default.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.model(EntityModelDefinition)EntityDefinition.BuilderDraws the mob with a box model instead of the player-shaped one.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.movementSpeed(double)EntityDefinition.BuilderBase speed (zombie 0.23, villager 0.5); 0.25 by default.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.noGravity()EntityDefinition.BuilderThe mob is not pulled down by gravity.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.noWandering()EntityDefinition.BuilderThe mob stands still.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.notPushable()EntityDefinition.BuilderOther entities do not push the mob.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.panicWhenHurt()EntityDefinition.BuilderThe mob runs away for a while after being hurt.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.rideable(boolean)EntityDefinition.BuilderPlayers can ride the mob; with steerable they also steer it.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.size(float, float)EntityDefinition.BuilderHitbox width and height in blocks.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.spawnEgg(CreativeTab)EntityDefinition.BuilderDeclares a spawn egg item <id>_spawn_egg listed in tab.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.spawnsNaturally(BiomeSelector, int, int, int)EntityDefinition.BuilderThe mob spawns by itself in biomes, in groups of minGroup..maxGroup.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.swimming()EntityDefinition.BuilderThe mob swims under water (Movement.SWIM) at movementSpeed.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.targetGoal(int, Supplier<AiGoal>)EntityDefinition.BuilderAdds a target goal (chooses whom to attack) created for each mob by factory.0.1.0-alpha.4 또는 그 이전
EntityDefinition.Builder.temptedBy(ResourceId)EntityDefinition.BuilderThe mob follows players holding item.0.1.0-alpha.4 또는 그 이전
EntityDefinition.builder(ResourceId)EntityDefinition.BuilderA builder for a 0.6×1.95 creature (player-sized) with the given skin texture.0.1.0-alpha.4 또는 그 이전
ProjectileBehavior.onHitBlock(ProjectileHit)voidThe projectile hit a block.0.1.0-alpha.4 또는 그 이전
ProjectileBehavior.onHitEntity(ProjectileHit)voidThe projectile hit an entity, after its damage was dealt.0.1.0-alpha.4 또는 그 이전
ProjectileDefinition.Builder.behavior(ProjectileBehavior)ProjectileDefinition.BuilderCallbacks for hitting blocks and entities.0.1.0-alpha.4 또는 그 이전
ProjectileDefinition.Builder.build()ProjectileDefinitionCreates the definition; invalid values throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
ProjectileDefinition.Builder.damage(float)ProjectileDefinition.BuilderDamage to a hit entity, 0 for none.0.1.0-alpha.4 또는 그 이전
ProjectileDefinition.Builder.gravity(double)ProjectileDefinition.BuilderDownward acceleration per tick (snowball 0.03).0.1.0-alpha.4 또는 그 이전
ProjectileDefinition.Builder.size(float)ProjectileDefinition.BuilderHitbox width and height in blocks.0.1.0-alpha.4 또는 그 이전
ProjectileDefinition.builder(ResourceId)ProjectileDefinition.BuilderA builder for a 0.25-block projectile drawn as item, with snowball gravity and no damage.0.1.0-alpha.4 또는 그 이전

content.entity.model​

함수반환설명추가된 버전
EntityModelDefinition.Builder.animation(String, KeyframeAnimation)EntityModelDefinition.BuilderAdds a keyframe animation called name; KeyframeAnimation.Trigger.ON_DEMAND ones are started by name with MobView.playAnimation.0.1.0-alpha.4 또는 그 이전
EntityModelDefinition.Builder.build()EntityModelDefinitionCreates the model; invalid parts throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
EntityModelDefinition.Builder.part(String, Consumer<ModelPartDefinition.Builder>)EntityModelDefinition.BuilderAdds a part configured by part.0.1.0-alpha.4 또는 그 이전
EntityModelDefinition.builder(int, int)EntityModelDefinition.BuilderA builder for a model using a textureWidth × textureHeight texture.0.1.0-alpha.4 또는 그 이전
EntityModelDefinition.onDemandAnimations()List<String>Names of the KeyframeAnimation.Trigger.ON_DEMAND animations, in declaration order.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.build()KeyframeAnimationCreates the animation; invalid values throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.keyframe(String, KeyframeAnimation.Target, float, float, float, float, KeyframeAnimation.Interpolation)KeyframeAnimation.BuilderAdds a keyframe with every detail given.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.looping()KeyframeAnimation.BuilderStarts over at the end.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.position(String, float, float, float, float)KeyframeAnimation.BuilderMoves part by x, y, z model pixels (y up) at time seconds.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.rotation(String, float, float, float, float)KeyframeAnimation.BuilderRotates part by x, y, z degrees at time seconds.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.scale(String, float, float, float, float)KeyframeAnimation.BuilderScales part by x, y, z (1 keeps the size) at time seconds.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.smooth()KeyframeAnimation.BuilderBlends the keyframes added after this call along smooth curves instead of straight lines.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.Builder.trigger(KeyframeAnimation.Trigger)KeyframeAnimation.BuilderWhen the animation plays; Trigger.ON_DEMAND by default.0.1.0-alpha.4 또는 그 이전
KeyframeAnimation.builder(float)KeyframeAnimation.BuilderA builder for an animation lengthSeconds long that plays when the server starts it.0.1.0-alpha.4 또는 그 이전
ModelPartDefinition.Builder.animation(PartAnimation)ModelPartDefinition.BuilderHow the part moves on its own; PartAnimation.NONE by default.0.1.0-alpha.4 또는 그 이전
ModelPartDefinition.Builder.box(int, int, float, float, float, float, float, float)ModelPartDefinition.BuilderAdds a box whose texture net starts at u, v.0.1.0-alpha.4 또는 그 이전
ModelPartDefinition.Builder.mirroredBox(int, int, float, float, float, float, float, float)ModelPartDefinition.BuilderAdds a box with a mirrored texture.0.1.0-alpha.4 또는 그 이전
ModelPartDefinition.Builder.parent(String)ModelPartDefinition.BuilderAttaches the part to parent; its pivot becomes relative to the parent's.0.1.0-alpha.4 또는 그 이전
ModelPartDefinition.Builder.pivot(float, float, float)ModelPartDefinition.BuilderThe point the part turns around, relative to the parent's pivot (model pixels, y down).0.1.0-alpha.4 또는 그 이전
ModelPartDefinition.Builder.rotation(float, float, float)ModelPartDefinition.BuilderRest rotation in degrees.0.1.0-alpha.4 또는 그 이전

content.item​

함수반환설명추가된 버전
ComponentType.valueClass()Class<T>Java type of the value.0.1.0-alpha.4 또는 그 이전
ItemBehavior.onUse(ItemUse)InteractionResultThe item was used in the air.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.behavior(ItemBehavior)ItemDefinition.BuilderSets the use callbacks.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.build()ItemDefinitionCreates the definition; invalid values throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.creativeTab(CreativeTab)ItemDefinition.BuilderLists the item at the end of a creative inventory tab.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.durability(int)ItemDefinition.BuilderGives the item durability; also sets the stack size to 1.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.fireResistant()ItemDefinition.BuilderThe dropped item survives fire and lava.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.food(FoodDefinition)ItemDefinition.BuilderMakes the item edible.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.maxStackSize(int)ItemDefinition.BuilderSets the maximum stack size, 1–99.0.1.0-alpha.4 또는 그 이전
ItemDefinition.Builder.rarity(ItemRarity)ItemDefinition.BuilderSets the name colour.0.1.0-alpha.4 또는 그 이전
ItemDefinition.builder()ItemDefinition.BuilderA builder for a common item stacking to 64, listed in no tab.0.1.0-alpha.4 또는 그 이전

content.particle​

함수반환설명추가된 버전
ParticleDefinition.asGlowing()ParticleDefinitionA copy drawn at full brightness, also in the dark.0.1.0-alpha.4 또는 그 이전
ParticleDefinition.of(int)ParticleDefinitionLives lifetimeTicks, no gravity, default size, normal lighting, no tint.0.1.0-alpha.4 또는 그 이전
ParticleDefinition.withGravity(float)ParticleDefinitionA copy with this downward acceleration (0 floats).0.1.0-alpha.4 또는 그 이전
ParticleDefinition.withScale(float)ParticleDefinitionA copy with this size multiplier.0.1.0-alpha.4 또는 그 이전
ParticleDefinition.withTint(int)ParticleDefinitionA copy with this colour, 0xRRGGBB, multiplied into the sprite.0.1.0-alpha.4 또는 그 이전

data​

함수반환설명추가된 버전
DataMigration.migrate(DataTree, int)voidUpgrades data from fromVersion to the current version.0.1.0-alpha.4 또는 그 이전
DataTree.child(String)DataTreeThe child tree under key, creating it (and replacing a non-tree value) if needed.0.1.0-alpha.4 또는 그 이전
DataTree.clear()voidRemoves every entry.0.1.0-alpha.4 또는 그 이전
DataTree.copy()DataTreeA deep copy.0.1.0-alpha.4 또는 그 이전
DataTree.create()DataTreeAn empty tree.0.1.0-alpha.4 또는 그 이전
DataTree.findChild(String)Optional<DataTree>The child tree under key, without creating it.0.1.0-alpha.4 또는 그 이전
DataTree.getBoolean(String, boolean)booleanThe boolean under key, or fallback if there is none.0.1.0-alpha.4 또는 그 이전
DataTree.getBytes(String)Optional<byte[]>A copy of the stored bytes.0.1.0-alpha.4 또는 그 이전
DataTree.getDouble(String, double)doubleThe double under key, or fallback if there is none.0.1.0-alpha.4 또는 그 이전
DataTree.getInt(String, int)intThe integer under key, or fallback if there is none.0.1.0-alpha.4 또는 그 이전
DataTree.getLong(String, long)longThe long under key, or fallback if there is none.0.1.0-alpha.4 또는 그 이전
DataTree.getString(String, String)StringThe string under key, or fallback if there is none.0.1.0-alpha.4 또는 그 이전
DataTree.has(String)booleanWhether any value is stored under key.0.1.0-alpha.4 또는 그 이전
DataTree.keys()Set<String>Keys in insertion order.0.1.0-alpha.4 또는 그 이전
DataTree.putBoolean(String, boolean)DataTreeStores a boolean under key; returns this tree.0.1.0-alpha.4 또는 그 이전
DataTree.putBytes(String, byte[])DataTreeStores a copy of value under key; returns this tree.0.1.0-alpha.4 또는 그 이전
DataTree.putDouble(String, double)DataTreeStores a double under key; returns this tree.0.1.0-alpha.4 또는 그 이전
DataTree.putInt(String, int)DataTreeStores an integer under key; returns this tree.0.1.0-alpha.4 또는 그 이전
DataTree.putLong(String, long)DataTreeStores a long under key; returns this tree.0.1.0-alpha.4 또는 그 이전
DataTree.putString(String, String)DataTreeStores a string under key; returns this tree.0.1.0-alpha.4 또는 그 이전
DataTree.raw(String)Optional<Object>The raw value under key: Integer, Long, Double, Boolean, String, byte[] (shared, do not modify), or DataTree; empty when absent.0.1.0-alpha.4 또는 그 이전
DataTree.remove(String)voidRemoves the value under key, if any.0.1.0-alpha.4 또는 그 이전

devtools.gametest​

함수반환설명추가된 버전
GameTest.run(GameTestContext)voidStarts the test on the server thread.0.1.0-alpha.4 또는 그 이전
GameTestContext.absolute(BlockPos)BlockPosConverts a test-relative position into a world position.0.1.0-alpha.4 또는 그 이전
GameTestContext.assertBlock(BlockPos, ResourceId)voidFails unless the block at a test-relative position is expected.0.1.0-alpha.4 또는 그 이전
GameTestContext.assertTrue(boolean, String)voidFails with message unless condition holds.0.1.0-alpha.4 또는 그 이전
GameTestContext.attackEntity(PlayerView, EntityView)voidMakes a server player attack target with its main hand, as a left-click does (interaction events, then damage and knockback).0.1.0-alpha.4 또는 그 이전
GameTestContext.breakBlock(PlayerView, BlockPos)booleanMakes a server player break the block at a test-relative position at once, the way the server finishes a player's digging: block events, the game's checks, drops in survival mode.0.1.0-alpha.4 또는 그 이전
GameTestContext.createConnectedMockPlayer()PlayerViewCreates a survival-mode player that joins the server like a client over an in-memory connection (PlayerEvents.JOINED fires) and reports that it finished loading, so it can take damage.0.1.0-alpha.4 또는 그 이전
GameTestContext.createMockPlayer()PlayerViewCreates a survival-mode player in the test world that is not connected to any client.0.1.0-alpha.4 또는 그 이전
GameTestContext.createMockServerPlayer()PlayerViewCreates a survival-mode server player that is not connected and not in the world, for what needs one, such as advancements.0.1.0-alpha.4 또는 그 이전
GameTestContext.disconnect(PlayerView)voidDisconnects a player from createConnectedMockPlayer() (PlayerEvents.LEAVING fires); does nothing for a player that already left.0.1.0-alpha.4 또는 그 이전
GameTestContext.fail(String)voidMarks the test failed.0.1.0-alpha.4 또는 그 이전
GameTestContext.interactBlock(PlayerView, BlockPos, Direction)InteractionResultMakes a server player (from createMockServerPlayer()) right-click a face of the block at a test-relative position with its main hand, the way the server handles the click from a connected client: interaction events first, then the held item and the block.0.1.0-alpha.4 또는 그 이전
GameTestContext.interactEntity(PlayerView, EntityView)InteractionResultMakes a server player right-click target with its main hand, the way the server handles the click from a connected client (interaction events, then the entity and the item).0.1.0-alpha.4 또는 그 이전
GameTestContext.interactItem(PlayerView)InteractionResultMakes a server player use the item in its main hand in the air, the way the server handles the click from a connected client (interaction events, then the item).0.1.0-alpha.4 또는 그 이전
GameTestContext.respawn(PlayerView, boolean)PlayerViewRespawns a player from createConnectedMockPlayer() as its client asks from the death screen (or after the End credits): the game builds a new player object, PlayerEvents.COPY and RESPAWNED fire, and the new player reports that it loaded.0.1.0-alpha.4 또는 그 이전
GameTestContext.runAfter(int, Runnable)voidRuns action after ticks more ticks, on the server thread.0.1.0-alpha.4 또는 그 이전
GameTestContext.runCommand(String)intRuns a command as the server at the test area's origin.0.1.0-alpha.4 또는 그 이전
GameTestContext.setBlock(BlockPos, ResourceId)voidPlaces the default state of block at a test-relative position.0.1.0-alpha.4 또는 그 이전
GameTestContext.succeed()voidMarks the test passed.0.1.0-alpha.4 또는 그 이전
GameTestContext.useBlock(BlockPos, PlayerView)voidMakes player use (right-click) the block at a test-relative position with an empty hand.0.1.0-alpha.4 또는 그 이전
GameTestContext.world()WorldViewThe world the test runs in.0.1.0-alpha.4 또는 그 이전
GameTestRegistrar.register(String, GameTest)voidRegisters a required test that must finish within 100 ticks.0.1.0-alpha.4 또는 그 이전
GameTestRegistrar.register(String, int, GameTest)voidRegisters a required test.0.1.0-alpha.4 또는 그 이전
GameTestRegistrar.register(String, int, TestArea, GameTest)voidRegisters a required test that gets area to itself.0.1.0-alpha.4 또는 그 이전
TestArea.cube(int)TestAreaA size × size × size cube.0.1.0-alpha.4 또는 그 이전

entity​

함수반환설명추가된 버전
EntityView.blockPos()BlockPosThe block the entity stands in.0.1.0-alpha.4 또는 그 이전
EntityView.changeDimension(ResourceId, double, double, double)EntityViewMoves the entity to another dimension, for example minecraft:the_nether or a mod dimension from data; server side only.0.1.0-alpha.4 또는 그 이전
EntityView.data(EntityDataKey)StoredDataThe entity's data for key; call markChanged() after changing it.0.1.0-alpha.4 또는 그 이전
EntityView.hasNoGravity()booleanWhether gravity is off for this entity.0.1.0-alpha.4 또는 그 이전
EntityView.isAlive()booleanWhether the entity is alive and in a world.0.1.0-alpha.4 또는 그 이전
EntityView.isIn(TagKey)booleanWhether the entity's type is in an entity type tag, for example #minecraft:skeletons.0.1.0-alpha.4 또는 그 이전
EntityView.isOnGround()booleanWhether the entity stands on a block.0.1.0-alpha.4 또는 그 이전
EntityView.name()StringDisplay name as plain text.0.1.0-alpha.4 또는 그 이전
EntityView.passengers()List<EntityView>Who rides the entity.0.1.0-alpha.4 또는 그 이전
EntityView.pitch()floatVertical facing in degrees (-90 up, 90 down).0.1.0-alpha.4 또는 그 이전
EntityView.remove()voidRemoves the entity without dropping loot; server side only.0.1.0-alpha.4 또는 그 이전
EntityView.setNoGravity(boolean)voidTurns gravity off or on.0.1.0-alpha.4 또는 그 이전
EntityView.setRotation(float, float)voidTurns the entity.0.1.0-alpha.4 또는 그 이전
EntityView.setVelocity(double, double, double)voidSets the velocity; for players it reaches their client.0.1.0-alpha.4 또는 그 이전
EntityView.startRiding(EntityView)booleanMounts vehicle.0.1.0-alpha.4 또는 그 이전
EntityView.stopRiding()voidDismounts, if riding.0.1.0-alpha.4 또는 그 이전
EntityView.teleport(double, double, double)voidMoves the entity within its dimension; server side only.0.1.0-alpha.4 또는 그 이전
EntityView.type()ResourceIdEntity type, for example minecraft:pig.0.1.0-alpha.4 또는 그 이전
EntityView.uuid()UUIDUnique, persistent entity ID.0.1.0-alpha.4 또는 그 이전
EntityView.vehicle()Optional<EntityView>What the entity rides, if anything.0.1.0-alpha.4 또는 그 이전
EntityView.velocity()Vector3Velocity in blocks per tick.0.1.0-alpha.4 또는 그 이전
EntityView.world()WorldViewThe world the entity is in.0.1.0-alpha.4 또는 그 이전
EntityView.x()doubleX coordinate.0.1.0-alpha.4 또는 그 이전
EntityView.y()doubleY coordinate (feet).0.1.0-alpha.4 또는 그 이전
EntityView.yaw()floatHorizontal facing in degrees (0 south, 90 west, 180 north, 270 east).0.1.0-alpha.4 또는 그 이전
EntityView.z()doubleZ coordinate.0.1.0-alpha.4 또는 그 이전
LivingEntityView.addEffect(ResourceId, int, int)voidAdds a status effect, such as minecraft:speed or a mod effect.0.1.0-alpha.4 또는 그 이전
LivingEntityView.hasEffect(ResourceId)booleanWhether the entity has the effect.0.1.0-alpha.4 또는 그 이전
LivingEntityView.health()floatCurrent health in half-hearts.0.1.0-alpha.4 또는 그 이전
LivingEntityView.hurt(ResourceId, float)booleanDeals damage of a data-defined damage type, such as minecraft:magic or one from the mod's data/<mod id>/damage_type/.0.1.0-alpha.4 또는 그 이전
LivingEntityView.hurt(float)booleanDeals generic damage on the server, as if from /damage.0.1.0-alpha.4 또는 그 이전
LivingEntityView.launchProjectile(ResourceId, float, float)EntityViewLaunches a projectile, such as a mod projectile or minecraft:snowball, from the eyes in the look direction.0.1.0-alpha.4 또는 그 이전
LivingEntityView.maxHealth()floatMaximum health.0.1.0-alpha.4 또는 그 이전
LivingEntityView.setHealth(float)voidSets health, clamped to [0, maxHealth]; server side only.0.1.0-alpha.4 또는 그 이전
MobView.isNavigating()booleanWhether the mob is following a path.0.1.0-alpha.4 또는 그 이전
MobView.lookAt(double, double, double)voidTurns the head towards a position this tick.0.1.0-alpha.4 또는 그 이전
MobView.navigateTo(double, double, double, double)booleanStarts walking to a position along a path.0.1.0-alpha.4 또는 그 이전
MobView.playAnimation(String)voidPlays one of the mob's ON_DEMAND model animations from the start on every client that sees the mob.0.1.0-alpha.4 또는 그 이전
MobView.setTarget(LivingEntityView)voidSets the attack target, or clears it with null.0.1.0-alpha.4 또는 그 이전
MobView.stopAnimation(String)voidStops an ON_DEMAND animation on every client; a non-looping one also stops by itself at its end.0.1.0-alpha.4 또는 그 이전
MobView.stopNavigating()voidStops following the path.0.1.0-alpha.4 또는 그 이전
MobView.target()Optional<LivingEntityView>The attack target, if any.0.1.0-alpha.4 또는 그 이전
PlayerView.countItem(ResourceId)intHow many of item the player carries in their inventory.0.1.0-alpha.4 또는 그 이전
PlayerView.give(ResourceId, int)voidGives the player count of item; what does not fit is dropped at their feet.0.1.0-alpha.4 또는 그 이전
PlayerView.grantAdvancement(ResourceId)booleanCompletes every criterion of an advancement, with its rewards and announcement.0.1.0-alpha.4 또는 그 이전
PlayerView.hasAdvancement(ResourceId)booleanWhether the player has completed an advancement, such as minecraft:story/mine_stone.0.1.0-alpha.4 또는 그 이전
PlayerView.hasPermission(PermissionNode)booleanWhether the player has the permission: the first deciding provider, else the node's default operator level.0.1.0-alpha.4 또는 그 이전
PlayerView.inventory()InventoryViewThe player's inventory: 36 main slots (hotbar 0–8), then armour and off hand.0.1.0-alpha.4 또는 그 이전
PlayerView.mainHandItem()ResourceIdThe item in the main hand, minecraft:air when empty.0.1.0-alpha.4 또는 그 이전
PlayerView.mainHandStack()ItemStackRefThe live stack in the main hand.0.1.0-alpha.4 또는 그 이전
PlayerView.openMenu(BlockPos)booleanOpens the menu of the block entity at pos (a chest-style or laid-out mod menu, or a game container such as a furnace) for this player.0.1.0-alpha.4 또는 그 이전
PlayerView.revokeAdvancement(ResourceId)booleanClears every criterion of an advancement.0.1.0-alpha.4 또는 그 이전
PlayerView.sendMessage(String)voidShows text in the player's chat.0.1.0-alpha.4 또는 그 이전

event​

함수반환설명추가된 버전
EventKey.id()StringDiagnostic ID, e.g.0.1.0-alpha.4 또는 그 이전
EventKey.listenerType()Class<L>The listener interface.0.1.0-alpha.4 또는 그 이전
EventKey.of(String, Class<L>)EventKey<L>Creates a key; id is namespace:path and only used for diagnostics.0.1.0-alpha.4 또는 그 이전
EventRegistry.register(EventKey<L>, EventPriority, L)voidRegisters listener for event.0.1.0-alpha.4 또는 그 이전
EventRegistry.register(EventKey<L>, L)voidRegisters listener for event with EventPriority.NORMAL.0.1.0-alpha.4 또는 그 이전
EventResult.isDecided()booleanWhether this result decides the event, i.e. is not PASS.0.1.0-alpha.4 또는 그 이전

event.block​

함수반환설명추가된 버전
BlockBreakListener.onBlockBreak(WorldView, BlockPos, ResourceId, PlayerView)EventResultCalled on the server thread before the block is removed.0.1.0-alpha.4 또는 그 이전
BlockBrokenListener.onBlockBroken(WorldView, BlockPos, ResourceId, PlayerView)voidCalled on the server thread after the block was removed and its drops spawned.0.1.0-alpha.4 또는 그 이전
BlockPlaceListener.onBlockPlace(WorldView, BlockPos, ResourceId, PlayerView)EventResultCalled on the server thread after the game checked that the block fits, before it is set.0.1.0-alpha.4 또는 그 이전
BlockPlacedListener.onBlockPlaced(WorldView, BlockPos, ResourceId, PlayerView)voidCalled on the server thread after the block was placed, its block entity data applied, and the item used up.0.1.0-alpha.4 또는 그 이전

event.entity​

함수반환설명추가된 버전
AllowDamageListener.allowDamage(LivingEntityView, DamageInfo)booleanReturns false to cancel the damage.0.1.0-alpha.4 또는 그 이전
DamageModifier.modifyDamage(LivingEntityView, DamageInfo)floatReturns the damage to deal instead of damage.amount(); return it unchanged to keep it.0.1.0-alpha.4 또는 그 이전
DeathListener.onDied(LivingEntityView, DamageInfo)voidCalled on the server thread when death starts, before drops.0.1.0-alpha.4 또는 그 이전
EntityJoinedWorldListener.onEntityJoinedWorld(EntityView, WorldView)voidCalled on the server thread while the world starts tracking the entity.0.1.0-alpha.4 또는 그 이전

event.interaction​

함수반환설명추가된 버전
AttackEntityListener.onAttackEntity(PlayerView, EntityView)EventResultCalled on the server thread.0.1.0-alpha.4 또는 그 이전
UseBlockListener.onUseBlock(PlayerView, Hand, ItemStackRef, BlockPos, Direction)InteractionResultCalled on the server thread.0.1.0-alpha.4 또는 그 이전
UseEntityListener.onUseEntity(PlayerView, Hand, ItemStackRef, EntityView)InteractionResultCalled on the server thread.0.1.0-alpha.4 또는 그 이전
UseItemListener.onUseItem(PlayerView, Hand, ItemStackRef)InteractionResultCalled on the server thread, also for an empty hand.0.1.0-alpha.4 또는 그 이전

event.lifecycle​

함수반환설명추가된 버전
ModsInitializedListener.onModsInitialized()voidHandles the event.0.1.0-alpha.10

event.player​

함수반환설명추가된 버전
LoginCheckListener.checkLogin(UUID, String)Optional<String>Returns a reason to refuse the player, shown on their disconnect screen, or empty to let them in.0.1.0-alpha.4 또는 그 이전
PlayerCopyListener.onPlayerCopy(PlayerView, PlayerView, boolean)voidCalled on the server thread while the game builds the new player object for a respawn, after the game copied what it keeps (inventory with keepInventory, everything when returning from the End) and after Poly Mod Loader copied EntityDataKey data.0.1.0-alpha.4 또는 그 이전
PlayerJoinedListener.onPlayerJoined(PlayerView)voidCalled on the server thread; player is valid only during the call.0.1.0-alpha.4 또는 그 이전
PlayerLeavingListener.onPlayerLeaving(PlayerView)voidCalled on the server thread before the player is removed; player is valid only during the call.0.1.0-alpha.4 또는 그 이전
PlayerRespawnedListener.onPlayerRespawned(PlayerView, boolean)voidCalled on the server thread after the new player object was placed in its world.0.1.0-alpha.4 또는 그 이전

event.server​

함수반환설명추가된 버전
ServerStartedListener.onServerStarted(ServerView)voidHandles the event.0.1.0-alpha.4 또는 그 이전
ServerStartingListener.onServerStarting(ServerView)voidHandles the event.0.1.0-alpha.4 또는 그 이전
ServerStoppedListener.onServerStopped(ServerView)voidHandles the event.0.1.0-alpha.4 또는 그 이전
ServerStoppingListener.onServerStopping(ServerView)voidHandles the event.0.1.0-alpha.4 또는 그 이전
ServerTickListener.onServerTick(ServerView)voidHandles the event.0.1.0-alpha.4 또는 그 이전
ServerView.dedicated()booleanWhether Minecraft reports this server as dedicated.0.1.0-alpha.4 또는 그 이전
ServerView.motd()StringMessage of the day shown in the server list.0.1.0-alpha.4 또는 그 이전
ServerView.playerCount()intPlayers currently connected.0.1.0-alpha.4 또는 그 이전
ServerView.tickCount()intTicks processed so far.0.1.0-alpha.4 또는 그 이전

event.world​

함수반환설명추가된 버전
ChunkListener.onChunk(WorldView, int, int)voidA chunk of world; coordinates are chunk coordinates.0.1.0-alpha.4 또는 그 이전
WorldListener.onWorld(WorldView)voidCalled on the server thread; world is valid only during the call.0.1.0-alpha.4 또는 그 이전
WorldReadyListener.onWorldReady(WorldView)voidCalled on the server thread at the start of the dimension's first tick.0.1.0-alpha.4 또는 그 이전

inventory​

함수반환설명추가된 버전
InventoryView.add(ResourceId, int)intAdds items to existing stacks first, then to empty slots.0.1.0-alpha.4 또는 그 이전
InventoryView.clear()voidEmpties every slot.0.1.0-alpha.4 또는 그 이전
InventoryView.count(ResourceId)intHow many of item the inventory holds.0.1.0-alpha.4 또는 그 이전
InventoryView.get(int)ItemStackViewThe stack in slot; IndexOutOfBoundsException for a bad slot.0.1.0-alpha.4 또는 그 이전
InventoryView.set(int, ResourceId, int)voidReplaces the stack in slot; a count of 0 empties it.0.1.0-alpha.4 또는 그 이전
InventoryView.size()intNumber of slots.0.1.0-alpha.4 또는 그 이전
InventoryView.stackAt(int)ItemStackRefThe live stack in slot, to read or change its components.0.1.0-alpha.4 또는 그 이전
ItemStackRef.count()intHow many, 0 when empty.0.1.0-alpha.4 또는 그 이전
ItemStackRef.customName()Optional<String>The name given with an anvil or setCustomName, if any.0.1.0-alpha.4 또는 그 이전
ItemStackRef.damage()intDurability used up, 0 for undamaged or undamageable items.0.1.0-alpha.4 또는 그 이전
ItemStackRef.get(ItemComponentKey<T>)Optional<T>The component's value, or empty when the stack does not have it.0.1.0-alpha.4 또는 그 이전
ItemStackRef.isEmpty()booleanWhether the stack is empty.0.1.0-alpha.4 또는 그 이전
ItemStackRef.isIn(TagKey)booleanWhether the stack's item is in an item tag, for example #minecraft:logs; false for an empty stack.0.1.0-alpha.4 또는 그 이전
ItemStackRef.item()ResourceIdThe item, minecraft:air when empty.0.1.0-alpha.4 또는 그 이전
ItemStackRef.maxDamage()intDurability, 0 for undamageable items.0.1.0-alpha.4 또는 그 이전
ItemStackRef.remove(ItemComponentKey<?>)voidRemoves the component.0.1.0-alpha.4 또는 그 이전
ItemStackRef.set(ItemComponentKey<T>, T)voidSets the component's value.0.1.0-alpha.4 또는 그 이전
ItemStackRef.setCount(int)voidChanges the count; 0 empties the stack.0.1.0-alpha.4 또는 그 이전
ItemStackRef.setCustomName(String)voidGives the stack a name, or removes it with null.0.1.0-alpha.4 또는 그 이전
ItemStackRef.setDamage(int)voidSets the used durability, clamped to [0, maxDamage].0.1.0-alpha.4 또는 그 이전
ItemStackRef.snapshot()ItemStackViewA snapshot of item and count.0.1.0-alpha.4 또는 그 이전
ItemStackView.isEmpty()booleanWhether the slot is empty.0.1.0-alpha.4 또는 그 이전

lifecycle​

함수반환설명추가된 버전
ClientModInitializer.onInitializeClient(ModContext)voidInitialises the mod's client-only parts.0.1.0-alpha.4 또는 그 이전
CommonModInitializer.onInitializeCommon(ModContext)voidInitialises the mod's common (side-independent) parts.0.1.0-alpha.4 또는 그 이전
DedicatedServerModInitializer.onInitializeDedicatedServer(ModContext)voidInitialises the mod's dedicated-server-only parts.0.1.0-alpha.4 또는 그 이전
LoadedMods.all()List<LoadedMods.Mod>Every loaded mod: first those a host loader runs, then the others in the order their entrypoints run.0.1.0-alpha.18
LoadedMods.find(String)Optional<LoadedMods.Mod>The loaded mod with modId: the mod whose own ID it is, otherwise the first mod that provides it; empty when none is loaded.0.1.0-alpha.18
LoadedMods.isLoaded(String)booleanWhether a mod with modId is loaded, by its own ID or an ID it provides (provides in fabric.mod.json).0.1.0-alpha.18
ModContext.client()ClientRegistrarClient-only registrations: key bindings and HUD layers.0.1.0-alpha.4 또는 그 이전
ModContext.commands()CommandRegistrarRegisters this mod's server commands.0.1.0-alpha.4 또는 그 이전
ModContext.configDirectory()PathThis mod's configuration directory, config/<mod id> in the game directory; created on first call.0.1.0-alpha.4 또는 그 이전
ModContext.content()ContentRegistrarDeclares this mod's blocks and items (common entrypoints only).0.1.0-alpha.4 또는 그 이전
ModContext.events()EventRegistryRegisters event listeners owned by this mod.0.1.0-alpha.4 또는 그 이전
ModContext.gameTests()GameTestRegistrarRegisters this mod's in-game tests.0.1.0-alpha.4 또는 그 이전
ModContext.modId()StringThe mod ID declared in poly.mod.json, for example minimal_native_mod.0.1.0-alpha.4 또는 그 이전
ModContext.modVersion()StringThe mod version declared in poly.mod.json.0.1.0-alpha.4 또는 그 이전
ModContext.mods()LoadedModsThe mods loaded in this game, of every loader (Poly Mods, Fabric mods, Forge mods).0.1.0-alpha.18
ModContext.network()NetworkRegistrarDeclares this mod's network channels.0.1.0-alpha.4 또는 그 이전
ModContext.onShutdown(String, Runnable)voidRegisters work to run when the game process exits.0.1.0-alpha.4 또는 그 이전
ModContext.permissions()PermissionRegistrarThe mod's permissions and permission providers.0.1.0-alpha.4 또는 그 이전
ModContext.resources()ResourceRegistrarReload listeners for the mod's own data and asset files.0.1.0-alpha.4 또는 그 이전
ModContext.side()GameSideWhether this process is a client or a dedicated server.0.1.0-alpha.4 또는 그 이전
ModContext.systems()SystemLookupThe active implementation of each Poly Mod Loader system, after replacements were applied.0.1.0-alpha.4 또는 그 이전
ModContext.worldgen()WorldgenRegistrarAttaches this mod's placed features to biomes.0.1.0-alpha.4 또는 그 이전

network​

함수반환설명추가된 버전
ClientPayloadHandler.receive(T)voidCalled on the client thread.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.Answer.answer(T)TThe reply to the server's request.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.Check.check(UUID, String, Optional<T>)Optional<String>Empty to let the player in, or the message shown to them when the connection is refused.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.Request.request(UUID, String)Optional<T>The message for player playerName, or empty to skip the exchange for them.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.clientAnswer(ConfigurationExchange.Answer<T>)ConfigurationExchange<T>How the client answers; without it the client does not answer.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.id()ResourceIdThe exchange's ID, <mod id>:<path>.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.serverCheck(ConfigurationExchange.Check<T>)ConfigurationExchange<T>Whether the server lets the player in after the client's answer.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.serverRequest(ConfigurationExchange.Request<T>)ConfigurationExchange<T>What the server sends to each joining player; without it the exchange is skipped.0.1.0-alpha.4 또는 그 이전
ConfigurationExchange.timeoutTicks(int)ConfigurationExchange<T>How long the server waits for the answer, in ticks; 100 (5 seconds) by default.0.1.0-alpha.4 또는 그 이전
NetworkRegistrar.channel(String, PayloadCodec<T>)PayloadChannel<T>Declares a channel.0.1.0-alpha.4 또는 그 이전
NetworkRegistrar.configurationExchange(String, PayloadCodec<T>)ConfigurationExchange<T>Declares configuration exchange <mod id>:<path>: a question the server asks each joining client before the player enters the world.0.1.0-alpha.4 또는 그 이전
PayloadChannel.id()ResourceIdThe channel ID.0.1.0-alpha.4 또는 그 이전
PayloadChannel.onClientReceive(ClientPayloadHandler<T>)voidSets what the client does with payloads from the server.0.1.0-alpha.4 또는 그 이전
PayloadChannel.onServerReceive(ServerPayloadHandler<T>)voidSets what the server does with payloads from clients.0.1.0-alpha.4 또는 그 이전
PayloadChannel.sendToPlayer(PlayerView, T)voidSends a payload to one player.0.1.0-alpha.4 또는 그 이전
PayloadChannel.sendToServer(T)voidSends a payload to the server.0.1.0-alpha.4 또는 그 이전
PayloadCodec.decode(PayloadReader)TReads a value written by encode.0.1.0-alpha.4 또는 그 이전
PayloadCodec.encode(T, PayloadWriter)voidWrites value.0.1.0-alpha.4 또는 그 이전
PayloadCodec.string()PayloadCodec<String>A codec for a single UTF-8 string.0.1.0-alpha.4 또는 그 이전
PayloadReader.readBoolean()booleanReads a boolean.0.1.0-alpha.4 또는 그 이전
PayloadReader.readBytes()byte[]Reads a byte array.0.1.0-alpha.4 또는 그 이전
PayloadReader.readDouble()doubleReads a double.0.1.0-alpha.4 또는 그 이전
PayloadReader.readInt()intReads an int.0.1.0-alpha.4 또는 그 이전
PayloadReader.readLong()longReads a long.0.1.0-alpha.4 또는 그 이전
PayloadReader.readString()StringReads a string.0.1.0-alpha.4 또는 그 이전
PayloadReader.remaining()intBytes not read yet.0.1.0-alpha.4 또는 그 이전
PayloadWriter.writeBoolean(boolean)PayloadWriterWrites a boolean as one byte.0.1.0-alpha.4 또는 그 이전
PayloadWriter.writeBytes(byte[])PayloadWriterWrites a length-prefixed byte array.0.1.0-alpha.4 또는 그 이전
PayloadWriter.writeDouble(double)PayloadWriterWrites an 8-byte double.0.1.0-alpha.4 또는 그 이전
PayloadWriter.writeInt(int)PayloadWriterWrites a 4-byte int.0.1.0-alpha.4 또는 그 이전
PayloadWriter.writeLong(long)PayloadWriterWrites an 8-byte long.0.1.0-alpha.4 또는 그 이전
PayloadWriter.writeString(String)PayloadWriterWrites a length-prefixed UTF-8 string (at most 32767 characters).0.1.0-alpha.4 또는 그 이전
ServerPayloadHandler.receive(T, PlayerView)voidCalled on the server thread.0.1.0-alpha.4 또는 그 이전

permission​

함수반환설명추가된 버전
PermissionProvider.check(PlayerView, PermissionNode)PermissionResultWhether player has node, or PermissionResult.UNDECIDED to let the next provider or the node's default decide.0.1.0-alpha.4 또는 그 이전
PermissionRegistrar.node(String, int)PermissionNodeDeclares <mod id>.<path>.0.1.0-alpha.4 또는 그 이전
PermissionRegistrar.provider(PermissionProvider)voidAdds a provider asked for every permission check of every mod.0.1.0-alpha.4 또는 그 이전

resource​

함수반환설명추가된 버전
BinaryReloadListener.onReload(Map<ResourceId,byte[]>)voidFiles by ID (<namespace>:<path without the suffix>); the arrays are the listener's own.0.1.0-alpha.4 또는 그 이전
ResourceId.minecraft(String)ResourceIdAn identifier in the minecraft namespace.0.1.0-alpha.4 또는 그 이전
ResourceId.of(String, String)ResourceIdCreates namespace:path.0.1.0-alpha.4 또는 그 이전
ResourceId.parse(String)ResourceIdParses namespace:path; text without a colon is in the minecraft namespace, as in the game's commands and data files.0.1.0-alpha.4 또는 그 이전
ResourceRegistrar.onAssetFiles(String, String, BinaryReloadListener)voidLike onAssetReload, for files ending in suffix, as bytes.0.1.0-alpha.4 또는 그 이전
ResourceRegistrar.onAssetReload(String, ResourceReloadListener)voidReads assets/<namespace>/<directory>/**.json from the enabled resource packs when the client starts and on F3+T; the listener runs on the client thread.0.1.0-alpha.4 또는 그 이전
ResourceRegistrar.onDataFiles(String, String, BinaryReloadListener)voidLike onDataReload, for files ending in suffix (for example .png or .txt), handed over as bytes.0.1.0-alpha.4 또는 그 이전
ResourceRegistrar.onDataReload(String, ResourceReloadListener)voidReads data/<namespace>/<directory>/**.json from all enabled data packs (including mod jars) when the server starts and on /reload; the listener runs on the server thread after the game's own data has loaded.0.1.0-alpha.4 또는 그 이전
ResourceReloadListener.onReload(Map<ResourceId,String>)voidThe JSON files found, by ID: data/<namespace>/<directory>/<path>.json becomes <namespace>:<path>; contents are UTF-8 text.0.1.0-alpha.4 또는 그 이전

stability​

함수반환설명추가된 버전
ApiStability.value()StabilityLevelThe stability level of the annotated element.0.1.0-alpha.4 또는 그 이전

system​

함수반환설명추가된 버전
SystemId.parse(String)Optional<SystemId>Parses value, or returns empty when it is not a valid system ID.0.1.0-alpha.4 또는 그 이전
SystemLookup.get(Class<T>)TReturns the active implementation of contract.0.1.0-alpha.4 또는 그 이전
SystemProvider.create(SystemContext)TCreates the system implementation.0.1.0-alpha.4 또는 그 이전

system.brand​

함수반환설명추가된 버전
GameBrandSystem.brand(GameSide)StringThe brand reported by side.0.1.0-alpha.4 또는 그 이전

tag​

함수반환설명추가된 버전
TagKey.block(ResourceId)TagKeyA block tag, for example TagKey.block(ResourceId.minecraft("mineable/pickaxe")).0.1.0-alpha.4 또는 그 이전
TagKey.entityType(ResourceId)TagKeyAn entity type tag, for example TagKey.entityType(ResourceId.minecraft("skeletons")).0.1.0-alpha.4 또는 그 이전
TagKey.item(ResourceId)TagKeyAn item tag, for example TagKey.item(ResourceId.minecraft("logs")).0.1.0-alpha.4 또는 그 이전
TagKey.toString()StringThe tag as written in commands and data files, for example #minecraft:logs.0.1.0-alpha.4 또는 그 이전
TagRegistry.directory()StringThe folder under tags/ that holds this registry's tag files, for example block.0.1.0-alpha.4 또는 그 이전
TagView.contains(TagKey, ResourceId)booleanWhether entry (a block, item, or entity type ID, matching the tag's registry) is in the tag, including through nested tags.0.1.0-alpha.4 또는 그 이전
TagView.entries(TagKey)List<ResourceId>Every entry of the tag, nested tags resolved, in the game's order; empty for an unknown tag.0.1.0-alpha.4 또는 그 이전

world​

함수반환설명추가된 버전
BlockPos.above()BlockPosThe position one block up.0.1.0-alpha.4 또는 그 이전
BlockPos.below()BlockPosThe position one block down.0.1.0-alpha.4 또는 그 이전
BlockPos.of(int, int, int)BlockPosCreates a position.0.1.0-alpha.4 또는 그 이전
BlockPos.offset(int, int, int)BlockPosThis position moved by the given amounts.0.1.0-alpha.4 또는 그 이전
Direction.isHorizontal()booleanWhether this is one of the four horizontal directions.0.1.0-alpha.4 또는 그 이전
Direction.opposite()DirectionThe direction pointing the other way.0.1.0-alpha.4 또는 그 이전
StorageOptions.syncedToClients()StorageOptionsThese options, synchronised to clients.0.1.0-alpha.4 또는 그 이전
StorageOptions.withVersion(int, DataMigration)StorageOptionsThese options at version, upgrading older data with migration.0.1.0-alpha.4 또는 그 이전
StoredData.data()DataTreeThe data; call markChanged() after changing it so it is saved.0.1.0-alpha.4 또는 그 이전
StoredData.markChanged()voidMarks the data for saving with the next world save.0.1.0-alpha.4 또는 그 이전
Vector3.length()doubleLength of the vector.0.1.0-alpha.4 또는 그 이전
WorldView.biomeAt(BlockPos)ResourceIdThe biome at pos, for example minecraft:plains.0.1.0-alpha.4 또는 그 이전
WorldView.blockAt(BlockPos)ResourceIdThe block at pos, for example minecraft:air.0.1.0-alpha.4 또는 그 이전
WorldView.blockEntityAt(BlockPos)Optional<BlockEntityView>The mod block entity at pos, if there is one.0.1.0-alpha.4 또는 그 이전
WorldView.dimension()ResourceIdThe dimension, for example minecraft:overworld.0.1.0-alpha.4 또는 그 이전
WorldView.emittedLight(BlockPos)intLight the block at pos emits, 0–15.0.1.0-alpha.4 또는 그 이전
WorldView.entitiesNear(double, double, double, double)List<EntityView>Entities whose position is within radius blocks of the point.0.1.0-alpha.4 또는 그 이전
WorldView.gameRule(GameRuleKey<T>)TThe current value of a game rule in this world; server side only.0.1.0-alpha.4 또는 그 이전
WorldView.gameTime()longTicks since the world was created.0.1.0-alpha.4 또는 그 이전
WorldView.isBlockIn(BlockPos, TagKey)booleanWhether the block at pos is in a block tag, for example #minecraft:logs.0.1.0-alpha.4 또는 그 이전
WorldView.isChunkLoaded(int, int)booleanWhether the chunk is loaded.0.1.0-alpha.4 또는 그 이전
WorldView.isClientSide()booleanWhether this is the client's copy of the world, which must not be changed.0.1.0-alpha.4 또는 그 이전
WorldView.naturalSpawns(BlockPos, MobCategory)List<ResourceId>Mobs that can spawn by themselves at pos in category, by the biome there; for checking natural spawn settings.0.1.0-alpha.4 또는 그 이전
WorldView.otherDimension(ResourceId)Optional<WorldView>Another loaded dimension of the same server, such as a mod dimension from data; server side only.0.1.0-alpha.4 또는 그 이전
WorldView.playSound(BlockPos, ResourceId, float, float)voidPlays a sound to players near pos (server) or locally (client).0.1.0-alpha.4 또는 그 이전
WorldView.players()List<PlayerView>Players in this dimension.0.1.0-alpha.4 또는 그 이전
WorldView.schedule(int, Runnable)voidRuns task on the server thread after ticks ticks of this dimension (0 = next tick).0.1.0-alpha.4 또는 그 이전
WorldView.setBlock(BlockPos, ResourceId)booleanReplaces the block at pos with the default state of block and notifies neighbours and clients.0.1.0-alpha.4 또는 그 이전
WorldView.setChunkForced(int, int, boolean)booleanKeeps a chunk loaded (and ticking) until released, like /forceload; saved with the world.0.1.0-alpha.4 또는 그 이전
WorldView.setGameRule(GameRuleKey<T>, T)voidChanges a game rule for this world; server side only.0.1.0-alpha.4 또는 그 이전
WorldView.setProperty(BlockPos, BlockProperty<T>, T)booleanChanges one property of the block at pos, keeping the others.0.1.0-alpha.4 또는 그 이전
WorldView.spawnEntity(ResourceId, double, double, double)EntityViewSpawns an entity of type (for example minecraft:pig or a mod mob) at the position; server side only.0.1.0-alpha.4 또는 그 이전
WorldView.spawnParticles(ResourceId, double, double, double, int, double)voidShows a simple particle (one without options, such as minecraft:heart or minecraft:flame) to nearby players; server side only.0.1.0-alpha.4 또는 그 이전
WorldView.stateAt(BlockPos)BlockStateViewThe block and its property values at pos.0.1.0-alpha.4 또는 그 이전
WorldView.storage(ResourceId)StoredDataData saved with this dimension under id (use your mod ID as namespace), created empty on first use.0.1.0-alpha.4 또는 그 이전
WorldView.storage(ResourceId, StorageOptions)StoredDataWorld storage with a data version and optional client synchronisation.0.1.0-alpha.4 또는 그 이전
WorldView.tags()TagViewThe block, item, and entity type tags the game loaded (the server's data, or the client's copy).0.1.0-alpha.4 또는 그 이전

worldgen​

함수반환설명추가된 버전
BiomeDefinition.Builder.build()BiomeDefinitionCreates the definition.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.climate(float, float, boolean)BiomeDefinition.BuilderTemperature (plains 0.8), downfall (plains 0.4) and whether it rains or snows.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.feature(GenerationStepName, ResourceId)BiomeDefinition.BuilderAdds a placed feature, such as minecraft:trees_plains, in step.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.fogColor(int)BiomeDefinition.BuilderFog colour, 0xRRGGBB.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.foliageColor(int)BiomeDefinition.BuilderLeaf colour, 0xRRGGBB, instead of one computed from the climate.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.grassColor(int)BiomeDefinition.BuilderGrass colour, 0xRRGGBB, instead of one computed from the climate.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.skyColor(int)BiomeDefinition.BuilderSky colour, 0xRRGGBB.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.spawn(MobCategory, ResourceId, int, int, int)BiomeDefinition.BuilderAdds a naturally spawning mob.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.Builder.waterColor(int)BiomeDefinition.BuilderWater colour, 0xRRGGBB.0.1.0-alpha.4 또는 그 이전
BiomeDefinition.builder()BiomeDefinition.BuilderA builder with plains-like values and no features or spawns.0.1.0-alpha.4 또는 그 이전
BiomeSelector.ids(ResourceId[])BiomeSelectorBiomes with one of these IDs.0.1.0-alpha.4 또는 그 이전
BiomeSelector.tag(ResourceId)BiomeSelectorBiomes in this tag.0.1.0-alpha.4 또는 그 이전
CodeFeature.place(FeatureContext)booleanPlaces the feature around FeatureContext.origin().0.1.0-alpha.4 또는 그 이전
ColumnBuilder.fill(int, int, ResourceId)voidSets block from fromY to toY, both inclusive.0.1.0-alpha.4 또는 그 이전
ColumnBuilder.maxY()intHighest Y of the dimension (inclusive).0.1.0-alpha.4 또는 그 이전
ColumnBuilder.minY()intLowest Y of the dimension.0.1.0-alpha.4 또는 그 이전
ColumnBuilder.seed()longA number derived from the world seed and the generator ID, the same for every column.0.1.0-alpha.4 또는 그 이전
ColumnBuilder.set(int, ResourceId)voidSets the default state of block at y; positions outside the dimension are ignored.0.1.0-alpha.4 또는 그 이전
FeatureContext.blockAt(BlockPos)ResourceIdThe block at pos, without properties.0.1.0-alpha.4 또는 그 이전
FeatureContext.isAir(BlockPos)booleanWhether pos is air.0.1.0-alpha.4 또는 그 이전
FeatureContext.maxY()intThe highest block y of the world.0.1.0-alpha.4 또는 그 이전
FeatureContext.minY()intThe lowest block y of the world.0.1.0-alpha.4 또는 그 이전
FeatureContext.origin()BlockPosThe position the placement chose, for example on the surface or at a random height.0.1.0-alpha.4 또는 그 이전
FeatureContext.random()RandomGeneratorRandomness for this placement; the same world seed and position give the same values.0.1.0-alpha.4 또는 그 이전
FeatureContext.setBlock(BlockPos, ResourceId)voidSets the default state of block at pos.0.1.0-alpha.4 또는 그 이전
FeatureContext.surfaceY(int, int)intThe y of the first air block above the terrain at x, z, as generation sees it so far.0.1.0-alpha.4 또는 그 이전
FeaturePlacement.atHeight(int, int, int)FeaturePlacementcountPerChunk tries at random heights from minY to maxY in each chunk.0.1.0-alpha.4 또는 그 이전
FeaturePlacement.onSurface(int)FeaturePlacementcountPerChunk tries on the surface of each chunk.0.1.0-alpha.4 또는 그 이전
FeaturePlacement.rarity(int)FeaturePlacementThis placement in only 1 of rarity chunks.0.1.0-alpha.4 또는 그 이전
NoiseFunction.compute(int, int, int)doubleThe density at block x, y, z.0.1.0-alpha.4 또는 그 이전
StructureBuilder.build(StructurePieceContext)voidWrites the structure's blocks through context.0.1.0-alpha.4 또는 그 이전
StructureDefinition.Builder.adaptTerrain()StructureDefinition.BuilderSmooths the terrain around the box, like around a village.0.1.0-alpha.4 또는 그 이전
StructureDefinition.Builder.biomes(BiomeSelector)StructureDefinition.BuilderWhere it may generate; every overworld biome (#minecraft:is_overworld) by default.0.1.0-alpha.4 또는 그 이전
StructureDefinition.Builder.build()StructureDefinitionCreates the definition; invalid values throw IllegalArgumentException.0.1.0-alpha.4 또는 그 이전
StructureDefinition.Builder.spacing(int, int)StructureDefinition.BuilderAverage and minimum distance between structures in chunks; 32 and 8 by default.0.1.0-alpha.4 또는 그 이전
StructureDefinition.Builder.step(GenerationStepName)StructureDefinition.BuilderThe generation step; GenerationStepName.SURFACE_STRUCTURES by default.0.1.0-alpha.4 또는 그 이전
StructureDefinition.Builder.yOffset(int)StructureDefinition.BuilderRaises (or with a negative value sinks) the box relative to the surface; 0 by default.0.1.0-alpha.4 또는 그 이전
StructureDefinition.builder(int, int, int, StructureBuilder)StructureDefinition.BuilderA builder for a sizeX × sizeY × sizeZ structure built by builder.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.blockAt(int, int, int)ResourceIdThe block at a box position, without properties.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.fill(int, int, int, int, int, int, ResourceId)voidFills the box positions from (x1, y1, z1) to (x2, y2, z2), both included.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.origin()BlockPosWorld position of the box's lowest corner.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.random()RandomGeneratorRandomness for this structure; the same on every call for the same structure.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.setBlock(int, int, int, ResourceId)voidSets the default state of block at a box position.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.sizeX()intBox size along x.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.sizeY()intBox size along y.0.1.0-alpha.4 또는 그 이전
StructurePieceContext.sizeZ()intBox size along z.0.1.0-alpha.4 또는 그 이전
TerrainGenerator.fillColumn(int, int, ColumnBuilder)voidFills the column at world position x, z; unset blocks stay air.0.1.0-alpha.4 또는 그 이전
TerrainGenerator.seaLevel()intSea level of dimensions using this generator; the game spawns water mobs and fish below it.0.1.0-alpha.4 또는 그 이전
WorldgenRegistrar.addFeature(BiomeSelector, GenerationStepName, ResourceId)voidAdds a placed feature at the end of step in every selected biome.0.1.0-alpha.4 또는 그 이전
WorldgenRegistrar.biome(String, BiomeDefinition)ResourceIdDefines biome <mod id>:<path> in code.0.1.0-alpha.4 또는 그 이전
WorldgenRegistrar.chunkGenerator(String, TerrainGenerator)ResourceIdRegisters terrain written in code as generator type <mod id>:<path>, for dimensions in data packs.0.1.0-alpha.4 또는 그 이전
WorldgenRegistrar.densityFunction(String, double, double, NoiseFunction)ResourceIdRegisters a density function written in code as type <mod id>:<path>.0.1.0-alpha.4 또는 그 이전
WorldgenRegistrar.feature(String, FeaturePlacement, CodeFeature)ResourceIdRegisters a feature written in code as feature type <mod id>:<path>, and writes a configured and a placed feature with the same ID into Poly Mod Loader's generated data pack.0.1.0-alpha.4 또는 그 이전
WorldgenRegistrar.structure(String, StructureDefinition)ResourceIdRegisters a structure built in code as <mod id>:<path>, with its structure set, in Poly Mod Loader's generated data pack.0.1.0-alpha.4 또는 그 이전
Buy me a coffee