Search in sources :

Example 1 with HoneyEffect

use of com.teamresourceful.resourcefulbees.api.honeydata.HoneyEffect in project ResourcefulBees by Resourceful-Bees.

the class KittenBee method getHoneyBottleData.

public static HoneyBottleData getHoneyBottleData() {
    if (honeyBottleData == null) {
        List<HoneyEffect> effects = new LinkedList<>();
        effects.add(new HoneyEffect(MobEffects.MOVEMENT_SPEED, 2400, 2, 1));
        effects.add(new HoneyEffect(MobEffects.JUMP, 2400, 1, 1));
        effects.add(new HoneyEffect(MobEffects.NIGHT_VISION, 2400, 0, 1));
        honeyBottleData = new HoneyBottleData(8, 0.9f, Color.parse("#BD5331"), false, false, false, effects).setName("catnip");
        honeyBottleData.setHoneyBlockRegistryObject(ModBlocks.CATNIP_HONEY_BLOCK);
        honeyBottleData.setHoneyStillFluidRegistryObject(ModFluids.CATNIP_HONEY_STILL);
        honeyBottleData.setHoneyFlowingFluidRegistryObject(ModFluids.CATNIP_HONEY_FLOWING);
        honeyBottleData.setHoneyBlockItemRegistryObject(ModItems.CATNIP_HONEY_BLOCK_ITEM);
        honeyBottleData.setHoneyBucketItemRegistryObject(ModItems.CATNIP_HONEY_FLUID_BUCKET);
        honeyBottleData.setHoneyBottleRegistryObject(ModItems.CATNIP_HONEY_BOTTLE);
    }
    return honeyBottleData;
}
Also used : HoneyBottleData(com.teamresourceful.resourcefulbees.api.honeydata.HoneyBottleData) HoneyEffect(com.teamresourceful.resourcefulbees.api.honeydata.HoneyEffect) LinkedList(java.util.LinkedList)

Aggregations

HoneyBottleData (com.teamresourceful.resourcefulbees.api.honeydata.HoneyBottleData)1 HoneyEffect (com.teamresourceful.resourcefulbees.api.honeydata.HoneyEffect)1 LinkedList (java.util.LinkedList)1