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
  • OBCLetter

OBCLetter

Members
 View Profile  See their activity
  • Content Count

    14
  • Joined

    April 11, 2018
  • Last visited

    April 17, 2020

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by OBCLetter

  1. OBCLetter

    [1.15.2] Does my OreGen Function work?

    OBCLetter replied to DragonITA's topic in Modder Support

    100% sure all world generation events get loaded in FMLCommonSetupEvent. Try moving FantasyOreGen.generateOre() into setup in Main. Works for me with my custom structure generation.
    • February 20, 2020
    • 17 replies
      • 1
      • Like
  2. OBCLetter

    see invisible mod

    OBCLetter replied to oquiet's topic in Mods

    This is in vanilla Minecraft; simply F5 and you can see your invisible avatar.
    • June 20, 2019
    • 1 reply
  3. OBCLetter

    Orespawn 1.12.2 Issue - items not showing in game

    OBCLetter replied to JMAS's topic in Support & Bug Reports

    On a side note, Orespawn isn't even for Minecraft anymore; it's for a game called DangerZone.
    • June 20, 2019
    • 2 replies
  4. OBCLetter

    [1.12.2] Container barely works

    OBCLetter replied to OBCLetter's topic in Modder Support

    The crafting breaks and is unusable, however the gui is fine.
    • June 19, 2019
    • 2 replies
  5. OBCLetter

    1.14 Custom Recipies Not Working

    OBCLetter replied to shadeymatt's topic in Modder Support

    Recipes is the correct spelling. You even spelled it right in your topic.
    • June 18, 2019
    • 2 replies
      • 1
      • Thanks
  6. OBCLetter

    [1.12.2] Container barely works

    OBCLetter posted a topic in Modder Support

    Hello all. I have a Container that functions similarly to a crafting table; however, you craft things using Matter. There is a problem. You can only craft once, and after that, the container becomes unusable until the game is restarted (See attachment). Honestly, I've been working at this for hours on end, and I haven't got anywhere. ContainerAssembler.java InventoryMatter.java SlotAssembler.java GuiAssembler.java (probably the most pointless one to showcase) 4377fd8c02b12b65a948b50343a821d5.mp4
    • June 18, 2019
    • 2 replies
  7. OBCLetter

    My 1.12.2 forge is crashing at the very start

    OBCLetter replied to skysquid357's topic in Support & Bug Reports

    Reinstall Forge, probably the only way to fix it imo.
    • December 24, 2018
    • 21 replies
  8. OBCLetter

    [1.12.2] Mimicry of Other Blocks

    OBCLetter posted a topic in Modder Support

    Hi everyone. I am making a mod where there is a block that can "mask" itself so that people can't find it. However, I cannot seem to get the code to work, no matter how hard I try. I have tried a TileEntitySpecialRenderer , however this wouldn't work, I also have tried storing the blockstate and simply returning the blockstate in the tileentity in getExtendedState() and getActualState() , but nothing works. I don't understand why. A little help would help me greatly. TileEntity: Block:
    • August 26, 2018
    • 1 reply
  9. OBCLetter

    Furnace Broken When Extracting Items

    OBCLetter replied to OBCLetter's topic in Modder Support

    It remembers which furnace it originally built when building a house. When the original furnace is destroyed, it seeks a new one and sets that one as it's furnace.
    • April 14, 2018
    • 3 replies
  10. OBCLetter

    Furnace Broken When Extracting Items

    OBCLetter posted a topic in Modder Support

    When I try to extract an item from a furnace, the furnace is broken. Not like glitched broken, but like survival player mines the block broken. Here is my code: @Override public void updateTask() { if (soldier.wantsToGoTo != BlockPos.NULL_VECTOR) { soldier.getNavigator().tryMoveToXYZ(soldier.wantsToGoTo.getX(), soldier.wantsToGoTo.getY(), soldier.wantsToGoTo.getZ(), speedIn); double distance = soldier.getPosition().getDistance(soldier.wantsToGoTo.getX(), soldier.wantsToGoTo.getY(), soldier.wantsToGoTo.getZ()); if (distance < 5) { TileEntityFurnace furnace = soldier.getFurnace(); if (soldier.getHeldItem(EnumHand.MAIN_HAND).isEmpty()) { soldier.setHeldItem(EnumHand.MAIN_HAND, furnace.getStackInSlot(2)); furnace.getStackInSlot(2).splitStack(furnace.getStackInSlot(2).getCount()); } else if (soldier.getHeldItem(EnumHand.MAIN_HAND) == furnace.getStackInSlot(2)) { soldier.setHeldItem(EnumHand.MAIN_HAND, new ItemStack(furnace.getStackInSlot(2).getItem(), furnace.getStackInSlot(2).getCount() + soldier.getHeldItem(EnumHand.MAIN_HAND).getCount())); furnace.getStackInSlot(2).splitStack(furnace.getStackInSlot(2).getCount()); } } } }
    • April 13, 2018
    • 3 replies
  11. OBCLetter

    Detect a Block In a Certain Area

    OBCLetter replied to OBCLetter's topic in Modder Support

    You guys are life-savers.
    • April 12, 2018
    • 5 replies
  12. OBCLetter

    Detect a Block In a Certain Area

    OBCLetter replied to OBCLetter's topic in Modder Support

    I think I may have done something completely wrong: @Override public boolean shouldExecute() { boolean output = false; BlockPos position = soldier.getPosition(); for (int i = position.getX() + 2; i > position.getX() - 2; i--) { for (int j = position.getZ() + 2; i > position.getZ() - 2; j--) { for (int k = position.getY() + 2; i > position.getY() - 2; k--) { BlockPos foundBlockPos = new BlockPos(i + position.getX(), k + position.getY(), j + position.getZ()); if (world.getBlockState(foundBlockPos).equals(stateToFind)) { output = true; soldier.wantsToGoTo = foundBlockPos; } } } } return output; }
    • April 12, 2018
    • 5 replies
  13. OBCLetter

    Detect a Block In a Certain Area

    OBCLetter posted a topic in Modder Support

    I have an entity that tries to find a block, in this case wood, to mine and use for other purposes. I thought of checking every single block in a 5x5x5* area (above ground), but I quickly noticed it would slow my game to a snail's pace. How could I optimize my block-checking? EDIT: *4x4x4
    • April 12, 2018
    • 5 replies
  14. OBCLetter

    [SOLVED] [1.12.2] Custom TileEntity

    OBCLetter replied to Arthur Wesley's topic in Modder Support

    I recommend this tutorial. It doesn't go extremely in-depth into the programming, and it usually assumes that you will find some stuff out on your own, but I find it's a useful tutorial series for me.
    • April 11, 2018
    • 2 replies
  • All Activity
  • Home
  • OBCLetter
  • Theme

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