Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

  • Days Won


Thorius last won the day on April 9

Thorius had the most liked content!

Community Reputation

4 Neutral

About Thorius

  • Rank
    Tree Puncher


  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That shouldn't happen because of the sinus and cosinus, at least it didn't happen in my tests.
  2. The easiest solution is to change the position of the bullet before it is spawned. It will however slightly mess with your aim, so take that into consideration. An example code written in 1.15.2 (in 1.16.5 it is propably something similar): float rot = playerEntity.rotationYaw/180.f*3.14159f; //Converts the player rotation to radians float z = MathHelper.sin(rot) * 0.3f; //the multiplier (0.3f) defines how much is the bullet moved to the right float x = MathHelper.cos(rot) * 0.3f; //this and the former equation localizes the bullet to the rotation of the player //the subtrahend 0.5f c
  3. I mostly saw this issue with modpacks that were missing dependencies. The problem is, the crash is not Botania's fault. It might still crash with other mods. A modlist might be usefull.
  4. The crash might be related to ctm or ctm dependent mods.
  5. What do you mean by opening? Are using it in the Minecraft launcher or are you trying to run the installer?
  6. Does it work without Botania? Some configurations might randomly change the data sent to botania which then causes an exception.
  7. I managed to find a solution. Instead of the above method i do this: private static final ResourceLocation MOLTEN_METAL_TEXTURE = new ResourceLocation("textures/block/lava_still.png"); private static final RenderType RENDER_TYPE = RenderType.getEntitySolid(MOLTEN_METAL_TEXTURE);
  8. Well if you (Tatuck) want to know more about the subject, look into trigonometry. (in case you're not familiar with it) I think you can find many good explanations on the internet, maybe videos will be helpfull. I think you can learn the basics of trigonometry pretty fast and then you can do so much more with 3D coordinates.
  9. I wrote this in 1.15.2. The angle is given in radians. In any case you should test this solution whether or not it creates some errors in some special cases.
  10. @SubscribeEvent public static void soundAngle(PlaySoundEvent e){ ClientPlayerEntity player = Minecraft.getInstance().player; if(player != null) { //the event also triggers in the main menu, so this avoids crash ISound sound = e.getResultSound(); double x = sound.getX() - player.getPosX(); //gets the position relative to the player double y = sound.getZ() - player.getPosZ(); double angle = Math.atan2(y, x); //converts two sides of a rectangle to an angle given in radians player.sendChatMessage(String.valueOf(angle)); } } Something like this shoul
  11. Sorry for the delayed response, but i still have issues. I managed to render the face, however, what I get is a collection of all the textures. Changing the texture location (for the material) does nothing and although i could display my texture with some magic numbers, it would be a terrible and unstable solution. So my question is, how do i get the texture dependent UV coordinates or in case the texture is bound the wrong way, how do i do it correctly? My code: @SuppressWarnings("deprecation") public class CrucibleRenderer extends TileEntityRenderer<CrucibleTileEntity>{
  12. Hello, actually i would like to know two things about TER. My first issue is that unless i use a VoxelShape that is not a full block, the models that i render are dark. I tried many things to solve the problem, but none of them worked. In any case, it would be better if didn't have to change the VoxelShape of the block. My other issue is that i don't know how to attach a texture to a face drawn with the vertex builder. I can't find any good examples. Thanks in advance!
  13. You have to run the forge jar and not the minecraft_server one.
  14. For the client you have to select the location of your minecraft installation, .minecraft
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.