Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

collapse

Author Topic: Rainbow 1.11  (Read 889 times)

CodeCrafter47

  • Administrator
  • Hero Member

  • Offline
  • *****

  • 507
  • Reputation:
    +125/-2
    • View Profile
Rainbow 1.11
« on: November 14, 2016, 11:13:29 AM »
Hi,

Rainbow for 1.11 is available now. You can download it here. Have fun enjoying all the new 1.11 features.

API changes:

  • Added ArmorStand offhand item API:
    The onAttemptArmorStandInteract event now uses MC_ArmorStandActionType.OFFHAND_ITEM when the offhand item is changed.
    Added MC_ArmorStand#getItemInOffHand() and MC_ArmorStand.setItemInOffHand(MC_ItemStack) to get/ set the offhand item.
  • Due to internal changes in 1.11 subtypes of horses (donkeys, mules, llamas, zombie and skeleton horses), zombies ('normal' zombie, husk and zombie villager), skeletons ('normal' skeleton, whither skeleton and stray), guardians and minecarts are now different entities.

    Due to this change we now have the following additional entity types:
    PluginReference.MC_EntityType.ZOMBIE_HORSE
    PluginReference.MC_EntityType.SKELETON_HORSE
    PluginReference.MC_EntityType.DONKEY
    PluginReference.MC_EntityType.MULE
    PluginReference.MC_EntityType.LLAMA
    (Llamas are new in 1.11)
    PluginReference.MC_EntityType.HUSK
    PluginReference.MC_EntityType.ZOMBIE_VILLAGER
    PluginReference.MC_EntityType.WHITHER_SKELETON
    PluginReference.MC_EntityType.STRAY
    PluginReference.MC_EntityType.ELDER_GUARDIAN
    PluginReference.MC_EntityType.MINECART_CHEST
    PluginReference.MC_EntityType.MINECART_FURNACE
    PluginReference.MC_EntityType.MINECART_TNT
    PluginReference.MC_EntityType.MINECART_HOPPER
    PluginReference.MC_EntityType.MINECART_SPAWNER


    The following classes and methods will be removed:
    PluginReference.MC_HorseType
    PluginReference.MC_Horse#getHorseType()
    PluginReference.MC_Horse#setHorseType(HorseType)
    PluginReference.MC_Zombie#isVillager()
    PluginReference.MC_Skeleton#getSkeletonType()
    PluginReference.MC_Skeleton#setSkeletonType(SkeletonType)
    PluginReference.MC_SkeletonType


    PluginReference.MC_Horse still represents all horse types. As well as PluginReference.MC_Zombie and PluginReference.MC_Skeleton still represent all zombie/ skeleton types. However for the last two this might be changed in the future.

    These changes might break some plugins.
  • New entities:
    MC_EntityType.LLAMA
    MC_EntityType.EVOKER
    MC_EntityType.EVOCATION_FANGS
    MC_EntityType.VEX
    MC_EntityType.VINDICATOR
  • New blocks:
    MC_BlockType.OBSERVER
    MC_BlockType.SHULKER_BOX_WHITE
    MC_BlockType.SHULKER_BOX_ORANGE
    MC_BlockType.SHULKER_BOX_MAGENTA
    MC_BlockType.SHULKER_BOX_LIGHT_BLUE
    MC_BlockType.SHULKER_BOX_YELLOW
    MC_BlockType.SHULKER_BOX_LIME
    MC_BlockType.SHULKER_BOX_PINK
    MC_BlockType.SHULKER_BOX_GRAY
    MC_BlockType.SHULKER_BOX_SILVER
    MC_BlockType.SHULKER_BOX_CYAN
    MC_BlockType.SHULKER_BOX_PURPLE
    MC_BlockType.SHULKER_BOX_BLUE
    MC_BlockType.SHULKER_BOX_BROWN
    MC_BlockType.SHULKER_BOX_GREEN
    MC_BlockType.SHULKER_BOX_RED
    MC_BlockType.SHULKER_BOX_BLACK
  • New items:
    MC_ItemType.TOTEM
    MC_ItemType.SHULKER_SHELL

    In addition to the new 1.11 items the MC_ItemType class now also provides the id's of the records.
  • The BungeeCord Chat API has been added to Rainbow, which makes it easier to send chat messages with "special effects". MC_Player now has a new variant of the sendMessage method that takes a BaseComponent array. You can find the Javadoc for the BungeeCord Chat API at http://ci.md-5.net/job/BungeeCord/ws/chat/target/apidocs/overview-summary.html.

Toxic__Waste

  • Administrator
  • Jr. Member

  • Offline
  • *****

  • 99
  • Reputation:
    +19/-0
  • Personal Text
    Long Live Minecraft
    • View Profile
    • T.U.Minecraft
Re: Rainbow 1.11
« Reply #1 on: November 14, 2016, 07:12:06 PM »
nice work

Fredashay

  • Plug-in Maker
  • Sr. Member

  • Offline
  • ****

  • 255
  • Reputation:
    +26/-1
  • Personal Text
    "Tira mah! This graw is fredashay!"
    • View Profile
    • ClockPie
Re: Rainbow 1.11
« Reply #2 on: December 11, 2016, 02:56:30 PM »
Changing the entity names around gives me an idea: 

In many cases, when testing an entity, all we really want to know is whether the mob is friendly or hostile.  So maybe have a new method to return whether the entity is hostile or friendly, and maybe a sub method to return if a tameable mob (like a wolf) is tameable or hostile, or if a hostile mob is currently passive or angry (like an enderman or pigman).

 

* Notifications

* Member Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Topics

Re: Ven Net Authentication Plugin by JD9999
[July 23, 2017, 04:39:15 AM]


Re: Ven Net Authentication Plugin by Algoru
[July 23, 2017, 02:54:27 AM]


Re: Ven Net Authentication Plugin by JD9999
[July 21, 2017, 08:56:52 PM]


Ven Net Authentication Plugin by Algoru
[July 21, 2017, 12:07:08 AM]


Re: Run.bat File Not working by JD9999
[July 18, 2017, 02:52:12 AM]

* Forum Stats

  • stats Total Members: 3570
  • stats Total Posts: 12272
  • stats Total Topics: 1656
  • stats Total Categories: 5
  • stats Total Boards: 16
  • stats Most Online: 568