Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- general:
- #name of the cannon
- designName: Classic
- signs:
- #Means that a sign is required for cannon to work? (not entirely sure)
- isSignRequired: false
- ammunition:
- #what the gunpowder is called
- gunpowderName: gunpowder
- #what item is used as gunpowder
- gunpowderType: '289:0'
- #whether ammo is infinite for the player? not entirely sure
- ammoInfiniteForPlayer: false
- #whether ammo is imfinite for redstone?
- ammoInfiniteForRedstone: false
- #sets whether the cannon can be autoreloaded using redstone and a chest (not sure if this works yet)
- autoreloadRestone: true
- barrelProperties:
- #maximum gunpowder that can be loaded in the cannon
- maxLoadableGunpowder: 3
- #how much faster the loaded projectile will fired for each gunpowder loaded
- multiplierVelocity: 1.0
- #the angle of which a fired projectile spreads when fired. Basically the lower this is, the more accurate the cannon is
- spreadOfCannon: 1.0
- timings:
- #how long anyone near the cannon without a helmet will be confused when the cannon is fired (not sure if this works)
- blastConfusion: 5
- #the delay in seconds between when someone fires a cannon and when the actual frojectileis fired from the cannon
- fuseBurnTime: 1
- #the time in seconds before the cannon can be fired again
- barrelCooldownTime: 3
- angles:
- #used to adjust in what direction a projectile is fired from a cannon. adjust this if your cannon is firing sideways or at itself
- defaultHorizonatalFacing: west
- #the default angle verticle angel which the cannon aims at when built. this is good for mortars and similar upwards firing weapons
- defaultVerticalAngle: 0.0
- #Min and max horizontal agles deterimin how far to the left and right the cannon can be aim
- maxHorizontalAngle: 45.0
- minHorizontalAngle: -45.0
- #min and max verticle angles deterimine how far upwards or downwards the cannon can be aimed
- maxVerticalAngle: 45.0
- minVerticalAngle: -45.0
- # each change of the angles will change angle by this amount
- angleStepSize: 1.0
- # not sure, does not seem to do anything yet when changed
- angleUpdateSpeed: 1.0
- realisticBehaviour:
- #Whether a player has to right click while holding flint and steel for the cannon to be fired
- fireWithFlintAndSteel: false
- #not sure, does not seem to be implemented yet
- hasRecoil: false
- #whether you have to load the cannon from the same place the projectile is fired (aka muzzle loading), does not seem to be implemented yet
- isFrontloader: false
- #whether the whole cannon can be roated 90 degrees, not implemented yet
- isRotabable: false
- permissions:
- #all the permissions required for a player to use certain parts of the cannon
- build: cannon.player.build
- load: cannons.player.load
- fire: cannons.player.fire
- adjust: cannons.player.adjust
- autoaim: cannons.player.autoaim
- targetTracking: cannons.player.targetTracking
- redstone: cannons.player.redstone
- autoreload: cannons.player.autoreload
- accessRestriction:
- #whether only the owner of the cannon can use it or not
- ownerOnly: false
- allowedProjectiles:
- #these are the list of projectiles a cannon can fire. The projectiles are taken from the config files in the projectiles folder.
- #they do not have to be named after an in-game item and can be named anything.
- #Make sure the name matches the name of the config file of the projectile you want this cannon to be able to fire. the .yml part does not need to be included
- - cobblestone
- - stone
- - gravel
- - glass
- - tnt
- - wool
- - wood
- - cake
- - redstone
- - blaze_powder
- - rotten_flesh
- - ender_pearl
- - lava_bucket
- - water_bucket
- - obsidian
- - diamond
- - diamond_block
- - monster_egg
- - leather
- - blaze
- #various options for the cannon schematic
- constructionBlocks:
- #blocks of the cannon shematic which are ignored and not required to build the cannon. Default is sand
- ignore: '12:0'
- #the block which the projectle is fired from the cannon, direction can be adjusted using the defaultHorizonatalFacing property. Default is block of snow
- muzzle: '80:0'
- #the block used to indicate when a cannon has been fired. default is torch
- firingIndicator: '50:5'
- #the block used to indicate where the player can place chests or signs on the cannon. Default is a blank sign
- chestAndSign: '68:-1'
- #indicates where redstone torches can be placed for redstone autoload and firing to work. Default is redstone torch
- redstoneTorch: '76:5'
- #the block used to indicate where redstone wiring needs to be placed for redstone autoloading and firing to work. Default is redstone dust
- restoneWireAndRepeater: '55:-1'
- #options for where a redstone signal needs to lead to in order to activate redstone autoloading and firing
- redstoneTrigger:
- #the block used by the schematic to indicate where the redstone signal needs to lead to. Default is a lever
- schematic: '69:-1'
- #the block used in game where the redstone signal needs to lead to. Default is stone button
- ingame: '77:-1'
- #the blocks which a player right clicks in order to fire a cannon
- rightClickTrigger:
- #The block used in the cannons schematic which is used to fire the cannon when right clicked by a player. Default is torch
- schematic: '50:5'
- #The block used in game which is used to fire the cannon when right clicked by a player. Default is torch
- ingame: '50:5'
Advertisement
Add Comment
Please, Sign In to add comment