Class SproutPoolList
java.lang.Object
nokunami.floral_warfare.common.entity.plants.sprout.SproutPoolList
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.minecraft.resources.ResourceLocationstatic net.minecraft.resources.ResourceLocationstatic net.minecraft.resources.ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<net.minecraft.world.entity.EntityType<?>>getRandomNormal(net.minecraft.util.RandomSource random) static Optional<net.minecraft.world.entity.EntityType<?>>getRandomPea(net.minecraft.util.RandomSource random) static Optional<net.minecraft.world.entity.EntityType<?>>getRandomPlant(net.minecraft.resources.ResourceLocation file, net.minecraft.util.RandomSource random) static Optional<net.minecraft.world.entity.EntityType<?>>getRandomShroom(net.minecraft.util.RandomSource random)
-
Field Details
-
NORMAL_SPROUT_POOL
public static net.minecraft.resources.ResourceLocation NORMAL_SPROUT_POOL -
PEA_SPROUT_POOL
public static net.minecraft.resources.ResourceLocation PEA_SPROUT_POOL -
SHROOM_SPROUT_POOL
public static net.minecraft.resources.ResourceLocation SHROOM_SPROUT_POOL
-
-
Constructor Details
-
SproutPoolList
public SproutPoolList()
-
-
Method Details
-
getRandomNormal
public static Optional<net.minecraft.world.entity.EntityType<?>> getRandomNormal(net.minecraft.util.RandomSource random) -
getRandomPea
public static Optional<net.minecraft.world.entity.EntityType<?>> getRandomPea(net.minecraft.util.RandomSource random) -
getRandomShroom
public static Optional<net.minecraft.world.entity.EntityType<?>> getRandomShroom(net.minecraft.util.RandomSource random) -
getRandomPlant
public static Optional<net.minecraft.world.entity.EntityType<?>> getRandomPlant(net.minecraft.resources.ResourceLocation file, net.minecraft.util.RandomSource random)
-