Everything posted by poopoodice
-
[1.16.1] Sweet Berry Bush Block not being transparent
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.
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))
-
How to draw rectangle on GUI
AbsctractGui.fill() to fill certain colour in to an area, blit to render an image to the area.
-
1.15.2 Player cannot connect to server with mod installed
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.
-
[1.16.1]What is this error?
I don't think it's your problem, just ignore them.
-
How to send messages to the chat box?
They are actually the same on client
-
[1.16.1] How to give a block a facing property like a Barrel
use BlockStateProperties.FACING instead of HORIZONTAL_FACING
-
How to send messages to the chat box?
player.sendMessage();
-
[Solved][1.16.1]Client works, but server crashes at packet handler.
Use DistExecutor.
-
[Solved][1.16.1]Client works, but server crashes at packet handler.
Use the player provided in Minecraft instance.
-
[1.16.1]Not translate TranslationTextComponent on console
It is translated on client.
-
[1.16.1] Listening on an event which does not implement IModBusEvent
You probably registered it on the wrong event bus.
-
Tile Entity Help 1.15.2
Post your code and the log.
-
[1.15.2] Fix order in world when re-sorting item registries
probably fill() (not so sure)
-
Client Side Commands in 1.16
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.
-
Client Side Commands in 1.16
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.
-
(SOLVED) Upgrading from 1.14 to 1.16
Change the forge version in dependencies, and reimport/refresh the gradle project
-
[Solved] [1.16.1] Block Registration
Sorry did not see the updated code.
-
[Solved] [1.16.1] Block Registration
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 )
-
Trouble with NBT for thrown item
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
Remember to set registry name for your items.
-
[1.15.2] How should I use a blockstate or variants ?
Show your block class
-
[Solved] [1.16.1] Block Registration
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
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
You're right, I thought there were glass panes there lol.
IPS spam blocked by CleanTalk.