SolarRabbit's Recent Activity

  1. SolarRabbit replied to the thread Could not pass event BlockBreakEvent error.

    Bukkit.getPluginManager().registerEvents(new onBreak(this), this);Adding on to that, you can look into dependency injection, in which...

    Jul 27, 2021 at 4:46 PM
  2. SolarRabbit replied to the thread Could not pass event BlockBreakEvent error.

    Caused by: java.lang.NullPointerException: Cannot invoke "me.macialowskyyy.Main.getConfig()" because "this.plugin" is null Right here....

    Jul 27, 2021 at 4:44 PM
  3. SolarRabbit replied to the thread How do I get the Location of where the player is looking.

    Player is a subtype of LivingEntity. So you can do something like Block block = player.getTargetBlockExact(5); This will return the...

    Jul 26, 2021 at 4:58 PM
  4. SolarRabbit rated SkillCode's post Informative in the thread Resource Why you should learn Kotlin (Java vs Kotlin).

    That's true, but there is an operator that can be used to work around it object!!.doSomething()

    Jul 24, 2021 at 8:00 AM
  5. SolarRabbit replied to the thread Resource Why you should learn Kotlin (Java vs Kotlin).

    I'm no Kotlin expert, but if there is a possibility of NPE being thrown, wouldn't Kotlin's code not even compile? I think Kotlin wins...

    Jul 24, 2021 at 7:57 AM
  6. SolarRabbit replied to the thread Resource Why you should learn Kotlin (Java vs Kotlin).

    Wouldn't that actually be good? To know if a bug exists even if it is a third-party library? An issue can be filed while you continue...

    Jul 24, 2021 at 7:49 AM
  7. SolarRabbit replied to the thread Resource Why you should learn Kotlin (Java vs Kotlin).

    Well in the case you mentioned, it's actually an advantage of Java over Kotlin, non-private fields. public static final String name =...

    Jul 24, 2021 at 7:38 AM
  8. SolarRabbit replied to the thread Resource Why you should learn Kotlin (Java vs Kotlin).

    Sure, some developers prefer this, but java exerts that developers should know in what circumstances can a NPE occur. On the other hand,...

    Jul 24, 2021 at 7:21 AM
  9. SolarRabbit replied to the thread Solved BoundingBox intersects circle.

    In 3D euclidean space it is a plane. Unless you set a fixed y-value. Ok, so you didn't just want to know whether they intersect? This...

    Jul 23, 2021 at 4:21 PM
  10. SolarRabbit replied to the thread Solved BoundingBox intersects circle.

    Give an example? X=? or Z=? is a plane, not a line. And a circle with any yaw is horizontal? But based on my understanding here is the...

    Jul 23, 2021 at 12:15 PM
  11. SolarRabbit replied to the thread How do I create a new shulker box?.

    Firstly, understand the following relation: BlockStateMeta, which extends ItemMeta, has a method #getBlockState which returns a...

    Jul 23, 2021 at 11:33 AM
  12. SolarRabbit rated Strahan's post Winner in the thread 1.14.4 My plugin doesn't work ;( Pls help me.

    We're not psychic, saying things like "PLS HELP ME I WORKED SO HARD ON IT ;(" doesn't do squat for us to aid you in debugging. Just a...

    Jul 23, 2021 at 11:15 AM