-
Posts
1160 -
Joined
-
Days Won
7
Everything posted by poopoodice
-
[1.16.1] Sweet Berry Bush Block not being transparent
poopoodice replied to Pickle_Face5's topic in Modder Support
Set the render type of the block in your client setup using RenderTypeLookup.setRenderLayer(block, rendertype); or make a shape for it -
[Solved][1.16.1]Get players in render range.
poopoodice replied to kyazuki's topic in Modder Support
I think you should do that by sending packets to players that are tracking that chunk. Something like PacketDistributor.TRACKING_CHUNK.with(() -> world.getChunkAt(pos)) -
AbsctractGui.fill() to fill certain colour in to an area, blit to render an image to the area.
-
As title, players are unable to connect to the server with mod installed on both sides. (I've tested myself on my two laptops and one of them work, one of they don't) Client shows: "An established connection was aborted by the software in your host machine (but it works fine to join other server)", on Server it just says "Took too long to log in", anyways, debug logs: Some of the names and information are change due to privacy (logs provided by other user) Server Debug Log: https://pastebin.com/3WJjwV8M Client Debug Log: https://pastebin.com/yVd5nxWP Repository: https://bitbucket.org/kaneka/planttech2/src/1.16.x/ Thanks in advance.
-
I don't think it's your problem, just ignore them.
-
They are actually the same on client
-
[1.16.1] How to give a block a facing property like a Barrel
poopoodice replied to winkeyface14's topic in Modder Support
use BlockStateProperties.FACING instead of HORIZONTAL_FACING -
player.sendMessage();
-
[Solved][1.16.1]Client works, but server crashes at packet handler.
poopoodice replied to kyazuki's topic in Modder Support
Use DistExecutor. -
[Solved][1.16.1]Client works, but server crashes at packet handler.
poopoodice replied to kyazuki's topic in Modder Support
Use the player provided in Minecraft instance. -
[1.16.1]Not translate TranslationTextComponent on console
poopoodice replied to kyazuki's topic in Modder Support
It is translated on client. -
[1.16.1] Listening on an event which does not implement IModBusEvent
poopoodice replied to BatHeart's topic in Modder Support
You probably registered it on the wrong event bus. -
Post your code and the log.
-
[1.15.2] Fix order in world when re-sorting item registries
poopoodice replied to xanderindalzone's topic in Modder Support
probably fill() (not so sure) -
What I do is create the command with empty content (does not execute anything) so you have the auto completion, and use ClientChatEvent to compare the input manually, then stop the msg being sent if it matches. Not sure if this works without any side effects, but it works.
-
I’m not sure what you mean be client side time but there’s a pr on github trying to implement client side commands register event, you might want to have a look at it.
-
Change the forge version in dependencies, and reimport/refresh the gradle project
-
Sorry did not see the updated code.
-
You should only assign their values when they are being registered. ( RegistryObject.of(new ResourceLocation(OresCores.MODID, "telerite_ore"), ForgeRegistries.BLOCKS); is null when you call it there )
-
You can save the itemstack in the entity (ItemStack.write() ItemStack.read() or something like that to store the data), and use it when needed.
-
[1.16.1] Error Occurs During mod Loading
poopoodice replied to Pickle_Face5's topic in Modder Support
Remember to set registry name for your items. -
[1.15.2] How should I use a blockstate or variants ?
poopoodice replied to LicaSkelecario's topic in Modder Support
Show your block class -
You created your blocks in the block registry, but you are actually assigning null values in Blocks.java because the block registry is called after.
-
[1.16.1] Error Occurs During mod Loading
poopoodice replied to Pickle_Face5's topic in Modder Support
Assign their values when they are being registered. For example public static Item TEST_ITEM = null; @SubscribeEvent public static void registerItems(RegistryEvent.Register<Item> event) { event.getRegistry().registerAll( TEST_ITEM = new Item(); ); } -
I can see through the world like in spectator mode
poopoodice replied to MrGreenyboy's topic in Modder Support
You're right, I thought there were glass panes there lol.