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

MyRedAlien43

Members
 View Profile  See their activity
  • Content Count

    37
  • Joined

    May 8, 2019
  • Last visited

    June 15, 2020

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by MyRedAlien43

  • Prev
  • 1
  • 2
  • Next
  • Page 1 of 2  
  1. MyRedAlien43

    [1.15.2] Custom Point of Interest For Villigers

    MyRedAlien43 replied to IMleader's topic in Modder Support

    Also want to know this
    • April 30, 2020
    • 5 replies
  2. MyRedAlien43

    [1.15.2] Command doesn't exist after inputting arguments

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    Okay, I added 2 more breakpoints, and the only one that triggered was the "executes" line. I will now edit the post to mark where I put the breakpoints
    • March 24, 2020
    • 4 replies
  3. MyRedAlien43

    [1.15.2] Command doesn't exist after inputting arguments

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    Yes I did press debug mode... Let me just use another breakpoint somewhere..
    • March 24, 2020
    • 4 replies
  4. MyRedAlien43

    [1.15.2] Command doesn't exist after inputting arguments

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    bump
    • March 24, 2020
    • 4 replies
  5. MyRedAlien43

    [Solved] [1.15.2] Events are not fired

    MyRedAlien43 replied to uiytt's topic in Modder Support

    I am irrelevant then
    • March 22, 2020
    • 5 replies
  6. MyRedAlien43

    [1.15.2] Creating crafting GUIs

    MyRedAlien43 replied to Beep's topic in Modder Support

    An IScreenFactory basically requires a reference to the screen class constructor (e.g. ScreenClass::new), and you can look in ContainerType to see how you make one
    • March 22, 2020
    • 16 replies
  7. MyRedAlien43

    [1.15.2] Creating crafting GUIs

    MyRedAlien43 replied to Beep's topic in Modder Support

    Its registerFactory
    • March 22, 2020
    • 16 replies
  8. MyRedAlien43

    [1.15.2] Creating crafting GUIs

    MyRedAlien43 replied to Beep's topic in Modder Support

    You need to link the container and the screen (aka Gui) Using a method in ScreenManager using a method that i cant remember
    • March 22, 2020
    • 16 replies
  9. MyRedAlien43

    [1.15.2] Creating crafting GUIs

    MyRedAlien43 replied to Beep's topic in Modder Support

    NetworkHooks.openGui
    • March 22, 2020
    • 16 replies
  10. MyRedAlien43

    [Solved] [1.15.2] Events are not fired

    MyRedAlien43 replied to uiytt's topic in Modder Support

    I'm pretty sure you need to register the class itself, not an instance of it.... Correct me if I'm wrong
    • March 22, 2020
    • 5 replies
  11. MyRedAlien43

    [1.15.2] Command doesn't exist after inputting arguments

    MyRedAlien43 posted a topic in Modder Support

    So I want to create a command to teleport between dimensions, for testing, but when I try to run it, the game says "Unknown Command" "...dimension_name_here <--[HERE]" And I also tried using breakpoints but they didn't trigger whatsoever?? Command Class: public class TeleportDimensionCommand { public static void register(CommandDispatcher<CommandSource> dispatcher) { LiteralArgumentBuilder<CommandSource> builder = Commands.literal("teleport_dimension").requires(source -> source.hasPermissionLevel(2)); builder.then(Commands.argument("dimension", DimensionArgument.getDimension())); builder.executes(TeleportDimensionCommand::teleport); //Only breakpoint which triggered LiteralCommandNode<CommandSource> teleport_dimension = dispatcher.register(builder); dispatcher.register(Commands.literal("tp_dim").requires(source -> source.hasPermissionLevel(2)).redirect(teleport_dimension)); } private static int teleport(CommandContext<CommandSource> context) { ServerPlayerEntity player; try { player = context.getSource().asPlayer(); //Put a breakpoint here.. player.sendMessage(new StringTextComponent("Attempting teleport...")); //When I didn't put any arguments, this popped up in chat } catch (CommandSyntaxException e) { Main.getLogger().error(Markers.ERROR, "Could not get player from source"); e.printStackTrace(); return 0; //Also tried a breakpoint here } if(player.changeDimension(DimensionArgument.getDimensionArgument(context, "dimension")) == null) { Main.getLogger().error(Markers.ERROR, "Could not teleport player"); //Put a breakpoint here player.sendMessage(new StringTextComponent("Could not teleport")); } else { player.sendMessage(new StringTextComponent("Teleported!")); //Put a breakpoint here } return 1; } } In my main class: package sdt.undergroundadditions; //Imports here... @Mod("undergroundadditions") public class Main { public Main() { //Some more code here.. IEventBus forge = MinecraftForge.EVENT_BUS; //Adding listeners here... forge.addListener(this::serverStarting); } //Some more methods in between here private void serverStarting(FMLServerStartingEvent event) { TeleportDimensionCommand.register(event.getCommandDispatcher()); logger.info(Markers.SERVER_STARTING, "Initialized server starting events"); } } And, there's no error in the logs too. What's wrong?
    • March 22, 2020
    • 4 replies
  12. MyRedAlien43

    [SOLVED] [1.15.2] Found validation problem in {}.pools[0].entries[0]: Unreachable entry!

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    What do you mean? Also, it works.
    • February 26, 2020
    • 10 replies
  13. MyRedAlien43

    [SOLVED] [1.15.2] Found validation problem in {}.pools[0].entries[0]: Unreachable entry!

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    like this? { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "functions": [ { "function": "minecraft:set_count", "count": 4 }, { "function": "minecraft:explosion_decay" } ], "name": "undergroundadditions:dirt_chunk" }, { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.125 } ], "name": "undergroundadditions:grass_seeds" } ] } ] }
    • February 26, 2020
    • 10 replies
  14. MyRedAlien43

    [SOLVED] [1.15.2] Found validation problem in {}.pools[0].entries[0]: Unreachable entry!

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    I want for it to always give dirt chunks when broken, but only grass seeds within a chance.
    • February 26, 2020
    • 10 replies
  15. MyRedAlien43

    [SOLVED] [1.15.2] Found validation problem in {}.pools[0].entries[0]: Unreachable entry!

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    what condition can I put there?
    • February 25, 2020
    • 10 replies
  16. MyRedAlien43

    [SOLVED] [1.15.2] Found validation problem in {}.pools[0].entries[0]: Unreachable entry!

    MyRedAlien43 posted a topic in Modder Support

    I've been trying to add loot tables to my blocks + override vanilla ones but it posts this warning message despite what I do, and it's becoming annoying. The loot tables work, but I want to get rid of this warning message so I can actually do this right. What does this mean? Example loot table json (most of them are like this): { "type": "minecraft:block", "pools": [ { "name": "organic_grass", "rolls": 1, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "enchantments": [ { "enchantment": "minecraft:silk_touch", "levels": { "min": 1 } } ] } } ], "name": "undergroundadditions:organic_grass" }, { "type": "minecraft:item", "functions": [ { "function": "minecraft:set_count", "count": 4 }, { "function": "minecraft:explosion_decay" } ], "name": "undergroundadditions:dirt_chunk" }, { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.125 } ], "name": "undergroundadditions:grass_seeds" } ] } ] } ] }
    • February 25, 2020
    • 10 replies
  17. MyRedAlien43

    Registering custom sound

    MyRedAlien43 replied to Tonyenike's topic in Modder Support

    Correct me if I'm wrong. I also had this problem but I fixed it by passing all of the parameters in the command.
    • February 24, 2020
    • 4 replies
  18. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    Omfg im so dumb... if i knew i didnt override it... thanks it works now i really want to bang my head onto a wall Also thanks for the help @diesieben07 i appreciate it
    • May 14, 2019
    • 23 replies
  19. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    https://github.com/aradgal/moresimplestuff1.13.2/
    • May 14, 2019
    • 23 replies
  20. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    I put a break point on the line: if(worldIn.isRemote) { return true; //This line } And it triggered, and not the other one I put on the line: TileEntityPress te = (TileEntityPress)worldIn.getTileEntity(pos); that is on the else side of the if above
    • May 14, 2019
    • 23 replies
  21. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    NetworkHooks.openGui(playermp, te, buf -> buf.writeBlockPos(pos)); return new ContainerPress(playerInventory, this); return GuiHandler.GUI.PRESS.getGuiID();
    • May 14, 2019
    • 23 replies
  22. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    They didn't get hit.. I tried putting it in the block and the tile entity
    • May 14, 2019
    • 23 replies
  23. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    Nothing popped up / got written in the debugger
    • May 14, 2019
    • 23 replies
  24. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    Also, I know what a debugger is, I just didn't know which one
    • May 14, 2019
    • 23 replies
  25. MyRedAlien43

    [1.13.2] Tile Entity not opening

    MyRedAlien43 replied to MyRedAlien43's topic in Modder Support

    I got nothing in the debugger
    • May 14, 2019
    • 23 replies
  • Prev
  • 1
  • 2
  • Next
  • Page 1 of 2  
  • All Activity
  • Home
  • MyRedAlien43
  • Theme

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