Commit Graph

19 Commits

Author SHA1 Message Date
Will 1bbd993937
Correct visibleOnly method name -> ignoreVisibility (#2479)
`visibleOnly` actually sets `respectsVisibility` to `false`
```java
    public TargetPredicate visibleOnly() {
        this.respectsVisibility = false;
        return this;
    }
```
later in `test`, you can see that `respectsVisibility` is correctly named, as precedes the visibility check:
```java
                if (this.respectsVisibility && baseEntity instanceof MobEntity && !((MobEntity)baseEntity).getVisibilityCache().canSee(targetEntity)) {
                    return false;
                }
```

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 15:00:32 +01:00
liach 8fba2a7da0
Ram (#2403)
fixes a few bad names from shunpbups

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:47 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
­Sollace 8eb917d43a
AI Mappings (#2298)
* 21w13/14a classes

* Fill holes in existing classes

* Update mappings/net/minecraft/entity/ai/brain/task/WalkTask.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* leaping -> noInertia (to better reflect what it does)

* EXPIRY -> POI_EXPIRY + javadoc

* Update mappings/net/minecraft/entity/LivingEntity.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/entity/LivingEntity.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-10 22:41:40 +01:00
Shnupbups ae4a1cc89b
Entity package stuff (#1979)
* entity

* forgot this

* this too

* Update mappings/net/minecraft/entity/projectile/FishingBobberEntity.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* 2 more things

* remove reference to ItemStackHolder

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-01-25 18:28:38 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
Jonathan Frederick d4d42f2976 TargetPredicate + Misc mappings (#577)
* TargetPredicate: Add some argument mappings

* MobSpawnerLogic: Add method mappings

* EntityPredicates: Add getBottommostEntity mapping

If anyone has a better name please let me know

* LivingEntity: Add mapping for teleport method

* AnimalMateGoal: add some mappings

* AvoidGoal: add setMobEntityTarget mapping

* FleeEntityGoal: add many mappings

* FollowTargetGoal: Add many mappings

* IronGolemLookGoal: Add mappings

* TrackTargetGoal: Add argument mapping

* WolfBegGoal: Add mappings

This also changes an incorrect mapping

* EndermanEntity: Add many mappings

* MobEntity: Add looking and angle mappings

* EntityView: Add a bunch of mappings

* MobSpawnerLogic: Add playerInRange method

* CreeperEntity: add some mappings

* Explosion: map DestructionType

* Add various entity mappings

* DolphinEntity: Clarify field

* HorseBaseEntity: add pathToAdult method

* PandaEntity: add some mappings

* TurtleEntity: Add some mappings

* RaiderEntity: Add some mappings

* Describe ALL of the predicates!

I've tried to give each predicate a descriptive name, instead of just naming all
of them, "targetPredicate"

* Fixup names of some mappings

* AvoidGoal: Use better predicate name

* FleeEntityGoal: Use better predicate name, more mappings
2019-04-03 16:43:01 +01:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Runemoro fa91aa70fa AI mappings (#533)
* AI mappings

* Map remaining tasks

* Goal mappings

* More goals

* Suggestions

* getOutputMemoryModules
2019-03-19 17:37:06 +02:00