• 0

    posted a message on Make big texture

    Solved it myself. I just added a cube starting in the furthest bottem-left and expanded to the furthest top-Right,



    Im trying to make an item render a gui, but im not reaching the size i need. I know ist possible because i have seen it on Servers.


    How it looks right now:

    Screenshot_3

    This is how the json looks like a scale of 4 seems to be maximum:

    {
    	"parent": "item/generated",
    	"textures": {
    		"layer0": "items/gui/skill_tree"
    	},
    	"display": {
    		"gui": {
    			"scale": [4, 4, 4],
    			"translation": [0, 0, 0]
    		}
    	}
    }
    Posted in: Resource Pack Help
  • 0

    posted a message on ►MysticSouls.net◄ - the real MMORPG ❗ Now recruiting ❗ (Developer, Contentcreator, Builder, Designer)

    We offer ingame language support for ENG and DE (others may follow).


    Teamspeak: mysticsouls.net
    Discord: https://discord.gg/uawQHUD


    Screenshots:




    Banner


    Hello fellow minecrafters,


    i'm Gerolmed the Administrator of the MysticSouls network. We are working on bringing a largely scaled MMORPG to the world of minecraft. To reach that goal we need support. We don't just need Builders, Developers or Contentcreators (recruiting at the end), but a small community that can help us decide how the Project will be shaped. On our discord (https://discord.gg/uawQHUD), we are posting and showing all our updates, as well as discussing, planning and inventing new Ideas with the community. Do you have an idea fitting the rest of the project? Come on in and we would like to talk about that in person on our teamspeak or discord.
    All people joining the discord will be granted a closed Beta-Key, as soon as we can offer it.

    About Us

    We are creating a MMORPG, that meaning hundreds of Quests, NPC`s, Bosses, Items etc.! But what makes us special? We aren't just offering one questline to the user, we want the user to be able to choose different races, each with a unique questline, and with the 1.13 maybe a complete questline underwater. Also different classes will be able to do different quests. It has to be noted that some classes will be bound to specific races.
    Another thing to be noted is our Spell (Active Ability) and Passive Ability system. Many of you know the leading minecraft mmo-server and will probably know that they offer 4 different spells. Us, being fan of the casting system they use, wanted to take the simple R/L - R/L - R/L pattern and still offer a large variety of spells. That is why you can choose which spell belongs to which combination and not just that we enable the user to level and modify each spell, similar to the system of the elderscrolls online.

    Some of the special features we want to offer, but can be changed if the community wants it:
    shops with daily offers
    different questlines
    awesome spell- and skillsystem
    many other small mechanics, that would take to much time to explain (squads, scrolls,...)


    Want to become a part of the staff?

    Note: Due to a low budget we will not be able to pay. We are searching for People that share our love to creating such projects. As soon as we can we will start paying the high tiered teammembers. (e.g. developers, contentcreators, builders)


    We are currently searching for:

    • Developers
    • Builders
    • Contentcreators
    • Designers (e.g. Resourcepackcreator)

    Special open "jobs":

    • Web Administrator
    • Promoter
    Developer

    You should be able to work in a team. We do not require a minimum age, but it is recommended to be older than 14 years. Developers can access confidential data, that is why we will not grant you direct access to projects and data from the beginning.
    You should be confident with:

    • Java
    • IntelliJ IDEA / Eclipse
    • MongoDB
    • MySQL
    • Spigot & Bungeecord
    • NMS & Packets
    • Git (GitHub)
    • English
    • ProtocolLib (recommended)
    Builder
    You should be able to start and finish projects in reasonable time, even with large-scaled projects. We are searching for people that have a sense of perfection and a good eye for detail.
    You should be confident with:
    • WorldEdit and/or VoxelSniper
    • ArmorstandTools
    Contentcreator

    You should be able to document your ideas in fluent english. Your job will be creating new content including new mechanics, quests, map parts, etc. When applying, you will have to write at least one quest, to show us what you can do.


    Designer

    You should be able to use Image Editing Software to draw down your creativity. Your job will be designing and drawing/editing layouts, logos, textures etc. When applying, you will have to design at least one of these things in order to show us what you are capable of.


    How to apply:

    To apply please visit the following link and fill in the gaps. We will contact you in the next two weeks on the given email address. If you are unsure what status your application is in, feel free to contact us on our teamspeak mysticsouls.net!

    Do not be shy! We will not try to get your souls or anything like that, since we already have enough.


    Posted in: Server Recruitment
  • 0

    posted a message on Make block work as bookshelf

    The GUI opens and I can lay items in the slots, but the right hand side with the enchantments will stay empty. It seems that somehow player.displayGui() would make it work, but that method wants a object like a tile entity. The method in the Player is abstract and empty, but the one in EntityPlayerMP doesn't seem to be the right one :/

    Posted in: Modification Development
  • 0

    posted a message on Make block work as bookshelf

    Just because im interested. How would i get the gui running?

    Posted in: Modification Development
  • 0

    posted a message on Make block work as bookshelf

    The power is a private field(No Problem changing that with a bit of reflection), but it probably will not recalculate the max Level. Minecraft chooses them randomly, but than will keep track to the three levels i guess. If i randomly set the values i would change that system.

    I'd rather stick with the first method. I managed to insert my own gui, but upon laying items in the desired Slots Nothing happens. The three enchantment Buttons stay empty. Opening Code Looks like this:

        @SubscribeEvent
        public void click(PlayerContainerEvent event) {
            if(event.getContainer() instanceof ContainerEnchantment) {
                System.out.println("EnchantmentTable");
                
                
                if(event.getEntityPlayer().getEntityWorld().isRemote)
                    event.getEntityPlayer().openContainer = new CustomContainerEnchantment(event.getEntityPlayer().inventory, event.getEntityPlayer().getEntityWorld());
                
                else {
    
                    ContainerEnchantment containerEnchantment = (ContainerEnchantment) event.getContainer();
    
                    try {
                        Field field = ContainerEnchantment.class.getDeclaredField("position");
    
                        field.setAccessible(true);
    
                        BlockPos blockPos = (BlockPos) field.get(containerEnchantment);
    
                        event.getEntityPlayer().openContainer = new CustomContainerEnchantment(event.getEntityPlayer().inventory, event.getEntityPlayer().getEntityWorld(), blockPos);
                    } catch (NoSuchFieldException e) {
                        e.printStackTrace();
                    } catch (IllegalAccessException e) {
                        e.printStackTrace();
                    }
                }
    
            }
        }


    EDIT: It doesnt seem to be the gui causing that. I tried the upper with ContainerEnchantment instead of CustomContainerEnchantment. I guess the container is saved somewhere else as well? Ist not int BlockEnchantmentTable nor in TileEntityEnchantmentTable!!
    Posted in: Modification Development
  • 0

    posted a message on Make block work as bookshelf

    Ok... how would i attempt that? I have no Problem listening to the Event (i guess its PlayerContainerEvent), but how would i open a custom ContainerEnchantment class? I've not been working to much with forge and the Gui handling confuses me. Do i just call the constructor?


    This is how im currently trying it. Its not working and there is now error.

    public class EnchantmentEvent {
        @SubscribeEvent
        public void click(PlayerContainerEvent event) {
            if(event.getContainer() instanceof ContainerEnchantment) {
                event.getEntityPlayer().sendMessage(new TextComponentString("EnchantmentTable"));
                new CustomContainerEnchantment(event.getEntityPlayer().inventory, event.getEntityPlayer().getEntityWorld());
            }
        }
    }
    Posted in: Modification Development
  • 0

    posted a message on Make block work as bookshelf

    I'd like a block to work as a Bookshelf regarding enchantment. How can i do this? I've looked into the minecraft Code and couldnt find were minecraft checks for surrounding bookshelves.

    Posted in: Modification Development
  • 0

    posted a message on Bind multiple models to different damage values of same item
    {
    	"parent": "item/handheld",
    	"textures": {
    		"layer0": "items/diamond_hoe"
    	},
    	"overrides": [
    		{ "predicate": {"damaged": 1, "damage": 0}, "model": "item/diamond_hoe"},
    		{ "predicate": {"damaged": 0, "damage": 0}, "model": "item/wand/wand_01"},
    		{ "predicate": {"damaged": 0, "damage": 1}, "model": "item/wand/wand_02"}
    	]
    }

    This is how my diamond_hoe.json looks like at the moment. Currently it changes the Default model so the breakable hoe looks like the wand model and the Unbreakable one does too, but i want the Default hoe to stay as it is in vanilla and just Change the Unbreakable ones to look individual.

    Posted in: Resource Pack Help
  • 0

    posted a message on Hooking into the vanilla enchantment

    Im trying to execute some code if a player uses an enchantment table. With "use" im thinking of the moment a player clicks on the desired enchantment and the item gets its enchantment applied. I've looked in the Event package of forge, but i haven't seen it so far...

    Thanks for anyhelp! :)

    Posted in: Modification Development
  • 0

    posted a message on Trying to work with Intellij IDEA [Solved]

    I switched to IntelliJ From Ecclipse. Now im trying to set up a modding Workspace in IntelliJ. Ive tried e.g. this tutorial, but when Pressing the "start" button forge-Client will run without my mod installed.

    After Hours of trying i found a working tutorial.

    Posted in: Modification Development
  • 0

    posted a message on Forge [1.11/1.10] Setting Up Mod Environment with IntelliJ IDEA

    I tried the what the post said and its not working. Minecraft does start etc. but the mod doesn't get loaded along.

    Btw under edit configuration the build matching xxx_main was selected by Default.

    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Attack EntityLiving with EntityLiving [Solved]

    Thanks a lot that helped me :P

    Posted in: Modification Development
  • 0

    posted a message on Attack EntityLiving with EntityLiving [Solved]

    That is not what I want. I have a player casting a spell and I'd like to damage the targets with the damager as a reference. Example: not just "killed by magic" but like "killed by User133738" without using an item as attack

    Posted in: Modification Development
  • 0

    posted a message on Attack EntityLiving with EntityLiving [Solved]

    I'd like to call something like damaged.damage(damager, 20.0). The only methods i found where attack with item or get damage with a cause, but not by player.

    Posted in: Modification Development
  • 0

    posted a message on Particle packet [Solved]

    What is the particle packet called? I can't find it :(

    I need the packet to send the particles individually to specific Players.

    Found it myself: SPacketParticles

    Posted in: Modification Development
  • To post a comment, please .