Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/11/18 in all areas

  1. bspkrs made a Mapping Viewer a while ago. I’ve mostly been using ForgeBot, an instance of tterrag’s Discord bot K9, which lives in the Forge Discord Server and can be DMed to keep channels clear of spam.
    2 points
  2. I think there is an AI that is attached to those mobs that handles that so you could iterate through the AI list and check for an instance of that particular ai class.
    1 point
  3. I have a block with a custom model that also emits some light, but when I place it on the world this happens: Here's the code for this block: I have another light-emitting block with a custom model with very similar code to this but that works fine, so I really don't know what's wrong here...
    1 point
  4. You actually don't have to create a block to make your fluids have textures. The reason you don't see a texture without a fluid block is because it's not stitched to the texture atlas. Creating a block automatically stiches the texture and so you now have the ability to see it. However that is not the only way to do this and in fact is not the preffered way. Just stitch your fluid texture in the TextureStitchEvent.
    1 point
  5. I am not positive but I think you have to create a fluid block as well. And the color/texture from that gets used. Or something like that.
    1 point
  6. Its a library, you can use it like a normal library. However you SHOULDN'T use it in Minecraft because it is already in Minecraft. Once 1.13 Forge gets released you'll have Brigadier at your disposal. You can take a look at how Forge uses it here: https://github.com/MinecraftForge/MinecraftForge/tree/1.13-pre/src/main/java/net/minecraftforge/server/command
    1 point
  7. As, the title says, i want to know how to display a chat message on enter in a world. Thanks for helping. SOLUTION: Main.class package SackCastellon.core; import cpw.mods.fml.common.FMLCommonHandler; import SackCastellon.core.event.SkcEvent; import SackCastellon.core.proxy.CommonProxy; import SackCastellon.core.reference.Reference; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; @Mod(modid=Reference.ID, name=Reference.NAME, version=Reference.VERSION, dependencies=Reference.DEPENDENCIES) public class SKCCore { @Instance(Reference.ID) public static SKCCore instance; @SidedProxy(clientSide=Reference.CLPROXY, serverSide=Reference.CMPROXY) public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { FMLCommonHandler.instance().bus().register(new SkcEvent()); System.out.println("Event Handler Initialized"); } @EventHandler public void load(FMLInitializationEvent event) {} @EventHandler public void postInit(FMLPostInitializationEvent event) {} } Event.class package SackCastellon.core.event; import net.minecraft.util.ChatComponentText; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent; public class SkcEvent { @SubscribeEvent public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent event) { event.player.func_146105_b(new ChatComponentText(event.player.getDisplayName() + " is testing chat messages")); } }
    1 point
×
×
  • Create New...

Important Information

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