@@ -1,15 +1,18 @@
|
||||
--- a/net/minecraft/world/level/block/BlockPressurePlateWeighted.java
|
||||
+++ b/net/minecraft/world/level/block/BlockPressurePlateWeighted.java
|
||||
@@ -14,6 +14,8 @@
|
||||
import net.minecraft.world.level.block.state.properties.BlockProperties;
|
||||
@@ -11,6 +11,11 @@
|
||||
import net.minecraft.world.level.block.state.properties.BlockSetType;
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateInteger;
|
||||
|
||||
+import org.bukkit.event.entity.EntityInteractEvent; // CraftBukkit
|
||||
+// CraftBukkit start
|
||||
+import net.minecraft.world.entity.player.EntityHuman;
|
||||
+import org.bukkit.event.entity.EntityInteractEvent;
|
||||
+// CraftBukkit end
|
||||
+
|
||||
public class BlockPressurePlateWeighted extends BlockPressurePlateAbstract {
|
||||
|
||||
public static final BlockStateInteger POWER = BlockProperties.POWER;
|
||||
@@ -31,7 +33,31 @@
|
||||
@@ -24,7 +29,31 @@
|
||||
|
||||
@Override
|
||||
protected int getSignalStrength(World world, BlockPosition blockposition) {
|
||||
|
||||
Reference in New Issue
Block a user