Everything posted by Draco18s
-
Create an item and give it lore?
event.getToolTip() is correct. The list returned is a reference, so adding to the list will work.
-
How to create a motion for Entities
That is not a motion problem. That is a entity tracking frequency problem. Show where you register your entity.
-
How to create a motion for Entities
motionX*motionX+motionY*motionY = 0.25 is a circle: http://www.wolframalpha.com/input/?i=x*x+%2B+y*y+%3D+0.25 That is, there are infinitely many values of motionX and motionY that satisfy that equation. Sure, it tells you that the speed that the entity is taking, but that's not useful here.
-
How to create a motion for Entities
That makes no sense. This does not help you. This is correct. Rotation is an angle, motion is a direction.
-
[1.12] Registration Command Failed
@diesieben07 Sounds like another one for the common issues thread. We've had this one about three times in the last week.
-
[1.12]How to use the forge obj loader?
There is no "download" and "upload" here. JSON models are just resource assets (same as textures). You put them in the appropriate folders. For blocks, the blockstate is loaded automatically, for items you need to call ModelLoader.setCustomModelResourceLocation.
-
I am unable to send PMs because my inbox is full
Jesus Christ. ONE thread? :V The problem is, the 36 messages I didn't delete I want to keep forever. It's unlikely I'll ever actually need the information in it again (as it deals with ASM) but its such good information on the subject I don't want to lose it.
-
[1.12.2] Getting key for action
Minecraft.getMinecraft().gameSettings.keyBindSneak.getDisplayName()
-
[1.12.2] [Solved] Event for connect to singlerplayer world, server world
If you're on the client you can always get access to the client player: Minecraft.getMinecraft().getPlayer()
-
[1.12.2] [Solved] Event for connect to singlerplayer world, server world
isRemote is the difference between the logical client and the logical server. Even single player there is still a server thread (the Integrated Server) with 1 player connected. PlayerLoggedIn only fires on the logical server.
-
How to create a motion for Entities
It doesn't show, it is. Motion is used to modify position.
-
How to create a motion for Entities
Position is position. Motion is velocity, the first derivative of position.
-
MCP | How can i add a login pannel?
Wot
-
Creating JAR-Mods for MC-Versions without MCP
Forge is on Github. https://github.com/MinecraftForge/MinecraftForge I believe the patching is done by ForgeGradle, though: https://github.com/MinecraftForge/ForgeGradle
-
Create an item and give it lore?
Not everything Bukkit does has a Forge equivalent and vice versa. You can add other tags and write your code to handle interpreting what they do, but each one will need separate code and possible their own event hooks. That is: making a critical damage stat and applying it to weapons and hooking into the right events, sure, its doable. It's just not two lines of code.
-
What is a ResourceLocation
A resource location is how Minecraft locates resources in the /assets directory. They are also used as the primary key in the registry to uniquely identify various objects (Blocks and Items have registry names which are used as the default Resource Location in order to load the corresponding models). Why entities use it like that, I don't know.
-
Entity won't render properly
Show your render registration code in your client proxy.
-
Creating JAR-Mods for MC-Versions without MCP
That describes about 70% of the people who post here for the first time. You can see this thread if you really want to cringe over how bad it is sometimes. It isn't done that way any more due to the restrictions of the Minecraft EULA which states that no Vanilla code may be distributed. By modifying a vanilla class to insert a patch, then distributing the altered class file, falls under this restriction. Because of this, no one here will help you (learn how to) do that.
-
Create an item and give it lore?
Lore doesn't actually make the item any different. It's just text displayed in a tooltip. You can modify the text displayed by subscribing to the ItemTooltipEvent, but adding "Crit chance: 5%" won't actually make the item have a 5% crit chance. For actual effects, some of them can be handled via AttributeModifiers which can be applied via NBT tags on item stacks. But this is a very limited set of effects (namely, attack damage and attack speed).
-
Create an item and give it lore?
Are you... Adding lore to your own item? Or... Adding lore to a vanilla item? How you do this depends on the answer.
-
Creating JAR-Mods for MC-Versions without MCP
Forge itself is built on Magic. Installation is a package that contains patch files (these are essentially text documents that tell the program how to identify parts of the original code and then what to change). This is done after deobfuscating the original source into something more functional (also called SRG names). How this is done, I don't actually know, but this is how Forge can distribute the changes it makes to vanilla code without requiring the user to do anything other than "download and run this program" and without distributing any of Mojang's code. SRG -> MCP is done at runtime. Runtime stuff is largely based around Class Loaders which are a kind of class that tells the JVM how to load other classes. If you are not familiar with any of these concepts, stop now. Mostly because folks here aren't going to teach you these things, one because its not our job, and two, because these kinds of things are dangerous.
-
Creating JAR-Mods for MC-Versions without MCP
By not doing it. Seriously, you asked on the Forge forums how to mod without using Forge?
-
I am unable to send PMs because my inbox is full
@diesieben07 I went to send you a message to add an item to the "common problems list" (trying to reference Items in block constructors) and I was unable to send a new message because my "inbox is full, delete some messages then try again." I have reduced my PM count from over 180 down to 36 and I still cannot send messages. I attempted to contact Invsion Power Services about this problem, but apparently only the forum owner (the person who actually paid to use this software) can submit bug reports (what a load of crock). I assume that is Lex, but I have no idea, and can't ask him because my inbox is full.
-
Custom armor textures for item
Yes, I had. If I misread something as well, I apologize.
-
Custom armor textures for item
No, no I did not. This thread was about textures for the different slots, I said "I don't think I can do that" you said "I found a way." I asked how and you said "see, extends ItemArrow."
IPS spam blocked by CleanTalk.