-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
The github is here: https://github.com/DJ-Laser/BetterAllaysMod It worked fine until I downloaded it from github on my new computer. I ran the gradle genIntelijRuns task and didnt change anything, and the build suceeded
-
By perromercenary00 · Posted
goo days i have made some panels and trapdoors basically you take a block and split in four simetrical parts By the way this panels works it has sense to make them in the cutting table is posible to add mi blocks in a json some where ? or its the cutting table a michine whit a close predefined pool of recipes and i have to make a custome cutting table ? -
Hello, I'm having an issue with getting players to use elytra flight. They do not have any elytra armour on their chest plate but rather the elytra is rendered on the player. What I've got so far seems to make the server 'fight' with itself making the person with the elytra begin flying but immediately go back to non-flight. I'm checking if the player is off the ground and such client and server side using packets. Client code: @SubscribeEvent(priority = EventPriority.HIGHEST) public static void onKeyInput(InputEvent.Key event) { if (Minecraft.getInstance().options.keyJump.consumeClick()) { Player player = Minecraft.getInstance().player; if (!player.isOnGround() && !player.isFallFlying() && !player.isInWater() && !player.hasEffect(MobEffects.LEVITATION)) { NetworkManager.sendToServer(new ElytraAttemptFlyPacket()); } } } } Server code: public class ElytraAttemptFlyPacket { public ElytraAttemptFlyPacket(FriendlyByteBuf buf) { } public ElytraAttemptFlyPacket() { } public void toBytes(FriendlyByteBuf buf) { } public boolean handle(Supplier<NetworkEvent.Context> supplier) { NetworkEvent.Context context = supplier.get(); context.enqueueWork(() -> { //Server ServerPlayer player = context.getSender(); if (!player.isOnGround() && !player.isFallFlying() && !player.isInWater() && !player.hasEffect(MobEffects.LEVITATION)) { player.startFallFlying(); } }); return true; } } As I said before it kind of works but it looks like the server is fighting with itself putting the player in elytra mode and normal mode. Any suggestions would be appreciated!!
-
So I'm making a custom modpack, and would like to develop a mod specifically for it. I should only need to add a few compile dependencies, for mods I'm working directly with, but I would like to have all of the mods present while playing. I have all the jars in a folder, but it gets changed a lot (adding/ updating mods) is there any way i can have those jars get copied into my session's mods folder when I run it?
-
By Hipposgrumm · Posted
It looks like the port you are trying to host the server from is already in use (possibly by another server or another instance of Minecraft). You can change the port in server.properties, just make sure you forward that port on your router.
-
-
Topics
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.