Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Chlod

Members
  • Joined

  • Last visited

Everything posted by Chlod

  1. Found it! Thanks
  2. I have a cow. He's just basic, doesn't even have a walking animation. So, I want to get a custom milk bucket from him, the filled bucket is named "GMMilk." What I wish to learn: How to get that milk bucket instead of the normal one So... breakdown. 1. Right click the custom cow with an empty vanilla bucket 2. Get a "GMMilk" bucket but NOT a "milk_bucket" bucket Thanks in advance! Have a nice day
  3. Ok... it doesn't fire at all. With the new changes and the past one.
  4. I did it! Thanks guys! Here's the results: @EventHandler public void getPlayer(EntityJoinWorldEvent event){ //Credits: Matryoshika, Ernio and coolAlias on the Minecraft Forge Forums if(event.entity instanceof EntityPlayer){ EntityPlayer player = Minecraft.getMinecraft().thePlayer; player.addChatMessage(new ChatComponentText("text)); } }
  5. Ok, I did it. Now, how about the chat message now?
  6. So now, what do I do to check if the Entity is a player, and how do I send the message? EDIT: I can't find a tutorial for this exact version and topic on Google, so don't ask me to Google it. Done that already.
  7. I'm trying to post a message to players, when they login, saying they need to update to the latest version. Now, I've done the whole "getting-the-version" thing. I just need to know what code to put to send the message ONLY WHEN the player logs into the game. Thanks in advance
  8. Is there any way to use 1.7.10 mods for 1.8? Or something that can translate 1.7 code to 1.8? Thanks in advance.
  9. Chlod posted a topic in Modder Support
    What do I do if I want a block to rotate. Similar to the furnace, when you place it, it always gets placed with the front facing you. Thanks. package com.chlod.golf.Blocks; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.EntityLivingBase; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import net.minecraft.util.MathHelper; import net.minecraft.world.World; public class Slide extends Block{ protected Slide(Material p_i45394_1_) { super(p_i45394_1_); this.slipperiness = 1.5F; this.setTickRandomly(true); } }

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.