Recent content by Erfinderlabyrinth

  1. E

    Question [1.21.6] Prevent Nether Portal destroying

    How can I prevent Nether portals from being destroyed, even if the frame is broken? I tried the following, but it didn't work: @EventHandler public void onPortalPhysics(BlockPhysicsEvent event) { if (event.getBlock().getType() == Material.NETHER_PORTAL || event.getChangedType()...
  2. E

    Solved Rotation(yaw,pitch) to Quaternion for TextDisplay

    Asking the AI, I got following code: public static Quaternionf yawPitchToQuaternion(float yaw, float pitch) { // Convert yaw and pitch to radians double yawRad = Math.toRadians(yaw); double pitchRad = Math.toRadians(pitch); // Create a new Quaternionf object...
  3. E

    Solved Rotation(yaw,pitch) to Quaternion for TextDisplay

    Hi, I want to create a Textdisplay where the Text shown in a specific direction(yaw,pitch)(z.B. 45,45). How can I easily transform this to a Quaternion? Had Paper a Library or a method, which can it translated? I had seen, that I can use a AxisAngle4f, but i dont understand what this do.