[1.12.2] plugin with id 'net.minecraftforge.gradle.forge' not found
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
public class BlockEntitiesManager { public static final DeferredRegister<BlockEntityType<?>> BLOCK_ENTITIES = DeferredRegister.create(ForgeRegistries.BLOCK_ENTITY_TYPES, Main.MODID); public static final RegistryObject<BlockEntityType<CreativeBlockE>> CREATIVE_BLOCK_E = BLOCK_ENTITIES.register("creative_blocke", () -> BlockEntityType.Builder.of()); public static void register(IEventBus eventBus) { BLOCK_ENTITIES.register(eventBus); } } Builder cannot be resolved or is not a field
-
By loulousti3 · Posted
thx you saved my multiplayer world -
When i want to launch the server it crashes because of better combat mod and instantly closes. Can someone help me?? https://mclo.gs/mDCRSIi
-
i have the same problem. Can someone help me?? https://mclo.gs/mDCRSIi
-
I have a command structured like this: /rank list /rank upgrades /rank nextLevel I want to allow the server to send the command /rank list because it doesn't interact with players, meanwhile upgrades and nextLevel are targetting a player. In my current condition I'm checking if the command context's source's player is not null, but do exist a way to map those argouments for players only so they don't even show up in autocompletations? PS (forgot to add the code) @SubscribeEvent public void onRegisterCommands(RegisterCommandsEvent event) { // builds command tree structure. LiteralArgumentBuilder<CommandSourceStack> root = Commands.literal("rank"); root.then(Commands.literal("list") .executes(this::onListRanks)); root.then(Commands.literal("upgrades") .executes(this::onDisplayPlayerUpgrades)); root.then(Commands.literal("nextLevel") .executes(this::onIncreaseCurrentPlayerLevel)); event.getDispatcher().register(root); }
-
-
Topics
-
Who's Online (See full list)
- There are no registered users currently online
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.