![]() ![]() ![]() none - My actual big project (alpha): Ph圜hi. How To Make a Bukkit Plugin: Episode 70 Falling Blocks - YouTube 0:00 / 6:03 How To Make a Bukkit Plugin: Episode 70 Falling Blocks TheBCBroz 11. SendData2mcstatsorg: is my plugin allowed to show me sb uses it? Commands StopFallingAfterMilliSeconds: after how many milliseconds the last blocks should stand still (anti lagg)Įnchantment.needed: enable the enchantment and is it needed for chopping a tree with this plugin?Įnchantment.chance: ]0, 1] how big is the chance that your axe gets this enchantment?Įnchantment.name: the name for the enchantment (§r§7 gives it the default enchantment look)ĭisabledWorlds: a list of world names, in which trees shall not fall down 1 Answer Sorted by: 1 You can continuously summon new falling blocks so that the motion is constant, they will also not stutter. Maximum of 10, or -10 for reverse direction. Example: Code (Text): location.getWorld ().spawnFallingBlock (location, Material. Falling blocks can be make to shoot in any direction by setting the initial motion. One of the parameters is the material, which you can get from the item stack. MaxLeavesInARow: max leaves in a row interpreted as The Tree You need to use the spawnFallingBlock method. MaxLogsInARow: max logs in a row interpreted as The Tree MaxAlpha: the higher the deeper trees will fall down (in degrees) MinLogsPerLeave: additional logs needed per leave (set it pretty low like. ) KarimAKL, 2 Offline AwesomAA Cool, the createBlockData was the method I was looking for Edit: Sike, cant get it to work maybe because im using spigot 1. Simplest and best /help tool Plugin Help, reacting to any input Configuration and Permissions Invoke the getHandle method, to get the EntityFallingBlock Method getHandle clazz.getMethod ('getHandle') // now invoke it to get it Object handle getHandle.invoke (block) // Get the ticks the entity has lived. createBlockData()) // Send it flying using velocity block. createBlockData()) // Send it flying using velocity block. ![]() Thanks for the plugin showcases :D - maybe one time we have one for every language ) If you enable the option in the config, you may need an enchantment for falling trees like that :) - this enchantment is given at a configurable chance, Your trees will fall down when you grab the lowest block. You can sneak to avoid a fall of your new house :D It's half fun, half hardcore and a little to show your server is special. ObjectiveCompleteEvent compEvent = new ObjectiveCompleteEvent(this, eventPlayer) īukkit.getServer().getPluginManager().= First: Thanks for > 10k Downloads :D! 20k? Sounds possible :D = Do you would like to have a tree, that behaves like in natur instead of floating trees, or onetime cuting? Of course, this can be dangerous, if a tree will fall over you, but it brings a bit more realism to minecraft. Void onEntityExplode( EntityExplodeEvent event) ", new LocalizedChatMessage(ChatConstant.UI_OBJECTIVE_DESTROYED, team.getCompleteName() + ChatColor.WHITE, name, getWhoDestroyed(Locale.getDefault().toString()))).getMessage(Locale.getDefault().toString())) between the adjacent ends of the blocks, said retaining members designed to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |