Skip to content

Commit

Permalink
Fix pickblock for quick armor stands
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed Dec 14, 2024
1 parent 62f29a2 commit a81750f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
import net.minecraft.entity.EntityType;
import net.minecraft.entity.damage.DamageSource;
import net.minecraft.entity.decoration.ArmorStandEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.World;
import xyz.nucleoid.extras.lobby.NEEntities;
import xyz.nucleoid.extras.lobby.NEItems;
import xyz.nucleoid.packettweaker.PacketContext;

public class QuickArmorStandEntity extends ArmorStandEntity implements PolymerEntity {
Expand All @@ -34,6 +36,11 @@ public boolean isInvulnerableTo(ServerWorld world, DamageSource damageSource) {
return super.isInvulnerableTo(world, damageSource);
}

@Override
public ItemStack getPickBlockStack() {
return NEItems.QUICK_ARMOR_STAND.getDefaultStack();
}

@Override
protected void tickCramming() {

Expand Down

0 comments on commit a81750f

Please sign in to comment.