Everything posted by Animefan8888
-
Animated Block not animating
This is true, but only to have compatibility with other mods that add a capability to them. I know, it does return true because getCapability won't return null. I have already stepped through this with my IDEs debugger and it is being treated as an AnimatedTESR.
-
Animated Block not animating
Yes it is
-
[1.12] Armour problem (I think)
Based on this log your stuff seems to be getting the minecraft modid instead of essence.
-
[1.12] Armour problem (I think)
Post your log and push all of your code to github.
-
[1.12] Armour problem (I think)
What is happening exactly? Are the blocks not being textured, is it only in the world or is it happening in the inventory as well? Are their models loading? Are they in the game can you /give them to yourself?
-
grappling hook
Please don't post on a thread that's 4 years old.
-
[1.12] Armour problem (I think)
Yes. All assets need to be lowercase, except for the special scenario with the lang file.
-
[1.12] Disable / enable my recipes
Here is how you can remove the recipe from the game. ForgeRegistry<IRecipe> recipes = (ForgeRegistry<IRecipe>) ForgeRegistries.RECIPES; recipes.remove(new ResourceLocation("minecraft", "furnace")); Though you will need to re-add the recipes after a disconnect. Though if you send the packet in the correct event it will sync your recipes correctly. On the other hand you could create your own IRecipe implementation that references your config variables and return accordingly in matches and getCraftingResult.
-
[1.12.2] Need advice to find the right event (Client Disconnection) [SOLVED]
FMLNetworkEvent.ClientDisconnectionFromServerEvent
-
Animated Block not animating
I have a block that I want to animate. I am using the animation system and used the Botania pump block as a basis to learn the system. I have the AnimatedTESR "working"; as in it renders, but isn't applying any of the offset information. Armatures File. ASM File. BlockState File. TESR Model. TESR Registration Code (called during preInit). Block Code. TE Code.
-
Trying to make a musket but wont shoot [1.12.2]
You need to create and register a renderer for your Entities class. Look at EntityArrow#onUpdate it is where the motionX/Y/Z variables are modified.
-
Trying to make a musket but wont shoot [1.12.2]
look at ItemBow, it uses onPlayerStoppedUsing to spawn and fire the arrow, this is the code that happens after releasing right click, but it doesn't care if you have held it down for the full amount of time. onItemUseFinish waits until the whole time has completed. And it has some code in onItemRightClick to see if it can be fired and setting the active hand.
-
Trying to make a musket but wont shoot [1.12.2]
What happens and what do you want to happen exactly? Is the bullet entity spawning at all, is it spawning repeatedly?
-
Set concrete block with color
Sure, here is an example on how to set a blockstate. world.setBlockState(Blocks.FURNACE.getDefaultState().withProperty(BlockFurnace.FACING, EnumFacing.EAST));
-
Set concrete block with color
- Set concrete block with color
If it is the vanilla concrete block look in the BlockColored class and look at it's blockstate properties. It uses an enum. If it is your own concrete block I have no idea.- Set concrete block with color
You're getting the default state and not the colored state. If all you have is the block you need to call Block#getDefaultState().withProperty and apply the properties value.- [1.12] Armour problem (I think)
Do the assets have the registry name as their file names?- [Solved] [1.12.2] Generating blocks on soul sand in the nether
That is why I said put it in with a wrapper. A wrapper is a class that inherits a type and takes an instance of that type in through its constructor. This way you can call all the methods and hopefully not cause any other errors with mods.- [Solved] [1.12.2] Generating blocks on soul sand in the nether
I would say in any of the init events.- [Solved] [1.12.2] Generating blocks on soul sand in the nether
Write a method that starts one block below the bedrock and checks blocks going down. On the other hand, what you could do is iterate through the BiomeDictionary with the type NETHER as the category. Then replace the BiomeDecorator with a wrapper over the current one and add your flower generation there similarly if not exactly how you do so for a biome normally.- GL11 lines flash between black and intended color
I meant where are r, g, and b being set in code. Also where is this code being ran.- Detect if player is right-clicking on flowing water
Try world.rayTraceBlocks(vec1, vec2, true, false, true)- GL11 lines flash between black and intended color
Where are you setting the color based on payer input?- [1.12] Armour problem (I think)
The answer is no, because you add them with this JourneyItems.itemNames.add(name); And then you call setRegistryName(SlayerAPI.MOD_ID, name); So "name" doesn't have your modid. - Set concrete block with color
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.