Merge pull request #5 from Gamealition/1.11

Update to 1.11
This commit is contained in:
Shevchik 2016-11-18 13:31:27 +03:00 committed by GitHub
commit 3f0fa8d8d0
6 changed files with 55 additions and 69 deletions

BIN
libs/craftbukkit111.jar Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,13 @@
package com.cnaude.chairs.vehiclearrow.v1_8_R3;
package com.cnaude.chairs.vehiclearrow.v1_11_R1;
import net.minecraft.server.v1_8_R3.EntityArrow;
import org.bukkit.craftbukkit.v1_8_R3.CraftServer;
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftArrow;
import com.cnaude.chairs.api.ChairsAPI;
import net.minecraft.server.v1_11_R1.EntityArrow;
import org.bukkit.craftbukkit.v1_11_R1.CraftServer;
import org.bukkit.craftbukkit.v1_11_R1.entity.CraftArrow;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.entity.Vehicle;
import com.cnaude.chairs.api.ChairsAPI;
public class CraftChairsArrow extends CraftArrow implements Vehicle {
public CraftChairsArrow(CraftServer server, EntityArrow entity) {
@ -27,13 +25,4 @@ public class CraftChairsArrow extends CraftArrow implements Vehicle {
super.remove();
}
@Override
public boolean isGlowing() {
return false;
}
@Override
public void setGlowing(boolean glowing) {
}
}

View File

@ -1,12 +1,10 @@
package com.cnaude.chairs.vehiclearrow.v1_8_R3;
import net.minecraft.server.v1_8_R3.EntityArrow;
import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R3.CraftWorld;
import org.bukkit.entity.Arrow;
package com.cnaude.chairs.vehiclearrow.v1_11_R1;
import com.cnaude.chairs.vehiclearrow.NMSArrowFactoryInterface;
import net.minecraft.server.v1_11_R1.EntityArrow;
import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_11_R1.CraftWorld;
import org.bukkit.entity.Arrow;
public class NMSArrowFactory implements NMSArrowFactoryInterface {

View File

@ -1,13 +1,12 @@
package com.cnaude.chairs.vehiclearrow.v1_8_R3;
import net.minecraft.server.v1_8_R3.EntityArrow;
package com.cnaude.chairs.vehiclearrow.v1_11_R1;
import net.minecraft.server.v1_11_R1.EntityTippedArrow;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R3.CraftServer;
import org.bukkit.craftbukkit.v1_8_R3.CraftWorld;
import org.bukkit.craftbukkit.v1_11_R1.CraftServer;
import org.bukkit.craftbukkit.v1_11_R1.CraftWorld;
public class NMSChairsArrow extends EntityArrow {
public class NMSChairsArrow extends EntityTippedArrow {
public NMSChairsArrow(CraftWorld cworld, Location location) {
super(cworld.getHandle());
@ -17,7 +16,6 @@ public class NMSChairsArrow extends EntityArrow {
}
@Override
public void t_() {
public void A_() {
}
}

View File

@ -26,6 +26,7 @@ sit-blocks:
- ACACIA_STAIRS:0.7
- DARK_OAK_STAIRS:0.7
- RED_SANDSTONE_STAIRS:0.7
- PURPUR_STAIRS:0.7
valid-signs:
- SIGN
- WALL_SIGN