Package at.petrak.hexcasting.forge.loot
Class ForgeHexAmethystLootMod
java.lang.Object
net.minecraftforge.common.loot.LootModifier
at.petrak.hexcasting.forge.loot.ForgeHexAmethystLootMod
- All Implemented Interfaces:
net.minecraftforge.common.loot.IGlobalLootModifier
public class ForgeHexAmethystLootMod
extends net.minecraftforge.common.loot.LootModifier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Supplier<com.mojang.serialization.Codec<ForgeHexAmethystLootMod>>final doubleFields inherited from class net.minecraftforge.common.loot.LootModifier
conditionsFields inherited from interface net.minecraftforge.common.loot.IGlobalLootModifier
DIRECT_CODEC, LOOT_CONDITIONS_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionForgeHexAmethystLootMod(net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn, double shardDelta) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<ForgeHexAmethystLootMod>codec()protected @NotNull it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack>doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext context) Methods inherited from class net.minecraftforge.common.loot.LootModifier
apply, codecStart
-
Field Details
-
CODEC
-
shardDelta
public final double shardDelta
-
-
Constructor Details
-
ForgeHexAmethystLootMod
public ForgeHexAmethystLootMod(net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn, double shardDelta)
-
-
Method Details
-
doApply
@NotNull protected @NotNull it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext context) - Specified by:
doApplyin classnet.minecraftforge.common.loot.LootModifier
-
codec
-