@@ -33,7 +33,7 @@
|
||||
@Override
|
||||
public boolean canPlaceItem(int j, ItemStack itemstack) {
|
||||
return itemstack.is(TagsItem.BEACON_PAYMENT_ITEMS);
|
||||
@@ -83,6 +93,7 @@
|
||||
@@ -69,6 +79,7 @@
|
||||
|
||||
@Override
|
||||
public boolean stillValid(EntityHuman entityhuman) {
|
||||
@@ -41,7 +41,7 @@
|
||||
return stillValid(this.access, entityhuman, Blocks.BEACON);
|
||||
}
|
||||
|
||||
@@ -164,8 +175,8 @@
|
||||
@@ -150,8 +161,8 @@
|
||||
|
||||
public void updateEffects(Optional<Holder<MobEffectList>> optional, Optional<Holder<MobEffectList>> optional1) {
|
||||
if (this.paymentSlot.hasItem()) {
|
||||
@@ -52,7 +52,7 @@
|
||||
this.paymentSlot.remove(1);
|
||||
this.access.execute(World::blockEntityChanged);
|
||||
}
|
||||
@@ -192,4 +203,17 @@
|
||||
@@ -178,4 +189,17 @@
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user