mirror of https://github.com/FabricMC/yarn.git
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
CLASS net/minecraft/class_1264 net/minecraft/util/ItemScatterer
|
|
COMMENT Contains utility methods for spawning item entities scattered around a certain position.
|
|
COMMENT All methods consume the item stack, so there is no need for decrementing the
|
|
COMMENT stack size yourself.
|
|
COMMENT
|
|
COMMENT @see net.minecraft.block.AbstractBlock#onStateReplaced
|
|
METHOD method_17348 (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)V
|
|
ARG 2 stack
|
|
METHOD method_17349 spawn (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2371;)V
|
|
COMMENT Spawns item entities from {@code stacks} around {@code pos}.
|
|
ARG 0 world
|
|
ARG 1 pos
|
|
ARG 2 stacks
|
|
METHOD method_5449 spawn (Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1799;)V
|
|
COMMENT Spawns an item entity of {@code stack} around the given position.
|
|
ARG 0 world
|
|
ARG 1 x
|
|
ARG 3 y
|
|
ARG 5 z
|
|
ARG 7 stack
|
|
METHOD method_5450 spawn (Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1263;)V
|
|
COMMENT Spawns item entities from {@code inventory} around the given position.
|
|
ARG 0 world
|
|
ARG 1 x
|
|
ARG 3 y
|
|
ARG 5 z
|
|
ARG 7 inventory
|
|
METHOD method_5451 spawn (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1263;)V
|
|
COMMENT Spawns item entities from {@code inventory} around {@code pos}.
|
|
ARG 0 world
|
|
ARG 1 pos
|
|
ARG 2 inventory
|
|
METHOD method_5452 spawn (Lnet/minecraft/class_1937;Lnet/minecraft/class_1297;Lnet/minecraft/class_1263;)V
|
|
COMMENT Spawns item entities from {@code inventory} around {@code entity}'s position.
|
|
ARG 0 world
|
|
ARG 1 entity
|
|
ARG 2 inventory
|