2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_1264 net/minecraft/util/ItemScatterer
|
2022-09-21 13:30:05 -04:00
|
|
|
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
|
2021-01-31 07:37:36 -05:00
|
|
|
METHOD method_17348 (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)V
|
|
|
|
ARG 2 stack
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17349 spawn (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2371;)V
|
2022-09-21 13:30:05 -04:00
|
|
|
COMMENT Spawns item entities from {@code stacks} around {@code pos}.
|
2019-01-12 06:41:47 -05:00
|
|
|
ARG 0 world
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 pos
|
2021-01-31 07:37:36 -05:00
|
|
|
ARG 2 stacks
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5449 spawn (Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1799;)V
|
2022-09-21 13:30:05 -04:00
|
|
|
COMMENT Spawns an item entity of {@code stack} around the given position.
|
2021-01-31 07:37:36 -05:00
|
|
|
ARG 0 world
|
2019-01-12 06:41:47 -05:00
|
|
|
ARG 1 x
|
|
|
|
ARG 3 y
|
|
|
|
ARG 5 z
|
2021-01-31 07:37:36 -05:00
|
|
|
ARG 7 stack
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5450 spawn (Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1263;)V
|
2022-09-21 13:30:05 -04:00
|
|
|
COMMENT Spawns item entities from {@code inventory} around the given position.
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 0 world
|
2019-01-12 06:41:47 -05:00
|
|
|
ARG 1 x
|
|
|
|
ARG 3 y
|
|
|
|
ARG 5 z
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 7 inventory
|
|
|
|
METHOD method_5451 spawn (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1263;)V
|
2022-09-21 13:30:05 -04:00
|
|
|
COMMENT Spawns item entities from {@code inventory} around {@code pos}.
|
2021-01-31 07:37:36 -05:00
|
|
|
ARG 0 world
|
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 inventory
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5452 spawn (Lnet/minecraft/class_1937;Lnet/minecraft/class_1297;Lnet/minecraft/class_1263;)V
|
2022-09-21 13:30:05 -04:00
|
|
|
COMMENT Spawns item entities from {@code inventory} around {@code entity}'s position.
|
2021-01-31 07:37:36 -05:00
|
|
|
ARG 0 world
|
|
|
|
ARG 1 entity
|
|
|
|
ARG 2 inventory
|