-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By thinkcraftpl · Posted
So to use this forge version I need to downgrade java to 14? -
By diesieben07 · Posted
Why are you making your own CommandDispatcher? Of course Minecraft won't know about any commands you register to this custom dispatcher. -
By diesieben07 · Posted
On the server every world is a ServerWorld. You use a cast. -
By diesieben07 · Posted
You are not doing what I told you to do: You are not creating your handler and LazyOptional in the constructor. You are not using super.getCapability to get the default handlers. Additionally: Please use @Override when overriding methods. Do not use @OnlyIn. This is only four slots. Do you actually have any slots besides the armor and hand inventory? -
Hello. I want to register a command class. This is how I did it and doesn't work. private static final CommandDispatcher<CommandSource> dispatcher = new CommandDispatcher<>(); @SubscribeEvent public static void serverStarting(FMLServerStartingEvent event) { ConfigCommand.register(dispatcher); } What is the right way to register the command?
-
-
Topics
-
Who's Online (See full list)