• 0

    posted a message on Creating enchantments for custom item

    I am planning on making it an actual enchantment

    Posted in: Modification Development
  • 0

    posted a message on Creating enchantments for custom item

    I have an item that I want to be able to enchant, however this item is a new item and does not extend any of the current enchantable items. To create enchantments for it I am under the impression that I need to create a new EnumEnchantmentType, is that correct? However I am having trouble creating it.

    public static final EnumEnchantmentType LIGHTER = EnumHelper.addEnchantmentType("LIGHTER", ItemLighter.class);



    Looking at previous examples, there never was a second variable (where I have ItemLighter.class) in .addEnchantmentType, so I'm unsure what to put there. Getting the error "The method addEnchantmentType(String, Predicate<Item>) in the type EnumHelper is not applicable for the arguments (String, Class<ItemLighter>)"


    No idea what Predicate<Item> means, anyone know? Any help is appreciated

    Posted in: Modification Development
  • 0

    posted a message on Make mob spawn naturally

    Thanks for the help. Working properly now

    Posted in: Modification Development
  • 0

    posted a message on Make mob spawn naturally

    Thanks for the help. Moved it into my main init method, changed probability to 100 and started seeing them spawn.


    However they only spawn at night. Tried overriding the following code in EntityMob and removing isValidLightLevel in hopes that that would always be true but it still only spawns in the dark. Any ideas?



    public boolean getCanSpawnHere()
        {
            return this.worldObj.getDifficulty() != EnumDifficulty.PEACEFUL && this.isValidLightLevel() && super.getCanSpawnHere();
        }




    to



    public boolean getCanSpawnHere()
     {
     return this.worldObj.getDifficulty() != EnumDifficulty.PEACEFUL && super.getCanSpawnHere();
     }


    EDIT: Got it to work. got rid of "&& super.getCanSpawnHere();"

    Posted in: Modification Development
  • 0

    posted a message on Make mob spawn naturally

    Yes sir

    Posted in: Modification Development
  • 0

    posted a message on Make mob spawn naturally

    Having the same problem in 1.11


    EntityRegistry.addSpawn(EntitySpongebob.class, 15, 1, 5, EnumCreatureType.AMBIENT, new Biome[] { Biomes.FOREST, Biomes.EXTREME_HILLS });


    Have not seen a single entity spawn. Changed 15 to 100 to 511 to 1011 and generated new worlds and tried EnumCreatureType.CREATURE and MONSTER to no avail. This is located in my ClientProxy which implements my CommonProxy. Also tried calling this right after registering my mob in my ModEntities file but still no results. Any ideas?



    (Spawn egg works and entity is working 100%)

    Posted in: Modification Development
  • 0

    posted a message on 3D GIF Minecraft Server Banners
    What do you use for particles? Those are amazing :D
    Posted in: Other Fan Art
  • 0

    posted a message on Mahfian's Server Banner Shop!
    Hey! I'm Mahfian, but in Minecraft communities I go by peon. I have been creating graphics for a while now, more than 2 years. I am offering cheap prices, because I need to practice my skills and build a good portfolio. Even though I am practicing, I still can offer you high quality graphics.


    Prices:
    Animated Server Banner: $20
    Youtube Channel Art: $15 (contact me on Skype for examples)


    Contact:
    Contact me on Skype for a fast reply: glassezboi

    Server banners are custom made to your liking. I can also edit one of my templates for you, for $5

    Templates:
    .





    Other examples of my work include:
    .


    Posted in: Art Shops
  • 0

    posted a message on Looking for Professional Server Banner/Image Creator. WILLING TO PAY.
    I emailed you, I am willing to work for free :D
    Posted in: Requests
  • 0

    posted a message on Texture Artists' Union
    Quote from drfrozenfire

    the one closest to bottom left is the dragon egg texture. the others aren't used.


    Also, my first drawing on my tablet!




    lol whut frozenfire i saw your signature on that and then i saw the signature on this and then i was like IS THAT YOU???
    Posted in: Resource Pack Discussion
  • 0

    posted a message on Texture Artists' Union
    Not sure if this is the appropriate place to ask, but anyone willing to make some textures for a mod?
    Thanks!
    Posted in: Resource Pack Discussion
  • 0

    posted a message on DB32 Palette Challenge
    Question, can we use blending for the foliage and grass colours?
    Posted in: Resource Pack Discussion
  • 0

    posted a message on DB32 Palette Challenge
    I hope this hasn't died!

    My first time creating a texture pack (that wasn't simple or hd)



    I could use truckloads of tips and bucketloads of feedback!
    Posted in: Resource Pack Discussion
  • 0

    posted a message on (WIP) Deferia 16x [1.7.X] Download is available!
    Love it!
    Posted in: WIP Resource Pack
  • 0

    posted a message on (Discontinued) Thorns (Got plans for the future.)
    I love it!
    Posted in: WIP Resource Pack
  • To post a comment, please or register a new account.