Baccayarro / Movecraft-3

The original movement plugin for Bukkit. Reloaded. The releases feature isn't working, so here is a link to the latest dev version:
https://dl.dropboxusercontent.com/u/11164014/movecraft_beta.zip
GNU General Public License v3.0
15 stars 21 forks source link

Allow using material names in craft configuration files. #201

Closed sir-wabbit closed 8 years ago

sir-wabbit commented 8 years ago

This pull request allows specifying blocks via their Bukkit Material names:

name: Ship
allowedBlocks: [
    # Wood
    WOOD, LOG, LOG_2, WOOD_STAIRS, LADDER,
    SPRUCE_WOOD_STAIRS, BIRCH_WOOD_STAIRS, JUNGLE_WOOD_STAIRS,
    WOOD_DOUBLE_STEP, WOOD_STEP, FENCE, FENCE_GATE,
    # Glass
    GLASS, THIN_GLASS, STAINED_GLASS,
    # Wool
    WOOL, CARPET,
    # Special
    CHEST, TRAPPED_CHEST, ENDER_CHEST, WORKBENCH, FURNACE, BURNING_FURNACE,
    DISPENSER, NOTE_BLOCK, DROPPER, ANVIL, BREWING_STAND, CAULDRON,
    BED_BLOCK, ENCHANTMENT_TABLE, HOPPER, BOOKSHELF, TORCH, CAKE_BLOCK,
    # Signs
    SIGN_POST, WALL_SIGN,
    # Redstone
    REDSTONE_WIRE, TRIPWIRE_HOOK, DAYLIGHT_DETECTOR,
    WOOD_BUTTON, STONE_BUTTON, LEVER,
    WOOD_PLATE, STONE_PLATE, IRON_PLATE, GOLD_PLATE,
    WOODEN_DOOR, IRON_DOOR_BLOCK, TRAP_DOOR,
    REDSTONE_TORCH_OFF, REDSTONE_TORCH_ON,
    REDSTONE_COMPARATOR_OFF, REDSTONE_COMPARATOR_ON,
    REDSTONE_LAMP_OFF, REDSTONE_LAMP_ON,
    DIODE_BLOCK_OFF, DIODE_BLOCK_ON,
    # Pistons
    PISTON_STICKY_BASE, PISTON_BASE
]
forbiddenBlocks: [PISTON_EXTENSION]
flyblocks:
    ? [LOG, LOG_2]
    : [50.0, 100.0]
    WOOL: [15.0, 100.0]
canFly: false
allowVerticalMovement: false
canCruise: true
cruiseSkipBlocks: 4
minHeightLimit: 61
maxHeightLimit: 83
minSize: 150
maxSize: 1000
overallSinkPercent: 40.0
requireWaterContact: true
sinkPercent: 90.0
speed: 0.5
tryNudge: false
sir-wabbit commented 8 years ago

Oops it's tracking a wrong branch.