Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • mooL

mooL

Members
 View Profile  See their activity
  • Content Count

    21
  • Joined

    July 18, 2016
  • Last visited

    January 16, 2018

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by mooL

  1. mooL

    [1.10.2] ForgeRegistries.ITEMS.register or GameRegistry.register(item)?

    mooL replied to mooL's topic in Modder Support

    what do you mean by private and internal? as in only minecraft itself uses it, and not modders?
    • January 5, 2018
    • 9 replies
  2. mooL

    [1.10.2] ForgeRegistries.ITEMS.register or GameRegistry.register(item)?

    mooL posted a topic in Modder Support

    Hello I came across ForgeRegistries.ITEMS.register, ForgeRegistries.BLOCKS.register, etc and I was wondering, Is there a difference between that and GameRegistry.register(item)? Do they both do the same thing? Which one should I use?
    • January 5, 2018
    • 9 replies
  3. mooL

    [1.8] No texture on block items?

    mooL replied to mooL's topic in Modder Support

    package com.merel.teleportmod.init; import static com.merel.teleportmod.Reference.*; import com.merel.teleportmod.extender.specific.BlockCoordTransporter; import com.merel.teleportmod.extender.specific.BlockInventory; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class TeleportBlocks { public static Block tp_block; public static Block inventory_block; public static void init() { tp_block = new BlockCoordTransporter(Material.glass, "tp_block", MODTAB); inventory_block = new BlockInventory("inventory_block", MODTAB); } public static void register() { looper(tp_block); looper(inventory_block); } public static void looper(Block regBlock) { GameRegistry.registerBlock(regBlock, regBlock.getUnlocalizedName().substring(5)); } public static void registerRenders() { registerRender(tp_block); registerRender(inventory_block); } public static void registerRender(Block block) { Item item = Item.getItemFromBlock(block); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } }
    • August 10, 2016
    • 3 replies
  4. mooL

    [1.8] No texture on block items?

    mooL posted a topic in Modder Support

    I made a tile entity block, and it has textures when i place it down, but it doesnt when im holding the block. what am i doing wrong? { "parent": "block/cube_all", "textures": { "all": "tm:blocks/inventory_block" } } { "parent": "tm:block/inventory_block", "display": { "thirdperson": { "rotation": [ 10, -45, 170 ], "translation": [ 0, 1.5, -2.75 ], "scale": [ 0.375, 0.375, 0.375 ] } } } tell me if there is other code needed
    • August 10, 2016
    • 3 replies
  5. mooL

    [1.8] How do i change a tileEntity's nbt data when i right click it?

    mooL replied to mooL's topic in Modder Support

    ok... so if i store them in normal fields how do i make it store when saving to disk?
    • July 27, 2016
    • 13 replies
  6. mooL

    [1.8] How do i change a tileEntity's nbt data when i right click it?

    mooL replied to mooL's topic in Modder Support

    ok so i found the readfromnbt method is that method called manually, by me?
    • July 27, 2016
    • 13 replies
  7. mooL

    [1.8] How do i change a tileEntity's nbt data when i right click it?

    mooL replied to mooL's topic in Modder Support

    i want the block to keep the data after world save. so yea i need it to save it in a nbt tag. also im using onentitycollidedwithblock.
    • July 27, 2016
    • 13 replies
  8. mooL

    [1.8] How do i change a tileEntity's nbt data when i right click it?

    mooL replied to mooL's topic in Modder Support

    im making the block teleport me to a coordinate when an entity is touching it. the item gets the coordinate of the block i shift right click on, and stores it on a nbt tag. if it is right clicked on the teleporter block, i want the block to take the nbt data from the item and store it. based on what you said that blocks cant store nbt, i guess the block has to be a tile entity.
    • July 27, 2016
    • 13 replies
  9. mooL

    [1.8] How do i change a tileEntity's nbt data when i right click it?

    mooL posted a topic in Modder Support

    I want to make a block that when right clicked with my item, which already has a nbt tag with coordinates, will store the coordinate, and do something with it. How do I change/add the block's nbt data tag? Also, do I need the block to be a tile entity? I'm not sure..
    • July 27, 2016
    • 13 replies
  10. mooL

    [1.8] onBlockActivated vs onBlockClicked??

    mooL posted a topic in Modder Support

    Whats the difference? My guess is onBlockClicked happens when you left or right click, while onBlockActivated is only when you right click. Is this correct?
    • July 27, 2016
    • 1 reply
  11. mooL

    When is the addInformation method called?

    mooL replied to mooL's topic in Modder Support

    and when is that called? and like what causes it to run? a right click?
    • July 26, 2016
    • 4 replies
  12. mooL

    When is the addInformation method called?

    mooL posted a topic in Modder Support

    I looked at the item class but it doesnt say.
    • July 26, 2016
    • 4 replies
  13. mooL

    How do I make something happen when I use my item when not looking at a block?

    mooL replied to mooL's topic in Modder Support

    wow thanks for answering my short question...
    • July 25, 2016
    • 7 replies
  14. mooL

    How do I make something happen when I use my item when not looking at a block?

    mooL replied to mooL's topic in Modder Support

    so i looked at the class file of it, im not too sure how to use it. would this be correct? public PlayerInteractEvent(EntityPlayer player, Action action, BlockPos pos, EnumFacing face, World world){ if (action == RIGHT_CLICK_AIR) { //code } }
    • July 25, 2016
    • 7 replies
  15. mooL

    How do I make something happen when I use my item when not looking at a block?

    mooL posted a topic in Modder Support

    is there a method like onItemRightClick but only runs when im not looking at a block?
    • July 25, 2016
    • 7 replies
  16. mooL

    Why do I have a bunch of jar files in the project build project?

    mooL replied to mooL's topic in Modder Support

    ok, but why is it all showing up in my project in project explorer? is there a way to minimize it or something? because on the tutorial im watching the person doesnt have any of those jar files. What you need is package explorer, not project explorer. (Project explorer will display all dependencies, while package explorers will pack them into 'Referenced Libraries') Easiest way to do that is, simply open perspective 'Java'. So basically, the difference there would be just the perspective. SO THATS WHAT HAPPENED... so before i didnt know how i fix it before and somehow, all my jars went into the reference library. so for some reason the whole time my java perspective was on Java EE. This also helped fix my problem where i couldnt create text files and various others like folders, by right clicking -> new -> untitled text file. i had to click other and look for it in "select a wizard"
    • July 20, 2016
    • 12 replies
  17. mooL

    How much is changed in minecraft forge for 1.9 vs 1.8?

    mooL posted a topic in Modder Support

    Im currently learning how to make a 1.8 mod, what is changed in 1.9? What would i need to know in order to update a mod to the next version? What is remained the same?
    • July 19, 2016
    • 1 reply
  18. mooL

    Why do I have a bunch of jar files in the project build project?

    mooL replied to mooL's topic in Modder Support

    what is the difference?
    • July 19, 2016
    • 12 replies
  19. mooL

    Why do I have a bunch of jar files in the project build project?

    mooL replied to mooL's topic in Modder Support

    • July 19, 2016
    • 12 replies
  20. mooL

    Why do I have a bunch of jar files in the project build project?

    mooL replied to mooL's topic in Modder Support

    ok, but why is it all showing up in my project in project explorer? is there a way to minimize it or something? because on the tutorial im watching the person doesnt have any of those jar files.
    • July 19, 2016
    • 12 replies
  21. mooL

    Why do I have a bunch of jar files in the project build project?

    mooL posted a topic in Modder Support

    I finished setting up the workspace for minecraft modding, but there seems to be a bunch of .jar files in the package located at c:\Users\user\.gradle\caches\moduals-2\files-2.1\ what are they, and is there a way to minimize or rid of it? on youtube tutorials dont see any of them.
    • July 18, 2016
    • 12 replies
  • All Activity
  • Home
  • mooL
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community