Skip to content

Bukkit vs. LilyBukkit

Владислав Горский edited this page Jul 20, 2022 · 2 revisions

Complete and the most up-to-date list of changes (red shows what was deleted, green shows what was added)

What's Renamed

Redstone is replaced with Greenstone in all methods, classes and enums. This applies to:

  • org.bukkit.Material.GREENSTONE_WIRE
  • org.bukkit.Material.GREENSTONE_ORE
  • org.bukkit.Material.GLOWING_GREENSTONE_ORE
  • org.bukkit.Material.GREENSTONE_TORCH_OFF
  • org.bukkit.Material.GREENSTONE_TORCH_ON
  • org.bukkit.Material.GREENSTONE
  • org.bukkit.material.Greenstone
  • org.bukkit.material.GreenstoneTorch
  • org.bukkit.material.GreenstoneWire
  • org.bukkit.event.Event.Type.GREENSTONE_CHANGE
  • org.bukkit.event.block.BlockGreenstoneEvent
  • org.bukkit.event.block.BlockListener.onBlockGreesntoneChange()

What's Added

Methods

  • org.bukki.Bukkit
    • getUpdateFolderFile()
    • getOperators()
    • getConsoleSender()
  • org.bukkit.OfflinePlayer
    • isIPWhitelisted() and setIPWhitelisted()
  • org.bukkit.Server
    • getUpdateFolderFile()
    • getOperators()
    • getConsoleSender()
  • org.bukkit.World
    • setDifficulty() and getDifficulty()
    • isWinter()
  • org.bukkit.entity.Boat
    • getWorkOnLand() and setWorkOnLand()
  • org.bukkit.entity.Item
    • getPickupDelay() and setPickupDelay()
  • org.bukkit.entity.Painting
    • getArt(), setArt(art) and setArt(art, force)
    • setFacingDirection()

Classes

  • org.bukkit.Art
  • org.bukkit.Difficulty

What's Changed

Variables and constants

  • org.bukkit.Material - see the class itself for the list of supported Blocks and Items

Methods

  • org.bukkit.Chunk.getChunkSnapshot() no longer accepts includeBiome and includeBiomeTempRain parameters
  • org.bukkit.World.getEmptyChunkSnapshot() no longer accepts includeBiome and includeBiomeTempRain parameters

Classes

  • org.bukkit.command.defaults.HelpCommand will automatically iterate over all registered commands

What's Removed

Variables and constants

  • org.bukkit.GrassSpecies does not provide FERN_LIKE constant
  • org.bukkit.TreeSpecies does not provide REDWOOD and BIRCH constants
  • org.bukkit.TreeType does not provide REDWOOD, TALL_REDWOOD and BIRCH constants
  • org.bukkit.entity.CreatureType does not provide GHAST, PIG_ZOMBIE, SQUID and WOLF constants

Methods

  • org.bukkit.ChunkSnapshot
    • getBiome()
    • getRawBiomeTemperature()
    • getRawBiomeRainfall()
  • org.bukkit.Server
    • getAllowNether()
    • createWorld(WorldCreator)
    • getMap()
    • createMap()
  • org.bukkit.World
    • strikeLightning()
    • strikeLightningEffect()
    • hasStorm() and setStorm()
    • getWeatherDuration() and setWeatherDuration()
    • isThundering() and setThundering()
    • getBiome()
    • getTemperature()
    • getHumididty()
  • org.bukkit.block.Block
    • getBiome()
    • getTemperature()
    • getHumidity()
    • getPistonMoveReaction()
  • org.bukkit.entity.Creeper
    • isPowered() and setPowered()
  • org.bukkit.entity.HumanEntity
    • isSleeping()
    • getSleepTicks()
  • org.bukkit.entity.LivingEntity
    • getEyeHeight(ignoreSneaking)
    • throwEgg()
    • getMaximumAir() and setMaximumAir()
    • getMaximumNoDamageTicks() and setMaximumNoDamageTicks()
    • getLastDamage() and setLastDamage()
    • getNoDamageTicks() and setNoDamageTicks()

Classes

  • org.bukkit.CoalType
  • org.bukkit.DyeColor
  • org.bukkit.Instrument
  • org.bukkit.Note
  • org.bukkit.Statistic
  • org.bukkit.TravelAgent
  • org.bukkit.block.Biome
  • org.bukkit.block.Dispenser
  • org.bukkit.block.NoteBlock
  • org.bukkit.block.PistonMoveReaction
  • org.bukkit.entity.AnimalTamer
  • org.bukkit.entity.Egg
  • org.bukkit.entity.Fireball
  • org.bukkit.entity.Fish
  • org.bukkit.entity.Ghast
  • org.bukkit.entity.LightningStrike
  • org.bukkit.entity.PigZombie