Changes
From Forge Community Wiki
2 bytes removed
, 00:16, 22 April 2021
mLine 76:
Line 76:
@Override
@Override
public List<ItemStack> doApply(List<ItemStack> generatedLoot, LootContext context) {
public List<ItemStack> doApply(List<ItemStack> generatedLoot, LootContext context) {
−
//*
+
/*
* Additional conditions can be checked, though as much as possible should be parameterized via JSON data.
* Additional conditions can be checked, though as much as possible should be parameterized via JSON data.
* It is better to write a new ILootCondition implementation than to do things here.
* It is better to write a new ILootCondition implementation than to do things here.
−
*//
+
*/
int numSeeds = 0;
int numSeeds = 0;
for(ItemStack stack : generatedLoot) {
for(ItemStack stack : generatedLoot) {