Everything posted by poopoodice
-
[1.16.3] Chuck Capability Not Registering
An instance of your capability
-
Creating a new java file in Intellij makes an empty file
-
[SOLVED] [1.16.3] Unable to summon entity
I think you will need to register some essential attributes like health.. etc.
-
Does EntityBurnBySunlightEvent sounds workable?
The problem is that will remove the fire effect even if the effect is not caused by the sunlight. The purpose of this event is to allow user to modify the duration of the effect caused by the sunlight, and not to remove it as the source of the fire can be lava, enchantments, flint and steel...etc. And if like you said if you check it in the LivingUpdateEvent, and manually put out the fire if the entity is in daylight, they can literally swim in lava, or walk on fire without getting burned, which is not desired. Thanks for the reply.
-
[1.15.2] Tile Entity Re-Creating on GUI Open
You can send data from client (in this case screen), to the server (container/tileentity) using packets. And no, please read what he said again:
-
[1.15.2] Tile Entity Re-Creating on GUI Open
Have you save and read the information you've stored in the tileentity using write() and read()?
-
Does EntityBurnBySunlightEvent sounds workable?
Hello! As title, I have an idea about "EntityBurnBySunlightEvent", which is triggered when entities like zombies, skeletons, and phantoms tries to burn under sunlight. I also noticed they are hard coded into each of their own livingTick() which means if the event is added, I will either trigger the event in every entity class that burns, or add a method in LivingEntity (since not every entity that burns are MonsterEntity). For example: public void setBurnBySunlight(int ticks) { ticks = ...EntityBurnBySunlightEvent(this, ticks); this.setFire(ticks); } call this, instead of directly call setFire() in their livingTick() The EntityBurnBySunlightEvent will have two parameters: (LivingEntity) and (Ticks to burn), and will be located in net.minecraftforge.event.entity.living.LivingEvent The user can modify the ticks that the entity given is going to burn, which allows the user to set it to 0 in order to prevent the burning of entity from happening. This will be helpful for people that wants to cancel the burn update from the sunlight, by not affecting the burn effect from other sources. Any suggestions for this? Thanks
-
[1.15.2] How to make a block transparent?
LARGE_CRYSTAL.get() to get the block from the registry object.
-
[1.16.3] Chuck Capability Not Registering
I think they should be registered in common setup.
-
[1.16.1] Can't craft SOME of my items.
It's better for you to have a repository, as it is good for your code management and all other people can view your code without downloading them.
-
How can I register a command in 1.16?
RegisterCommandsEvent
-
How to make a custom bow
Please have some research(google or on this forum), there are tonnes of results that have exact same problem with you.
-
[1.16.1] Can't craft SOME of my items.
Repo -> repository (can be online hosted by websites like github, bitbucket...etc) I'm basically asking you to provide all your code and assets.
-
[1.16.1] Can't craft SOME of my items.
Are you sure the registry name of the item and the recipe are the same, or are there any errors shown in the log during loading the recipes? If not a repo is really helpful for others to find the problem for you.
-
[1.15.2] Custom Food Items
Item.Properties.food() All you want are in Items.java
-
SOLVED. getItemById giving me the wrong items? (1.16.1)
You can get vanilla items directly from Items, instead of using numeric ids (which shouldn't be used).
-
Need Help with Modifying Loot Tables
It gives you the blockpos so you can access the tileentity in the world.
-
Need Help with Modifying Loot Tables
LootContext.Builder.get(lootparam)
-
[1.16.2][Solved] Crash when creating/ joining world
For me both of your pastes are empty.
-
Issue with custom repair material
The FIFTH parameter takes an int, and isn't this solved from your last post?
-
Help with Keybinds in Forge for 1.16.2
Maybe it is called when press/release?
-
Armor Constructor Error
It is required when no variable is created (WOOD).
-
[1.15.2] Skybox for Custom Dimension
As a reference.
-
[1.14.4] Arrow looking buttons on gui
Override renderButton in the button and render it yourself. to add the button to the screen use addButton()
-
[1.15.2]insertItem this is wierd
We don't know what are and where these came from: but apparently, handStack.shrink(1); makes whatever this itemstack came from count - 1
IPS spam blocked by CleanTalk.