@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/TileEntityBeacon.java
|
||||
+++ b/net/minecraft/server/TileEntityBeacon.java
|
||||
@@ -9,6 +9,13 @@
|
||||
@@ -8,6 +8,13 @@
|
||||
import java.util.stream.Collectors;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
public class TileEntityBeacon extends TileEntityContainer implements IWorldInventory, ITickable {
|
||||
|
||||
public static final MobEffectList[][] a = new MobEffectList[][] { { MobEffects.FASTER_MOVEMENT, MobEffects.FASTER_DIG}, { MobEffects.RESISTANCE, MobEffects.JUMP}, { MobEffects.INCREASE_DAMAGE}, { MobEffects.REGENERATION}};
|
||||
@@ -23,6 +30,38 @@
|
||||
@@ -22,6 +29,38 @@
|
||||
public MobEffectList secondaryEffect;
|
||||
private ItemStack inventorySlot;
|
||||
private IChatBaseComponent o;
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
public TileEntityBeacon() {
|
||||
super(TileEntityTypes.BEACON);
|
||||
@@ -56,41 +95,79 @@
|
||||
@@ -55,41 +94,79 @@
|
||||
this.world.a((EntityHuman) null, this.position, soundeffect, SoundCategory.BLOCKS, 1.0F, 1.0F);
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
int k = this.position.getY();
|
||||
int l = this.position.getZ();
|
||||
AxisAlignedBB axisalignedbb = (new AxisAlignedBB((double) j, (double) k, (double) l, (double) (j + 1), (double) (k + 1), (double) (l + 1))).g(d0).b(0.0D, (double) this.world.getHeight(), 0.0D);
|
||||
List list = this.world.a(EntityHuman.class, axisalignedbb);
|
||||
List<EntityHuman> list = this.world.a(EntityHuman.class, axisalignedbb);
|
||||
+
|
||||
+ return list;
|
||||
+ }
|
||||
@@ -142,7 +142,7 @@
|
||||
|
||||
private void E() {
|
||||
int i = this.position.getX();
|
||||
@@ -210,8 +287,10 @@
|
||||
@@ -209,8 +286,10 @@
|
||||
|
||||
public void load(NBTTagCompound nbttagcompound) {
|
||||
super.load(nbttagcompound);
|
||||
|
||||
Reference in New Issue
Block a user