Jump to content

NeyGeyex

Members
  • Posts

    4
  • Joined

  • Last visited

NeyGeyex's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello, I was working on some animations of some entities using the normal methods of set rotationangles but I would like to know if there is any way to scale the entity or some derivative of it, I found a method in the forum " public EntitySize getSize(Pose poseIn) { return super.getSize(poseIn).scale(0.5F, 0.5F); } } " but I don't know what package it is in or if it is called from the constructor
  2. Hi, I wanted to ask (I don't know if this is the correct forum) about how I can make a button with a custom texture I have this code " public void init(Minecraft minecraft, int width, int height) { super.init(minecraft, width, height); minecraft.keyboardListener.enableRepeatEvents(true); this.addButton(new Button(this.guiLeft + 55, this.guiTop + 66, 40, 20, new StringTextComponent("asa"), e -> { if (true) { EsdecoMod.PACKET_HANDLER.sendToServer(new OooGui.ButtonPressedMessage(0, x, y, z)); OooGui.handleButtonAction(entity, 0, x, y, z); " but there comes a "string component" and I would like it to be more of an image, I don't know much about java, but if I know about the "net.minecraft.client.gui.widget.button.ImageButton" library, I don't know. how to use the method to make a button with image. Could someone tell me how can I do it? I am doing the mod in mcreator, and to make a button with image I need to write the code, so I would like you to help me, thanks in advance and sorry for my bad english
  3. NeyGeyex

    Radio_Mod

    Hi, mi name is Nestor. I was creating a server, (magma 1.12.2) and I came up with the idea of implementing a "Radio" the server is a hybrid server, it allows spigot and forge, but I was seeing many ways to add a radio type and the only ways is to reproduce the sound directly, and What I would like is that, for example, the user will turn off the radio and stop listening, but when the radio starts it seems that the radio is live, that is, it does not pause or the sound is removed, it simply no longer listen to the player, I saw that the only forms both easy as a / playsound or with classes, what I need is to see if someone knows any class / api that helps me do that, both spigot and forge, or any idea of how to achieve that in Minecraft :C
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.