Skip to content

Commit

Permalink
tweak some pickblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
yrsegal committed Jul 13, 2023
1 parent 6d6aba8 commit c166a31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public InteractionResult use(@Nonnull BlockState state, @Nonnull Level world, @N

@Override
public ItemStack getCloneItemStack(BlockState state, HitResult target, BlockGetter world, BlockPos pos, Player player) {
return ItemStack.EMPTY;
return new ItemStack(BottledCloudModule.bottled_cloud);
}

private void fillBottle(Player player, int startIndex) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package vazkii.quark.content.world.block;

import net.minecraft.core.BlockPos;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.Block;
Expand Down Expand Up @@ -34,12 +33,6 @@ public MonsterBoxBlock(QuarkModule module) {
RenderLayerHandler.setRenderType(this, RenderTypeSkeleton.CUTOUT);
}

@Nonnull
@Override
public ItemStack getCloneItemStack(@Nonnull BlockGetter world, @Nonnull BlockPos pos, @Nonnull BlockState state) {
return ItemStack.EMPTY;
}

@Override
public boolean isPathfindable(@Nonnull BlockState state, @Nonnull BlockGetter worldIn, @Nonnull BlockPos pos, @Nonnull PathComputationType type) {
return false;
Expand Down

0 comments on commit c166a31

Please sign in to comment.