LootContext -> LootParams

This commit is contained in:
Frank 2023-05-24 19:10:59 +02:00
parent cfd9994233
commit e8cddbda54
32 changed files with 63 additions and 63 deletions

View file

@ -12,7 +12,7 @@ import net.minecraft.world.level.LevelReader;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.storage.loot.LootContext;
import net.minecraft.world.level.storage.loot.LootParams;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.VoxelShape;
@ -49,7 +49,7 @@ public class BoluxMushroomBlock extends EndPlantBlock {
}
@Override
public List<ItemStack> getDrops(BlockState state, LootContext.Builder builder) {
public List<ItemStack> getDrops(BlockState state, LootParams.Builder builder) {
return Lists.newArrayList(new ItemStack(this));
}
}