TestingSubject002
Members-
Posts
73 -
Joined
-
Last visited
-
Days Won
1
Everything posted by TestingSubject002
-
custom crafting recipe doesn't work
TestingSubject002 replied to bouwmeester2003's topic in Modder Support
Finally! -
custom crafting recipe doesn't work
TestingSubject002 replied to bouwmeester2003's topic in Modder Support
I am 100% sure that you have to use Registry, but not Unlocalized name in your recipe file. -
custom crafting recipe doesn't work
TestingSubject002 replied to bouwmeester2003's topic in Modder Support
I think I have found the possible problem. Look at the "pattern" section of your item. You should have 3 string there. Actually, I think that you should use "crafting_shapeless" instead of "crafting_shaped". -
custom crafting recipe doesn't work
TestingSubject002 replied to bouwmeester2003's topic in Modder Support
Man, you should just post your code. I don't think that somebody will steal it or something else. -
custom crafting recipe doesn't work
TestingSubject002 replied to bouwmeester2003's topic in Modder Support
If you had made a recipe as the documentation says it would have been working. -
custom crafting recipe doesn't work
TestingSubject002 replied to bouwmeester2003's topic in Modder Support
Why don't you post your project on GitHub, let us find the problem and then delete the project from GitHub? Or, for example, you can post pieces of code you are not afraid to share. -
Making Non-living entity
TestingSubject002 replied to (∩ ͡° ͜ʖ ͡°)⊃━☆゚. o ・ 。゚'s topic in Modder Support
Models for entities are java classes. I'd recommend you to use modeling applications such as blockbench to create them. You can put them anywhere you want in your source code folder. -
[1.12.2] Storing TileEntities of certain type?
TestingSubject002 replied to TestingSubject002's topic in Modder Support
This idea is actually cool one, but I have several entities activated at the same time and every entity has it's own blocks to patrol. I understood that using validate and invalidate function is not very bad idea - this model works fine. -
[Modding 1.7.10]How to save variables in different worlds
TestingSubject002 replied to MagicKing45's topic in Modder Support
1.7.10 is no longer supported on this forum. Update your mod to the newest Forge version. -
[1.12.2] Storing TileEntities of certain type?
TestingSubject002 replied to TestingSubject002's topic in Modder Support
I want to create an entity who patrols all these blocks and I have to save a list of all these blocks positions. I was trying to do this via @SubscribeEvent and in-block-class events, but I have understood that that's not what I need: Blocks are not placed by humans, they are spawning in the world. I thought that creating TileEntities which will add and remove themselves from the list automatically is a good idea. -
I have a TileEntity class and I need to somehow access all loaded TileEntities of this class. I know about world.loadedTileEntityList, but I have to use my TileEntities constantly and iterating through the list would be very slow. I have created a list which contains all these TileEntities, but I can't figure out from what function should I add and remove items from the list. Currently, I am using validate() and invalidate() function in TileEntities to do this, but not sure that this is the best solution.
-
Thanks again.
-
Another one stupid question. What is Entity Tracking? I am talking about "tracker" in EntityEntryBuilder.
-
[1.12.2] Entity is invisible
TestingSubject002 replied to TestingSubject002's topic in Modder Support
Thank you very much! It's working now! -
[1.12.2] Entity is invisible
TestingSubject002 replied to TestingSubject002's topic in Modder Support
Well, I am stuck again. How to register entities using event? @SubscribeEvent public static void registerEntities(RegistryEvent<EntityEntry> event) { // ??? } Sorry for the waste of your time. Oh sorry. I have understood. -
[1.12.2] Entity is invisible
TestingSubject002 replied to TestingSubject002's topic in Modder Support
Thanks. I'll try to fix. -
[1.12.2] Entity is invisible
TestingSubject002 replied to TestingSubject002's topic in Modder Support
I am spawning entity through "/summon". -
Hello. I know that this problem is quite usual in this forum, but I still can't understand what am I doing wrong. I have encountered the problem that entity is not rendering. I have registered an entity, it's renderer and both are working (I have added logger.info to their constructor). My entity class is blank: constructor, and, actually, that's all. I have figured out that constructor of the entity is called on the server side only. Am I right? How to sync the entity to the client then? Sorry for my English.