Cats will now sit on Iron Chests again and update version to 9.2!
This commit is contained in:
parent
b09f7f3f09
commit
d85e2b425f
|
|
@ -29,12 +29,14 @@ sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = co
|
|||
minecraft {
|
||||
mappings channel: 'snapshot', version: mappings_version
|
||||
|
||||
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
|
||||
runs {
|
||||
client {
|
||||
workingDirectory project.file('run')
|
||||
|
||||
// Recommended logging data for a userdev environment
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE'
|
||||
property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE'
|
||||
|
||||
// Recommended logging level for the console
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
|
|
@ -50,7 +52,7 @@ minecraft {
|
|||
workingDirectory project.file('run')
|
||||
|
||||
// Recommended logging data for a userdev environment
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE'
|
||||
property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE'
|
||||
|
||||
// Recommended logging level for the console
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
|
|
@ -66,7 +68,7 @@ minecraft {
|
|||
workingDirectory project.file('run')
|
||||
|
||||
// Recommended logging data for a userdev environment
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE'
|
||||
property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE'
|
||||
|
||||
// Recommended logging level for the console
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@ org.gradle.jvmargs=-Xmx3G
|
|||
org.gradle.daemon=false
|
||||
|
||||
# Mod Version Information
|
||||
mod_version=9.1
|
||||
mod_version=9.2
|
||||
|
||||
# Minecraft Version Information
|
||||
minecraft_version=1.14.4
|
||||
minecraft_version_toml=14
|
||||
|
||||
# Forge Version Information
|
||||
forge_version=28.1.1
|
||||
forge_version=28.1.90
|
||||
forge_version_toml=28
|
||||
|
||||
# Mappings Information
|
||||
mappings_version=20190912-1.14.3
|
||||
mappings_version=20191120-1.14.3
|
||||
|
|
@ -23,7 +23,6 @@ public class CatsSitOnChestsHandler
|
|||
@SubscribeEvent
|
||||
public void changeSittingTaskForOcelots(final LivingEvent.LivingUpdateEvent evt)
|
||||
{
|
||||
/*
|
||||
if (evt.getEntityLiving().ticksExisted < 5 && evt.getEntityLiving() instanceof CatEntity)
|
||||
{
|
||||
HashSet<PrioritizedGoal> goals = new HashSet<>();
|
||||
|
|
@ -32,7 +31,7 @@ public class CatsSitOnChestsHandler
|
|||
|
||||
for (PrioritizedGoal goal : catEntity.goalSelector.goals)
|
||||
{
|
||||
if (goal.func_220772_j().getClass() == CatSitOnBlockGoal.class)
|
||||
if (goal.getGoal().getClass() == CatSitOnBlockGoal.class)
|
||||
{
|
||||
goals.add(goal);
|
||||
}
|
||||
|
|
@ -40,9 +39,9 @@ public class CatsSitOnChestsHandler
|
|||
|
||||
for (PrioritizedGoal goal : goals)
|
||||
{
|
||||
catEntity.goalSelector.removeGoal(goal.func_220772_j());
|
||||
catEntity.goalSelector.addGoal(goal.getPriority(), new IronChestCatSitOnBlockGoal1(catEntity, 0.4F));
|
||||
catEntity.goalSelector.removeGoal(goal.getGoal());
|
||||
catEntity.goalSelector.addGoal(goal.getPriority(), new IronChestCatSitOnBlockGoal(catEntity, 0.4F));
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
public net.minecraft.entity.ai.goal.GoalSelector field_220892_d # goals
|
||||
Loading…
Reference in New Issue